diff options
author | Martin KaFai Lau <kafai@fb.com> | 2017-06-15 17:29:09 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-16 11:58:36 -0400 |
commit | 58038695e62b4473e4d70e1503933579c640cd52 (patch) | |
tree | 3fe505510deddba8dcd85ba5eb1cca4df7a0a539 /arch/openrisc/kernel | |
parent | 3dc02251f43fb5ec7fa576138005edbfe35ed1ca (diff) |
net: Add IFLA_XDP_PROG_ID
Expose prog_id through IFLA_XDP_PROG_ID. This patch
makes modification to generic_xdp. The later patches will
modify other xdp-supported drivers.
prog_id is added to struct net_dev_xdp.
iproute2 patch will be followed. Here is how the 'ip link'
will look like:
> ip link show eth0
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 xdp(prog_id:1) qdisc fq_codel state UP mode DEFAULT group default qlen 1000
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Alexei Starovoitov <ast@fb.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/openrisc/kernel')
0 files changed, 0 insertions, 0 deletions