]> git.baikalelectronics.ru Git - kernel.git/commit
i40evf: correctly program RSS HLUT table
authorMitch Williams <mitch.a.williams@intel.com>
Tue, 11 Feb 2014 08:27:50 +0000 (08:27 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 19 Mar 2014 23:57:45 +0000 (16:57 -0700)
commit0af72ec1d7431ac4404225d77c1b709229ced2d1
tree7cf60761af99fbd08b287979a806132e717855cb
parent506e8ca8905d30f231fd8f8186fc90bb309333c5
i40evf: correctly program RSS HLUT table

The HLUT programming loop in in i40evf_configure_rss was a) overly-
complicated, and b) just plain broken. Most of the entries ended up being
not written at all, so most of the flows ended up at queue zero.

Refactor the HLUT programming loop to simply walk through the registers
and write four values to each one, incrementing through the number of
available queues.

Change-ID: I75766179bc67e4e997187794f3144e28c83fd00d
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c