Messages in this thread | | | From | Michael Kelley <> | Subject | RE: [PATCH hyperv-fixes,3/3] Fix hash key value reset after other ops | Date | Sat, 19 Jan 2019 01:14:25 +0000 |
| |
From: Haiyang Zhang <haiyangz@microsoft.com> Sent: Monday, January 14, 2019 4:52 PM > > Changing mtu, channels, or buffer sizes ops call to netvsc_attach(), > rndis_set_subchannel(), which always reset the hash key to default > value. That will override hash key changed previously. This patch > fixes the problem by save the hash key, then restore it when we re- > add the netvsc device. > > Fixes: ff4a44199012 ("netvsc: allow get/set of RSS indirection table") > Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> > --- > drivers/net/hyperv/hyperv_net.h | 10 +++++++--- > drivers/net/hyperv/netvsc.c | 2 +- > drivers/net/hyperv/netvsc_drv.c | 5 ++++- > drivers/net/hyperv/rndis_filter.c | 9 +++++++-- > 4 files changed, 19 insertions(+), 7 deletions(-) > Reviewed-by: Michael Kelley <mikelley@microsoft.com>
| |