diff options
author | Jesper Dangaard Brouer | 2018-01-03 11:26:09 +0100 |
---|---|---|
committer | Alexei Starovoitov | 2018-01-06 00:21:22 +0100 |
commit | e817f85652c14d78f170b18797e4c477c78949e0 (patch) | |
tree | e7e0441b32d7d8507b84476a359f5b67ebbb59c7 /net/iucv/iucv.c | |
parent | virtio_net: setup xdp_rxq_info (diff) | |
download | kernel-qcow2-linux-e817f85652c14d78f170b18797e4c477c78949e0.tar.gz kernel-qcow2-linux-e817f85652c14d78f170b18797e4c477c78949e0.tar.xz kernel-qcow2-linux-e817f85652c14d78f170b18797e4c477c78949e0.zip |
xdp: generic XDP handling of xdp_rxq_info
Hook points for xdp_rxq_info:
* reg : netif_alloc_rx_queues
* unreg: netif_free_rx_queues
The net_device have some members (num_rx_queues + real_num_rx_queues)
and data-area (dev->_rx with struct netdev_rx_queue's) that were
primarily used for exporting information about RPS (CONFIG_RPS) queues
to sysfs (CONFIG_SYSFS).
For generic XDP extend struct netdev_rx_queue with the xdp_rxq_info,
and remove some of the CONFIG_SYSFS ifdefs.
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'net/iucv/iucv.c')
0 files changed, 0 insertions, 0 deletions