]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40evf: Allow PF driver to configure RSS
authorMitch Williams <mitch.a.williams@intel.com>
Tue, 12 Apr 2016 15:30:44 +0000 (08:30 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 7 Jul 2016 17:41:08 +0000 (10:41 -0700)
commit2e3c57aef2c14df58e2e8403359a7e9b02abd06a
tree0acff3502cc497bf6608cce209d32860325b5ea3
parent5bc5f9cced27b32c76e0b92b1cc7b8561b3d47b6
i40evf: Allow PF driver to configure RSS

Orabug: 23176970

If the PF driver reports proper support, allow the PF driver to
configure RSS on the behalf of the VF driver. This will allow for RSS
support on future hardware without changes to the VF driver.

Unfortunately, the old RSS code still needs to stay as the driver needs
to be compatible with PF drivers that don't support this interface. But
this change still simplifies the data structures a bunch and makes this
code simpler to read and maintain.

Change-ID: I0375aad40788ecdc0cb24d5cfeccf07804e69771
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 43a3d9ba34c9ca313573201d3f45de5ab3494cec)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40evf/i40evf.h
drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c
drivers/net/ethernet/intel/i40evf/i40evf_main.c
drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c