diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2018-01-03 13:26:09 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-01-06 02:21:22 +0300 |
commit | e817f85652c14d78f170b18797e4c477c78949e0 (patch) | |
tree | e7e0441b32d7d8507b84476a359f5b67ebbb59c7 /net/mac802154/cfg.c | |
parent | 754b8a21a96d5f11712245aef907149606b323ae (diff) | |
download | linux-e817f85652c14d78f170b18797e4c477c78949e0.tar.xz |
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/mac802154/cfg.c')
0 files changed, 0 insertions, 0 deletions