]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: bnxt: Add boilerplate GSO code
authorJoe Damato <joe@dama.to>
Wed, 8 Apr 2026 23:05:55 +0000 (16:05 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sun, 12 Apr 2026 17:54:32 +0000 (10:54 -0700)
commit0440e27eedace1c96b46b67d5607348bb07281ec
treee71848eceb8cc99e223d1ce1f0346866e80414f2
parent0c26a0e765e70b7342a47dd3a29f5e0734081d7d
net: bnxt: Add boilerplate GSO code

Add bnxt_gso.c and bnxt_gso.h with a stub bnxt_sw_udp_gso_xmit()
function, SW USO constants (BNXT_SW_USO_MAX_SEGS,
BNXT_SW_USO_MAX_DESCS), and the is_sw_gso field in bnxt_sw_tx_bd
with BNXT_SW_GSO_MID/LAST markers.

The full SW USO implementation will be added in a future commit.

Suggested-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: Joe Damato <joe@dama.to>
Link: https://patch.msgid.link/20260408230607.2019402-7-joe@dama.to
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bnxt/Makefile
drivers/net/ethernet/broadcom/bnxt/bnxt.h
drivers/net/ethernet/broadcom/bnxt/bnxt_gso.c [new file with mode: 0644]
drivers/net/ethernet/broadcom/bnxt/bnxt_gso.h [new file with mode: 0644]