]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt: change receive ring space parameters
authorAndy Gospodarek <gospo@broadcom.com>
Fri, 8 Apr 2022 07:59:02 +0000 (03:59 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Apr 2022 10:52:47 +0000 (11:52 +0100)
commitd70e3d42f019ea0a65aeb2bf44eef7171e4c52cd
tree22fa6b14555dc6d030bbd4d5a9e76b9826a5e454
parenta0c0db51d282ab675b3064bfa41f92fd65252411
bnxt: change receive ring space parameters

Modify ring header data split and jumbo parameters to account
for the fact that the design for XDP multibuffer puts close to
the first 4k of data in a page and the remaining portions of
the packet go in the aggregation ring.

v3: Simplified code around initial buffer size calculation

Signed-off-by: Andy Gospodarek <gospo@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h