aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorDavid Ahern <[email protected]>2020-05-29 16:07:14 -0600
committerAlexei Starovoitov <[email protected]>2020-06-01 14:48:32 -0700
commit64b59025c15b244c0954cf52b24fbabfcf5ed8f6 (patch)
tree6d47a7f0f047306a1aede92a803a50e629b6c50a /tools/perf/scripts/python/sctop.py
parentfbee97feed9b3e4acdf9590e1f6b4a2eefecfffe (diff)
xdp: Add xdp_txq_info to xdp_buff
Add xdp_txq_info as the Tx counterpart to xdp_rxq_info. At the moment only the device is added. Other fields (queue_index) can be added as use cases arise. >From a UAPI perspective, add egress_ifindex to xdp context for bpf programs to see the Tx device. Update the verifier to only allow accesses to egress_ifindex by XDP programs with BPF_XDP_DEVMAP expected attach type. Signed-off-by: David Ahern <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Toke Høiland-Jørgensen <[email protected]> Link: https://lore.kernel.org/bpf/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions