aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/config.py
diff options
context:
space:
mode:
authorArthur Fabre <[email protected]>2019-11-12 15:36:01 +0000
committerDavid S. Miller <[email protected]>2019-11-12 12:23:40 -0800
commit9440a875b8359090fa9ae65b4fb640893c04a80d (patch)
tree043f63c5c908fb47fd7e338308291bc0d4a37432 /scripts/gdb/linux/config.py
parent1e86606ba05d5e6269dabb209f5406745cb5b141 (diff)
sfc: trace_xdp_exception on XDP failure
The sfc driver can drop packets processed with XDP, notably when running out of buffer space on XDP_TX, or returning an unknown XDP action. This increments the rx_xdp_bad_drops ethtool counter. Call trace_xdp_exception everywhere rx_xdp_bad_drops is incremented, except for fragmented RX packets as the XDP program hasn't run yet. This allows it to easily be monitored from userspace. This mirrors the behavior of other drivers. Signed-off-by: Arthur Fabre <[email protected]> Acked-by: Edward Cree <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions