Home
last modified time | relevance | path

Searched refs:xdp_features (Results 1 – 25 of 46) sorted by relevance

12

/linux-6.3-rc2/tools/testing/selftests/bpf/
A Dtest_xdp_features.sh41 ss -tlp | grep -q xdp_features
50 ./xdp_features -f XDP_PASS -D $V1_IP6 -T $V0_IP6 v1 &
52 ip netns exec ${NS} ./xdp_features -t -f XDP_PASS \
60 ip netns exec ${NS} ./xdp_features -t -f XDP_DROP \
67 ./xdp_features -f XDP_ABORTED -D $V1_IP6 -T $V0_IP6 v1 &
69 ip netns exec ${NS} ./xdp_features -t -f XDP_ABORTED \
75 ./xdp_features -f XDP_TX -D ::ffff:$V1_IP4 -T ::ffff:$V0_IP4 v1 &
77 ip netns exec ${NS} ./xdp_features -t -f XDP_TX \
84 ./xdp_features -f XDP_REDIRECT -D $V1_IP6 -T $V0_IP6 v1 &
86 ip netns exec ${NS} ./xdp_features -t -f XDP_REDIRECT \
[all …]
A Dxdp_features.c267 static int dut_attach_xdp_prog(struct xdp_features *skel, int flags) in dut_attach_xdp_prog()
350 static int dut_run(struct xdp_features *skel) in dut_run()
481 static bool tester_collect_detected_cap(struct xdp_features *skel, in tester_collect_detected_cap()
557 static int tester_run(struct xdp_features *skel) in tester_run()
639 struct xdp_features *skel; in main()
A D.gitignore51 xdp_features
A DMakefile89 xdp_features
414 xdp_features.skel.h-deps := xdp_features.bpf.o
618 $(OUTPUT)/xdp_features: xdp_features.c $(OUTPUT)/network_helpers.o $(OUTPUT)/xdp_features.skel.h | …
/linux-6.3-rc2/net/core/
A Dxdp.c779 dev->xdp_features |= NETDEV_XDP_ACT_NDO_XMIT; in xdp_features_set_redirect_target()
781 dev->xdp_features |= NETDEV_XDP_ACT_NDO_XMIT_SG; in xdp_features_set_redirect_target()
789 dev->xdp_features &= ~(NETDEV_XDP_ACT_NDO_XMIT | in xdp_features_clear_redirect_target()
A Dnetdev-genl.c23 netdev->xdp_features, NETDEV_A_DEV_PAD)) { in netdev_nl_dev_fill()
/linux-6.3-rc2/kernel/bpf/
A Ddevmap.c477 if (!(dev->xdp_features & NETDEV_XDP_ACT_NDO_XMIT)) in __xdp_enqueue()
480 if (unlikely(!(dev->xdp_features & NETDEV_XDP_ACT_NDO_XMIT_SG) && in __xdp_enqueue()
542 if (!(obj->dev->xdp_features & NETDEV_XDP_ACT_NDO_XMIT)) in is_valid_dst()
545 if (unlikely(!(obj->dev->xdp_features & NETDEV_XDP_ACT_NDO_XMIT_SG) && in is_valid_dst()
/linux-6.3-rc2/drivers/net/netdevsim/
A Dnetdev.c289 dev->xdp_features = NETDEV_XDP_ACT_HW_OFFLOAD; in nsim_setup()
/linux-6.3-rc2/net/xdp/
A Dxsk_buff_pool.c185 if ((netdev->xdp_features & NETDEV_XDP_ACT_ZC) != NETDEV_XDP_ACT_ZC) { in xp_assign_dev()
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/
A Dnfp_net_common.c2538 netdev->xdp_features = NETDEV_XDP_ACT_BASIC; in nfp_net_netdev_init()
2540 netdev->xdp_features |= NETDEV_XDP_ACT_HW_OFFLOAD; in nfp_net_netdev_init()
2546 netdev->xdp_features |= NETDEV_XDP_ACT_XSK_ZEROCOPY; in nfp_net_netdev_init()
/linux-6.3-rc2/drivers/net/ethernet/ti/
A Dcpsw.c1461 ndev->xdp_features = NETDEV_XDP_ACT_BASIC | NETDEV_XDP_ACT_REDIRECT | in cpsw_probe_dual_emac()
1640 ndev->xdp_features = NETDEV_XDP_ACT_BASIC | NETDEV_XDP_ACT_REDIRECT | in cpsw_probe()
A Dcpsw_new.c1408 ndev->xdp_features = NETDEV_XDP_ACT_BASIC | in cpsw_create_ports()
/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/
A Defx.c1010 net_dev->xdp_features = NETDEV_XDP_ACT_BASIC | in efx_pci_probe_post_io()
/linux-6.3-rc2/drivers/net/ethernet/sfc/
A Defx.c1031 net_dev->xdp_features = NETDEV_XDP_ACT_BASIC | in efx_pci_probe_post_io()
/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/
A Dlan966x_main.c827 dev->xdp_features = NETDEV_XDP_ACT_BASIC | in lan966x_probe_port()
/linux-6.3-rc2/drivers/net/ethernet/freescale/enetc/
A Denetc_pf.c810 ndev->xdp_features = NETDEV_XDP_ACT_BASIC | NETDEV_XDP_ACT_REDIRECT | in enetc_pf_netdev_setup()
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/
A Daq_nic.c387 self->ndev->xdp_features = NETDEV_XDP_ACT_BASIC | in aq_nic_ndev_init()
/linux-6.3-rc2/drivers/net/
A Dveth.c1690 dev->xdp_features = NETDEV_XDP_ACT_BASIC | NETDEV_XDP_ACT_REDIRECT | in veth_setup()
A Dvirtio_net.c3925 dev->xdp_features = NETDEV_XDP_ACT_BASIC | NETDEV_XDP_ACT_REDIRECT; in virtnet_probe()
3956 dev->xdp_features |= NETDEV_XDP_ACT_RX_SG; in virtnet_probe()
A Dxen-netfront.c1744 netdev->xdp_features = NETDEV_XDP_ACT_BASIC | NETDEV_XDP_ACT_REDIRECT | in xennet_create_dev()
/linux-6.3-rc2/drivers/net/ethernet/socionext/
A Dnetsec.c2107 ndev->xdp_features = NETDEV_XDP_ACT_BASIC | NETDEV_XDP_ACT_REDIRECT | in netsec_probe()
/linux-6.3-rc2/drivers/net/ethernet/engleder/
A Dtsnep_main.c1929 netdev->xdp_features = NETDEV_XDP_ACT_BASIC | NETDEV_XDP_ACT_REDIRECT | in tsnep_probe()
/linux-6.3-rc2/drivers/net/ethernet/cavium/thunder/
A Dnicvf_main.c2221 netdev->xdp_features = NETDEV_XDP_ACT_BASIC; in nicvf_probe()
/linux-6.3-rc2/drivers/net/ethernet/fungible/funeth/
A Dfuneth_main.c1773 netdev->xdp_features = NETDEV_XDP_ACT_BASIC | NETDEV_XDP_ACT_REDIRECT; in fun_create_netdev()
/linux-6.3-rc2/drivers/net/ethernet/freescale/dpaa2/
A Ddpaa2-eth.c4599 net_dev->xdp_features = NETDEV_XDP_ACT_BASIC | in dpaa2_eth_netdev_init()
4604 net_dev->xdp_features |= NETDEV_XDP_ACT_XSK_ZEROCOPY; in dpaa2_eth_netdev_init()

Completed in 95 milliseconds

12