]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qede: Reconfigure rss indirection direction table when rss count is updated
authorSudarsana Reddy Kalluru <sudarsana.kalluru@cavium.com>
Fri, 21 Oct 2016 08:43:43 +0000 (04:43 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 6 Mar 2017 05:00:04 +0000 (21:00 -0800)
commitd9a1ac19ca7779d221ec801041efeb643ff668ce
tree8ebf94c8995a2d19cf4441c42b72774f3e1ad6ff
parentb33d273567acd5b73f088d64820e35016a7c4b88
qede: Reconfigure rss indirection direction table when rss count is updated

Orabug: 25477939

Rx indirection table entries are in the range [0, (rss_count - 1)]. If
user reduces the rss count, the table entries may not be in the ccorrect
range. Need to reconfigure the table with new rss_count as a basis.

Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit ed0dd91515bbe19a19cfccca366cf163ed581cac)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/qlogic/qede/qede_ethtool.c