diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2020-05-14 12:49:07 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-05-14 21:21:54 -0700 |
commit | 63fe91ab3d1c5c0b4497b993b8eeaa54f6688d53 (patch) | |
tree | 5c83a01696e65ccabcc69d6705ab08c0cae10c4d /mm/memblock.c | |
parent | f95f0f95cfb7f180ed7571d4915432d5098df7ec (diff) |
bnxt: Add XDP frame size to driver
This driver uses full PAGE_SIZE pages when XDP is enabled.
In case of XDP uses driver uses __bnxt_alloc_rx_page which does full
page DMA-map. Thus, xdp_adjust_tail grow is DMA compliant for XDP_TX
action that does DMA-sync.
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Andy Gospodarek <gospo@broadcom.com>
Cc: Michael Chan <michael.chan@broadcom.com>
Cc: Andy Gospodarek <andrew.gospodarek@broadcom.com>
Link: https://lore.kernel.org/bpf/158945334769.97035.13437970179897613984.stgit@firesoul
Diffstat (limited to 'mm/memblock.c')
0 files changed, 0 insertions, 0 deletions