summaryrefslogtreecommitdiff
path: root/tools/net/ynl/generated/netdev-user.c
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2023-12-02 01:39:18 +0300
committerJakub Kicinski <kuba@kernel.org>2023-12-05 02:12:48 +0300
commit39b2e62be3704d358c2c82eb326ae4b82a23ce1a (patch)
treedc5a696e86edaa2410f73255064c042286ed74dc /tools/net/ynl/generated/netdev-user.c
parentc2f8063309da9be81679e27cabd4a9dbf9be43cc (diff)
downloadlinux-39b2e62be3704d358c2c82eb326ae4b82a23ce1a.tar.xz
bnxt_en: Refactor and refine bnxt_tpa_start() and bnxt_tpa_end().
Refactor bnxt_tpa_start() by adding bnxt_tpa_metadata() to gather the metadata from the TPA_START completion. This makes it easier to support the new P7 chip which has a modified TPA_START completion structure with different metadata formats. We also add vlan_valid and cfa_code_valid fields to the bnxt_tpa_info structure so that the VLAN and VF rep logic can be common for all chips. The VLAN metadata is now collected in bnxt_tpa_start() only when it is valid and the vlan_valid field will be set. bnxt_tpa_end() can now use common VLAN logic for all chips. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Link: https://lore.kernel.org/r/20231201223924.26955-10-michael.chan@broadcom.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/net/ynl/generated/netdev-user.c')
0 files changed, 0 insertions, 0 deletions