]> git.baikalelectronics.ru Git - kernel.git/commit
xdp: export the DEV_MAP_BULK_SIZE macro
authorIoana Ciornei <ioana.ciornei@nxp.com>
Wed, 22 Apr 2020 12:05:09 +0000 (15:05 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Apr 2020 03:11:29 +0000 (20:11 -0700)
commitf976bb3f2dd96fc8cc2e2bf7bdaf56c415ca6795
treeee4b1e8e682dd9f3812603f570081467980329c3
parent479f429f594f0826070ee00db15158108771656c
xdp: export the DEV_MAP_BULK_SIZE macro

Export the DEV_MAP_BULK_SIZE macro to the header file so that drivers
can directly use it as the maximum number of xdp_frames received in the
.ndo_xdp_xmit() callback.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/xdp.h
kernel/bpf/devmap.c