linux/include/uapi
David Ahern 64b59025c1 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 <dsahern@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/bpf/20200529220716.75383-4-dsahern@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2020-06-01 14:48:32 -07:00
..
asm-generic y2038: hide timeval/timespec/itimerval/itimerspec types 2020-02-21 11:22:15 -08:00
drm drm/amdgpu: add tiling flags from Mesa 2020-04-28 15:29:27 -04:00
linux xdp: Add xdp_txq_info to xdp_buff 2020-06-01 14:48:32 -07:00
misc crypto: hisilicon - register zip engine to uacce 2020-02-22 09:25:42 +08:00
mtd
rdma Merge branch 'mlx5_tx_steering' into rdma.git for-next 2020-03-27 13:26:59 -03:00
scsi uapi: revert flexible-array conversions 2020-05-04 11:30:15 -05:00
sound Revert "ALSA: uapi: Drop asound.h inclusion from asoc.h" 2020-03-31 11:01:12 +02:00
video
xen
Kbuild