| /linux/tools/testing/selftests/bpf/ |
| H A D | test_xdp_features.sh | 36 [ "$(pidof xdp_features)" = "" ] || kill $(pidof xdp_features) 2> /dev/null 41 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 \ 58 ./xdp_features -f XDP_DROP -D ::ffff:$V1_IP4 -T ::ffff:$V0_IP4 v1 & 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 \ [all …]
|
| H A D | xdp_features.c | 278 static int dut_attach_xdp_prog(struct xdp_features *skel, int flags) in dut_attach_xdp_prog() 360 static int dut_run(struct xdp_features *skel) in dut_run() 495 static bool tester_collect_detected_cap(struct xdp_features *skel, in tester_collect_detected_cap() 573 static int tester_run(struct xdp_features *skel) in tester_run() 657 struct xdp_features *skel; in main()
|
| H A D | .gitignore | 46 xdp_features
|
| H A D | Makefile | 131 xdp_features \ 510 xdp_features.skel.h-deps := xdp_features.bpf.o 814 $(OUTPUT)/xdp_features: xdp_features.c $(OUTPUT)/network_helpers.o $(OUTPUT)/xdp_features.skel.h | …
|
| /linux/tools/net/ynl/samples/ |
| H A D | netdev.c | 32 if (!d->_present.xdp_features) in netdev_print_device() 35 printf("xdp-features (%llx):", d->xdp_features); in netdev_print_device() 36 for (int i = 0; d->xdp_features >= 1U << i; i++) { in netdev_print_device() 37 if (d->xdp_features & (1U << i)) in netdev_print_device()
|
| /linux/drivers/net/ethernet/google/gve/ |
| H A D | gve_main.c | 2337 xdp_features_t xdp_features; in gve_set_netdev_xdp_features() local 2340 xdp_features = NETDEV_XDP_ACT_BASIC; in gve_set_netdev_xdp_features() 2341 xdp_features |= NETDEV_XDP_ACT_REDIRECT; in gve_set_netdev_xdp_features() 2342 xdp_features |= NETDEV_XDP_ACT_XSK_ZEROCOPY; in gve_set_netdev_xdp_features() 2344 xdp_features = NETDEV_XDP_ACT_BASIC; in gve_set_netdev_xdp_features() 2345 xdp_features |= NETDEV_XDP_ACT_REDIRECT; in gve_set_netdev_xdp_features() 2346 xdp_features |= NETDEV_XDP_ACT_XSK_ZEROCOPY; in gve_set_netdev_xdp_features() 2348 xdp_features = 0; in gve_set_netdev_xdp_features() 2351 xdp_set_features_flag_locked(priv->dev, xdp_features); in gve_set_netdev_xdp_features()
|
| /linux/Documentation/networking/net_cachelines/ |
| H A D | net_device.rst | 29 xdp_features_t xdp_features
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_common.c | 2767 netdev->xdp_features = NETDEV_XDP_ACT_BASIC; in nfp_net_netdev_init() 2769 netdev->xdp_features |= NETDEV_XDP_ACT_HW_OFFLOAD; in nfp_net_netdev_init() 2775 netdev->xdp_features |= NETDEV_XDP_ACT_XSK_ZEROCOPY; in nfp_net_netdev_init() 2776 netdev->xdp_features |= NETDEV_XDP_ACT_REDIRECT; in nfp_net_netdev_init()
|
| /linux/net/xdp/ |
| H A D | xsk_buff_pool.c | 199 if ((netdev->xdp_features & NETDEV_XDP_ACT_XSK) != NETDEV_XDP_ACT_XSK) { in xp_assign_dev()
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | efx.c | 1021 net_dev->xdp_features = NETDEV_XDP_ACT_BASIC | in efx_pci_probe_post_io()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | efx.c | 1122 net_dev->xdp_features = NETDEV_XDP_ACT_BASIC | in efx_pci_probe_post_io()
|
| /linux/drivers/net/netdevsim/ |
| H A D | netdev.c | 989 dev->xdp_features = NETDEV_XDP_ACT_BASIC | NETDEV_XDP_ACT_HW_OFFLOAD; in nsim_setup()
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_main.c | 869 dev->xdp_features = NETDEV_XDP_ACT_BASIC | in lan966x_probe_port()
|
| /linux/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_nic.c | 387 self->ndev->xdp_features = NETDEV_XDP_ACT_BASIC | in aq_nic_ndev_init()
|
| /linux/drivers/net/ethernet/socionext/ |
| H A D | netsec.c | 2123 ndev->xdp_features = NETDEV_XDP_ACT_BASIC | NETDEV_XDP_ACT_REDIRECT | in netsec_probe()
|
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpaa2-eth.c | 4625 net_dev->xdp_features = NETDEV_XDP_ACT_BASIC | in dpaa2_eth_netdev_init() 4630 net_dev->xdp_features |= NETDEV_XDP_ACT_XSK_ZEROCOPY; in dpaa2_eth_netdev_init()
|
| /linux/drivers/net/hyperv/ |
| H A D | netvsc_drv.c | 2585 net->xdp_features = NETDEV_XDP_ACT_BASIC | NETDEV_XDP_ACT_REDIRECT | in netvsc_probe()
|
| /linux/drivers/net/ethernet/freescale/dpaa/ |
| H A D | dpaa_eth.c | 248 net_dev->xdp_features = NETDEV_XDP_ACT_BASIC | in dpaa_netdev_init()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_pf.c | 3252 netdev->xdp_features = NETDEV_XDP_ACT_BASIC | NETDEV_XDP_ACT_REDIRECT | in otx2_probe()
|
| /linux/drivers/net/ |
| H A D | virtio_net.c | 6788 dev->xdp_features = NETDEV_XDP_ACT_BASIC | NETDEV_XDP_ACT_REDIRECT | in virtnet_probe() 6820 dev->xdp_features |= NETDEV_XDP_ACT_RX_SG; in virtnet_probe()
|
| /linux/include/linux/ |
| H A D | netdevice.h | 2210 xdp_features_t xdp_features; member
|
| /linux/drivers/net/ethernet/amazon/ena/ |
| H A D | ena_netdev.c | 4052 netdev->xdp_features = NETDEV_XDP_ACT_BASIC | in ena_probe()
|
| /linux/drivers/net/ethernet/intel/ixgbevf/ |
| H A D | ixgbevf_main.c | 4668 netdev->xdp_features = NETDEV_XDP_ACT_BASIC; in ixgbevf_probe()
|
| /linux/drivers/net/ethernet/freescale/ |
| H A D | fec_main.c | 4190 ndev->xdp_features = NETDEV_XDP_ACT_BASIC | in fec_enet_init()
|
| /linux/drivers/net/vmxnet3/ |
| H A D | vmxnet3_drv.c | 4213 netdev->xdp_features = NETDEV_XDP_ACT_BASIC | NETDEV_XDP_ACT_REDIRECT | in vmxnet3_probe_device()
|