aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2022-07-11 22:26:17 -0400
committerJakub Kicinski <kuba@kernel.org>2022-07-12 20:35:55 -0700
commit53f8c2d37efb5b03b9527ad04332df3bb889f0fa (patch)
treecb4d402693234893fd85e15a59fac9bbbd6a0cf6 /drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c
parentbnxt_en: fix livepatch query (diff)
downloadlinux-dev-53f8c2d37efb5b03b9527ad04332df3bb889f0fa.tar.xz
linux-dev-53f8c2d37efb5b03b9527ad04332df3bb889f0fa.zip
bnxt_en: Fix and simplify XDP transmit path
Fix the missing length hint in the TX BD for the XDP transmit path. The length hint is required on legacy chips. Also, simplify the code by eliminating the first_buf local variable. tx_buf contains the same value. The opaque value only needs to be set on the first BD. Fix this also for correctness. Fixes: a7559bc8c17c ("bnxt: support transmit and free of aggregation buffers") Reviewed-by: Andy Gospodarek <andrew.gospodarek@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions