linux/drivers/net/vmxnet3
Ronak Doshi ec76d0c2da vmxnet3: move rss code block under eop descriptor
Commit b3973bb400 ("vmxnet3: set correct hash type based on
rss information") added hashType information into skb. However,
rssType field is populated for eop descriptor. This can lead
to incorrectly reporting of hashType for packets which use
multiple rx descriptors. Multiple rx descriptors are used
for Jumbo frame or LRO packets, which can hit this issue.

This patch moves the RSS codeblock under eop descritor.

Cc: stable@vger.kernel.org
Fixes: b3973bb400 ("vmxnet3: set correct hash type based on rss information")
Signed-off-by: Ronak Doshi <doshir@vmware.com>
Acked-by: Peng Li <lpeng@vmware.com>
Acked-by: Guolin Yang <gyang@vmware.com>
Link: https://lore.kernel.org/r/20230208223900.5794-1-doshir@vmware.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-02-09 22:50:46 -08:00
..
Makefile vmxnet3: prepare for version 7 changes 2022-06-09 12:42:00 +02:00
upt1_defs.h vmxnet3: prepare for version 7 changes 2022-06-09 12:42:00 +02:00
vmxnet3_defs.h vmxnet3: use ext1 field to indicate encapsulated packet 2022-06-09 12:42:01 +02:00
vmxnet3_drv.c vmxnet3: move rss code block under eop descriptor 2023-02-09 22:50:46 -08:00
vmxnet3_ethtool.c net: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:07 -07:00
vmxnet3_int.h vmxnet3: update to version 7 2022-06-09 12:42:01 +02:00