bnxt_en: Refactor RX VLAN acceleration logic.
authorMichael Chan <michael.chan@broadcom.com>
Fri, 1 Dec 2023 22:39:17 +0000 (14:39 -0800)
committerJakub Kicinski <kuba@kernel.org>
Mon, 4 Dec 2023 23:12:48 +0000 (15:12 -0800)
commitc2f8063309da9be81679e27cabd4a9dbf9be43cc
tree6498b63ffd4ad35fbc97716c0cbfff333a2fe3a2
parent13d2d3d381ee9844f89bd436ab0f44204660027e
bnxt_en: Refactor RX VLAN acceleration logic.

Refactor the logic in the RX path that checks for the accelerated VLAN
tag by adding a new function.  This will make it easier to support
the new receive logic on P7 chips.

Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Link: https://lore.kernel.org/r/20231201223924.26955-9-michael.chan@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt.c