]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: keep users rss hash across lif reset
authorShannon Nelson <snelson@pensando.io>
Tue, 3 Dec 2019 22:17:34 +0000 (14:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Dec 2019 00:37:37 +0000 (16:37 -0800)
commit26409cf9ddad9534066c657f39b20fe8921e3f29
treef24c576e0ef0d2503ddbc5560d9ed00d02425010
parent77d9bbe613f53856c7dfd895a38e311667209bdd
ionic: keep users rss hash across lif reset

If the user has specified their own RSS hash key, don't
lose it across queue resets such as DOWN/UP, MTU change,
and number of channels change.  This is fixed by moving
the key initialization to a little earlier in the lif
creation.

Also, let's clean up the RSS config a little better on
the way down by setting it all to 0.

Fixes: d85b3d3f5c3d ("ionic: Add RSS support")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_lif.c