xsk: i40e: get rid of useless struct xdp_umem_props
authorMagnus Karlsson <magnus.karlsson@intel.com>
Fri, 31 Aug 2018 11:40:02 +0000 (13:40 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 31 Aug 2018 23:38:16 +0000 (01:38 +0200)
commit93ee30f3e8b412c5fc2d2f7d9d002529d9a209ad
tree6e4d21960cc9532238731eecc6e483059ae06d6f
parentcf484f9f91f702e61eb47f7b142de6edc33a4a88
xsk: i40e: get rid of useless struct xdp_umem_props

This commit gets rid of the structure xdp_umem_props. It was there to
be able to break a dependency at one point, but this is no longer
needed. The values in the struct are instead stored directly in the
xdp_umem structure. This simplifies the xsk code as well as af_xdp
zero-copy drivers and as a bonus gets rid of one internal header file.

The i40e driver is also adapted to the new interface in this commit.

Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
drivers/net/ethernet/intel/i40e/i40e_xsk.c
include/net/xdp_sock.h
net/xdp/xdp_umem.c
net/xdp/xdp_umem_props.h [deleted file]
net/xdp/xsk.c
net/xdp/xsk_queue.c
net/xdp/xsk_queue.h