]> www.infradead.org Git - nvme.git/commit
eth: bnxt: allocate enough buffer space to meet HDS threshold
authorJakub Kicinski <kuba@kernel.org>
Sun, 19 Jan 2025 02:05:16 +0000 (18:05 -0800)
committerJakub Kicinski <kuba@kernel.org>
Mon, 20 Jan 2025 19:44:58 +0000 (11:44 -0800)
commitbee018052d1bbfa6d33ca016a42e8e2534429492
treefecad276e36ab01d4693cd8b34166f6359f424bc
parent928459bbda19eb47e09d9bd4386ac46fad088958
eth: bnxt: allocate enough buffer space to meet HDS threshold

Now that we can configure HDS threshold separately from the rx_copybreak
HDS threshold may be higher than rx_copybreak.

We need to make sure that we have enough space for the headers.

Fixes: 6b43673a25c3 ("bnxt_en: add support for hds-thresh ethtool command")
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20250119020518.1962249-7-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt.c