linux/net/xdp
Björn Töpel ea7e343529 xsk: fix 64-bit division
i386 builds report:
  net/xdp/xdp_umem.o: In function `xdp_umem_reg':
  xdp_umem.c:(.text+0x47e): undefined reference to `__udivdi3'

This fix uses div_u64 instead of the GCC built-in.

Fixes: c0c77d8fb7 ("xsk: add user memory registration support sockopt")
Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-05-09 18:12:21 +02:00
..
Kconfig
Makefile xsk: add umem fill queue support and mmap 2018-05-03 15:55:23 -07:00
xdp_umem_props.h xsk: add user memory registration support sockopt 2018-05-03 15:55:23 -07:00
xdp_umem.c xsk: fix 64-bit division 2018-05-09 18:12:21 +02:00
xdp_umem.h xsk: add umem completion queue support and mmap 2018-05-03 15:55:24 -07:00
xsk_queue.c xsk: add support for bind for Rx 2018-05-03 15:55:23 -07:00
xsk_queue.h xsk: statistics support 2018-05-03 15:55:25 -07:00
xsk.c xsk: statistics support 2018-05-03 15:55:25 -07:00