aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2024-06-13 14:30:44 -0700
committerJakub Kicinski <[email protected]>2024-06-14 18:04:29 -0700
commit7ed352d34f1a09a7659c53de07785115587499fe (patch)
tree77a06280ef0c3a983e3704889d0a0b546a34f684 /tools/perf/scripts/python/bin/export-to-postgresql-report
parentc64da10adb57a135bf91e32202d7077931472533 (diff)
netdev-genl: fix error codes when outputting XDP features
-EINVAL will interrupt the dump. The correct error to return if we have more data to dump is -EMSGSIZE. Discovered by doing: for i in `seq 80`; do ip link add type veth; done ./cli.py --dbg-small-recv 5300 --spec netdev.yaml --dump dev-get >> /dev/null [...] nl_len = 64 (48) nl_flags = 0x0 nl_type = 19 nl_len = 20 (4) nl_flags = 0x2 nl_type = 3 error: -22 Fixes: d3d854fd6a1d ("netdev-genl: create a simple family for netdev stuff") Reviewed-by: Amritha Nambiar <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions