net/netvsc: ignore unsupported packet on sync command
authorLong Li <longli@microsoft.com>
Fri, 11 Dec 2020 20:48:21 +0000 (12:48 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:05 +0000 (16:03 +0100)
commit0a4533facb49b0ca0d7520fee09270a82017e8fe
tree916a245937ac935c9ba9b16399d26053464eaf73
parentbe2f2be77ce2ee52cbc15ba4831152974990ac5c
net/netvsc: ignore unsupported packet on sync command

On netvsc initialization, the host VSP may send a NVS_TYPE_TXTBL_NOTE
packet while executing a VSP command synchronously.

Instead of returning an error, ignore this packet as we don't use it for
DPDK.

Cc: stable@dpdk.org
Signed-off-by: Long Li <longli@microsoft.com>
drivers/net/netvsc/hn_nvs.c