]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
xdp/trace: extend tracepoint in devmap with an err
authorJesper Dangaard Brouer <brouer@redhat.com>
Thu, 24 May 2018 14:46:17 +0000 (16:46 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 25 May 2018 01:36:15 +0000 (18:36 -0700)
commite74de52e55c092e7113f839e74400ce9dbe12ceb
tree811913647e2becd8bfa53ea1a36bf4dc631aeb1d
parent735fc4054b3a25034445c6713d259da0f96f8131
xdp/trace: extend tracepoint in devmap with an err

Extending tracepoint xdp:xdp_devmap_xmit in devmap with an err code
allow people to easier identify the reason behind the ndo_xdp_xmit
call to a given driver is failing.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
include/trace/events/xdp.h
kernel/bpf/devmap.c