]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
eth: bnxt: support qcfg provided rx page size
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 13 Oct 2025 22:10:32 +0000 (23:10 +0100)
committerPavel Begunkov <asml.silence@gmail.com>
Wed, 14 Jan 2026 02:13:37 +0000 (02:13 +0000)
commitf96e1b35779e153be266fd7de50bda0c5553ad21
treee7e18000f42bab73f2e9587c2afc77de79a29be2
parentc55bf90a2112d7a831d8427034b71ff9fbb78285
eth: bnxt: support qcfg provided rx page size

Implement support for qcfg provided rx page sizes. For that, implement
the ndo_default_qcfg callback and validate the config on restart. Also,
use the current config's value in bnxt_init_ring_struct to retain the
correct size across resets.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h