diff options
author | Maciej Fijalkowski <[email protected]> | 2021-03-30 00:43:12 +0200 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-03-30 09:24:39 -0700 |
commit | 34829eec3b698219a5cbc09a174b2a7407b3b4c1 (patch) | |
tree | 26fad4bf805fe47fe5389d73dc44b169817ec774 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
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 <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions