diff options
author | Michael Chan <michael.chan@broadcom.com> | 2022-12-27 06:19:38 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-12-28 13:16:57 +0300 |
commit | 9b3e607871ea5ee90f10f5be3965fc07f2aa3ef7 (patch) | |
tree | 921d7b0a691b39675d46190967c7351e6037becb /tools/perf/scripts/python/task-analyzer.py | |
parent | bbfc17e50ba2ed18dfef46b1c433d50a58566bf1 (diff) | |
download | linux-9b3e607871ea5ee90f10f5be3965fc07f2aa3ef7.tar.xz |
bnxt_en: Fix XDP RX path
The XDP program can change the starting address of the RX data buffer and
this information needs to be passed back from bnxt_rx_xdp() to
bnxt_rx_pkt() for the XDP_PASS case so that the SKB can point correctly
to the modified buffer address. Add back the data_ptr parameter to
bnxt_rx_xdp() to make this work.
Fixes: b231c3f3414c ("bnxt: refactor bnxt_rx_xdp to separate xdp_init_buff/xdp_prepare_buff")
Reviewed-by: Andy Gospodarek <andrew.gospodarek@broadcom.com>
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions