i40evf: enforce descriptor write-back mechanism for VF
authorPreethi Banala <preethi.banala@intel.com>
Fri, 10 Mar 2017 20:22:00 +0000 (12:22 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 29 Mar 2017 09:15:06 +0000 (02:15 -0700)
commitb1cb07db6e2b3c982ec858b06d42d24c7e267fdc
treea69df1e8ae1c4c4f2e62a15cb2927b3752a9dc11
parent0e42c72195cc1a6f7461bfc48b32dce29e1677f7
i40evf: enforce descriptor write-back mechanism for VF

The current driver mode is to use a write-back mechanism for the head
register which indicates transmit completions. The VF driver needs to be
able to work on hardware that exclusively uses descriptor write-back, so
change the default driver mode of operation to descriptor write-back for
VF. In our analysis, performance wasn't significantly different with
either write-back method.

Change-ID: Ia92e4ec77c2df8dc4515c71d53746d57d77759af
Signed-off-by: Preethi Banala <preethi.banala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40e_txrx.c
drivers/net/ethernet/intel/i40evf/i40e_txrx.h
drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c