aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorMaxim Mikityanskiy <[email protected]>2019-06-26 17:35:27 +0300
committerDaniel Borkmann <[email protected]>2019-06-27 22:53:26 +0200
commit123e8da1d33042a83cedb530fb5efd64f32ce594 (patch)
tree747874074537addeea7a217af8aaaeeaf512331e /drivers/fpga/fpga-bridge.c
parent2761ed4b6e192820760d5ba913834b2ba05fd08c (diff)
xsk: Change the default frame size to 4096 and allow controlling it
The typical XDP memory scheme is one packet per page. Change the AF_XDP frame size in libbpf to 4096, which is the page size on x86, to allow libbpf to be used with the drivers with the packet-per-page scheme. Add a command line option -f to xdpsock to allow to specify a custom frame size. Signed-off-by: Maxim Mikityanskiy <[email protected]> Signed-off-by: Tariq Toukan <[email protected]> Acked-by: Saeed Mahameed <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions