]> www.infradead.org Git - users/dwmw2/linux.git/commit
mlxsw: Define Tx header fields in txheader.h
authorAmit Cohen <amcohen@nvidia.com>
Thu, 16 Jan 2025 16:38:16 +0000 (17:38 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 18 Jan 2025 03:58:00 +0000 (19:58 -0800)
commitc89d9c3d0a970b41c3188ec17b4f23499f5a7b49
tree327f01974830a7468e5f5e7526ae09f8667411bc
parente8e08279d3ce8850d6dd3fa629af4ecab0d4f67b
mlxsw: Define Tx header fields in txheader.h

The next patch will move Tx header constructing to pci.c. As preparation,
move the definitions of Tx header fields from spectrum.c to txheader.h,
so pci.c will include this header and can access the fields.

Remove 'etclass' which is not used.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Link: https://patch.msgid.link/2250b5cb3998ab4850fc8251c3a0f5926d32e194.1737044384.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/txheader.h