[3/3] net/bnxt: do not corrupt RSS hash value in the mbuf
Checks
Commit Message
From: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
By clearing mbuf->hash.fdir.id in the data path, the driver is
corrupting the RSS hash value populated in the mbuf as they
are defined as a union.
This patch fixes the problem by removing the code that clears
mbuf->hash.fdir.id.
Fixes: 17b6c8386d73 ("net/bnxt: fix mark handling")
Cc: stable@dpdk.org
Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com>
---
drivers/net/bnxt/bnxt_rxr.c | 1 -
1 file changed, 1 deletion(-)
@@ -813,7 +813,6 @@ bnxt_ulp_set_mark_in_mbuf(struct bnxt *bp, struct rx_pkt_cmpl_hi *rxcmp1,
skip_mark:
mbuf->hash.fdir.hi = 0;
- mbuf->hash.fdir.id = 0;
return 0;
}