net/bnxt: fix RSS action parser
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Tue, 26 Oct 2021 05:14:32 +0000 (22:14 -0700)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Wed, 27 Oct 2021 01:50:39 +0000 (03:50 +0200)
commitdf07aa22d1eb45f6077473adf967a2941a584cbe
tree52808e91f4ac5631081cb3b782908c0153f508a0
parente046deb244bdd2913c09246f9d23057c58cab418
net/bnxt: fix RSS action parser

Minor fixes are needed in the RTE_FLOW RSS action parser.
1. Update the comment in the parser to indicate RSS level 1 implies RSS
   on outer header.
2. RSS action will not be supported if level is > 1.
3. RSS action will not be supported if user or application specifies
   MARK or COUNT action.
4. If RSS types is not specified i.e., is 0, the best effort RSS should
   use IPv4 and IPv6 headers. Currently we are considering only IPv4.

Fixes: 239695f754cb ("net/bnxt: enhance RSS action support")

Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Acked-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Acked-by: Somnath Kotur <somnath.kotur@broadcom.com>
drivers/net/bnxt/bnxt_flow.c