iproute2/ip
Daniel Borkmann a872b870a5 bpf: add support for generic xdp
Follow-up to commit c7272ca720 ("bpf: add initial support for
attaching xdp progs") to also support generic XDP. This adds an
indicator for loaded generic XDP programs when programs are loaded
as shown in c7272ca720, but the driver still lacks native XDP
support.

  # ip link
  [...]
  3: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 xdpgeneric qdisc [...]
      link/ether 0c:c4:7a:03:f9:25 brd ff:ff:ff:ff:ff:ff
  [...]

In case the driver does support native XDP, but the user wants
to load the program as generic XDP (e.g. for testing purposes),
then this can be done with the same semantics as in c7272ca720,
but with 'xdpgeneric' instead of 'xdp' command for loading:

  # ip -force link set dev eno1 xdpgeneric obj xdp.o

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: David S. Miller <davem@davemloft.net>
2017-05-01 09:28:19 -07:00
..
.gitignore Another .gitignore file. 2006-08-08 12:11:23 -07:00
Makefile ip: add ip sr command to control SR-IPv6 internal structures 2017-04-16 10:21:43 -07:00
ifcfg Remove trailing whitespace 2006-12-05 10:10:22 -08:00
ip.c ip: add ip sr command to control SR-IPv6 internal structures 2017-04-16 10:21:43 -07:00
ip6tunnel.c ip6tunnel: Align ipv6 tunnel key display with ipv4 2017-01-12 17:34:02 -08:00
ip_common.h ip: add ip sr command to control SR-IPv6 internal structures 2017-04-16 10:21:43 -07:00
ipaddress.c iplink: add support for afstats subcommand 2017-03-10 08:44:55 -08:00
ipaddrlabel.c Use C99 style initializers everywhere 2016-07-20 12:05:24 -07:00
ipfou.c fou: show usage even if the module is not available 2016-08-17 14:00:22 -07:00
ipila.c ila: show usage even if the module is not available 2016-08-17 14:00:28 -07:00
ipl2tp.c utils: make hex2mem available to all users 2017-01-17 08:45:22 -08:00
iplink.c bpf: add support for generic xdp 2017-05-01 09:28:19 -07:00
iplink_bond.c ip: link: bond: Fix whitespace in help text 2017-04-04 14:51:29 -07:00
iplink_bond_slave.c ip: Use specific slave id 2016-09-22 16:39:55 -07:00
iplink_bridge.c iplink: bridge_slave: add support for displaying xstats 2017-02-18 16:37:24 -08:00
iplink_bridge_slave.c iplink: bridge_slave: add support for displaying xstats 2017-02-18 16:37:24 -08:00
iplink_can.c netlink route attribute cleanup 2017-02-24 08:56:38 -08:00
iplink_dummy.c ip: link: Add missing link type help texts 2017-04-04 14:51:29 -07:00
iplink_geneve.c ip: link: Unify link type help functions a bit 2017-04-04 14:51:29 -07:00
iplink_hsr.c ip: HSR: Fix cut and paste error 2017-02-06 13:49:02 -08:00
iplink_ifb.c ip: link: Add missing link type help texts 2017-04-04 14:51:29 -07:00
iplink_ipoib.c ip: link: Unify link type help functions a bit 2017-04-04 14:51:29 -07:00
iplink_ipvlan.c ip: (ipvlan) introduce L3s mode 2016-09-20 09:50:45 -07:00
iplink_macvlan.c ip: link: macvlan: Add newline to help output 2017-04-04 14:51:29 -07:00
iplink_nlmon.c ip: link: Add missing link type help texts 2017-04-04 14:51:29 -07:00
iplink_team.c ip: link: Add missing link type help texts 2017-04-04 14:51:29 -07:00
iplink_vcan.c ip: link: Add missing link type help texts 2017-04-04 14:51:29 -07:00
iplink_vlan.c ip: link: Unify link type help functions a bit 2017-04-04 14:51:29 -07:00
iplink_vrf.c libnetlink: Add variant of rtnl_talk that does not display RTNETLINK answers error 2016-12-13 10:20:16 -08:00
iplink_vxlan.c ip: link: Unify link type help functions a bit 2017-04-04 14:51:29 -07:00
iplink_xdp.c bpf: add support for generic xdp 2017-05-01 09:28:19 -07:00
iplink_xstats.c add missing iplink_xstats.c 2017-02-20 08:53:40 -08:00
ipmacsec.c macsec: Nr. of packets and octets for macsec tx stats were swapped 2016-11-29 13:22:12 -08:00
ipmaddr.c ip: fix igmp parsing when iface is long 2017-01-17 08:39:55 -08:00
ipmonitor.c ip: Add support for MPLS netconf 2017-02-23 08:58:40 -08:00
ipmroute.c netlink route attribute cleanup 2017-02-24 08:56:38 -08:00
ipneigh.c Use C99 style initializers everywhere 2016-07-20 12:05:24 -07:00
ipnetconf.c ip netconf: show all families on dev request 2017-04-14 16:00:15 -07:00
ipnetns.c ip netns: refactor netns_identify 2017-02-17 15:33:24 -08:00
ipntable.c Use C99 style initializers everywhere 2016-07-20 12:05:24 -07:00
ipprefix.c netlink route attribute cleanup 2017-02-24 08:56:38 -08:00
iproute.c iproute: add support for SR-IPv6 lwtunnel encapsulation 2017-04-16 10:21:43 -07:00
iproute_lwtunnel.c iproute: add support for SR-IPv6 lwtunnel encapsulation 2017-04-16 10:21:43 -07:00
iproute_lwtunnel.h lwtunnel: Add encapsulation support to ip route 2015-10-16 16:13:22 -07:00
iprule.c ip: support UID range routing. 2016-11-29 12:26:37 -08:00
ipseg6.c ip: add ip sr command to control SR-IPv6 internal structures 2017-04-16 10:21:43 -07:00
iptoken.c Use C99 style initializers everywhere 2016-07-20 12:05:24 -07:00
iptunnel.c Use C99 style initializers everywhere 2016-07-20 12:05:24 -07:00
iptuntap.c tuntap: Add name attribute to usage text 2016-09-08 14:31:33 -07:00
ipvrf.c ip vrf: Add command name next to pid 2017-04-16 10:19:32 -07:00
ipxfrm.c xfrm: remove unnecessary casts 2017-02-24 15:23:14 -08:00
link_gre.c iplink: Expose IFLA_*_FWMARK attributes for supported link types 2017-04-23 09:14:46 -07:00
link_gre6.c iplink: Expose IFLA_*_FWMARK attributes for supported link types 2017-04-23 09:14:46 -07:00
link_ip6tnl.c iplink: Expose IFLA_*_FWMARK attributes for supported link types 2017-04-23 09:14:46 -07:00
link_iptnl.c iplink: Expose IFLA_*_FWMARK attributes for supported link types 2017-04-23 09:14:46 -07:00
link_veth.c ip: code cleanup 2016-03-21 11:52:19 -07:00
link_vti.c iplink: Expose IFLA_*_FWMARK attributes for supported link types 2017-04-23 09:14:46 -07:00
link_vti6.c iplink: Expose IFLA_*_FWMARK attributes for supported link types 2017-04-23 09:14:46 -07:00
routef ip/routef lifesaver 2007-07-10 18:29:20 -07:00
routel routel: fix infinite loop in line parser 2017-04-27 16:42:29 -07:00
rtm_map.c ip, realms: also allow to pass in raw realms value 2015-10-22 23:40:51 -07:00
rtmon.c ip: code cleanup 2016-03-21 11:52:19 -07:00
rtpr (Logical change 1.3) 2004-04-15 20:56:59 +00:00
static-syms.c Fix build when shared libraries are disabled 2013-03-13 08:29:59 -07:00
tcp_metrics.c libgenl: introduce genl_init_handle 2016-08-17 13:59:21 -07:00
tunnel.c ip: code cleanup 2016-03-21 11:52:19 -07:00
tunnel.h ip{,6}tunnel: have a shared stats parser/printer 2015-12-18 11:46:21 -08:00
xdp.h bpf: add support for generic xdp 2017-05-01 09:28:19 -07:00
xfrm.h Fix FSF address in file headers 2013-12-06 15:05:07 -08:00
xfrm_monitor.c netlink route attribute cleanup 2017-02-24 08:56:38 -08:00
xfrm_policy.c netlink route attribute cleanup 2017-02-24 08:56:38 -08:00
xfrm_state.c netlink route attribute cleanup 2017-02-24 08:56:38 -08:00