net/bnxt: fix Thor SVIF size for generic tables
authorMike Baucom <michael.baucom@broadcom.com>
Mon, 22 Nov 2021 06:14:34 +0000 (11:44 +0530)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Mon, 22 Nov 2021 07:12:52 +0000 (08:12 +0100)
commit369ce46248c0605d31bd29ebaa4474309a875176
treeae56952be0adae7c6d7d85c408349f4a03016538
parentf9f0b5121f62d8701165d20bfdd14638bc72654d
net/bnxt: fix Thor SVIF size for generic tables

The size of the svif in the generic tables was incorrectly set to the
Wh+ size of 8 bits.  This resulted in incorrect l2 context entries being
associated with a flow once the svif became greater than 255.

Fixes: ad9eed0248ad ("net/bnxt: support flow template for Thor")

Signed-off-by: Mike Baucom <michael.baucom@broadcom.com>
Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Reviewed-by: Randy Schacher <stuart.schacher@broadcom.com>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/tf_ulp/generic_templates/ulp_template_db_enum.h
drivers/net/bnxt/tf_ulp/generic_templates/ulp_template_db_tbl.c
drivers/net/bnxt/tf_ulp/generic_templates/ulp_template_db_thor_class.c