diff options
author | Maciej Fijalkowski <maciej.fijalkowski@intel.com> | 2021-03-30 00:43:12 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-03-30 09:24:39 -0700 |
commit | 34829eec3b698219a5cbc09a174b2a7407b3b4c1 (patch) | |
tree | 26fad4bf805fe47fe5389d73dc44b169817ec774 /tools/testing/selftests/bpf/test_xsk.sh | |
parent | 0464b1ed07677f869005bde3fade1580b48de67e (diff) |
veth: Implement ethtool's get_channels() callback
Libbpf's xsk part calls get_channels() API to retrieve the queue count
of the underlying driver so that XSKMAP is sized accordingly.
Implement that in veth so multi queue scenarios can work properly.
Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210329224316.17793-14-maciej.fijalkowski@intel.com
Diffstat (limited to 'tools/testing/selftests/bpf/test_xsk.sh')
0 files changed, 0 insertions, 0 deletions