aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorLuigi Rizzo <[email protected]>2019-11-18 16:19:51 -0800
committerAlexei Starovoitov <[email protected]>2019-11-19 14:06:35 -0800
commit3de88c9113f88c04abda339f1aa629397bf89e02 (patch)
treea5ca98f429517394b3799c63a7be0674365df9d1 /scripts/gdb/linux/tasks.py
parent0424c5a4dda5608a2910474e3e8f0fd8e7126f42 (diff)
net-af_xdp: Use correct number of channels from ethtool
Drivers use different fields to report the number of channels, so take the maximum of all data channels (rx, tx, combined) when determining the size of the xsk map. The current code used only 'combined' which was set to 0 in some drivers e.g. mlx4. Tested: compiled and run xdpsock -q 3 -r -S on mlx4 Signed-off-by: Luigi Rizzo <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Reviewed-by: Jakub Kicinski <[email protected]> Acked-by: Magnus Karlsson <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions