Home
last modified time | relevance | path

Searched refs:drv_feature (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/
H A Dxdp_features.c32 enum netdev_xdp_act drv_feature; member
91 env.feature.drv_feature = NETDEV_XDP_ACT_BASIC; in get_xdp_feature()
93 env.feature.drv_feature = NETDEV_XDP_ACT_BASIC; in get_xdp_feature()
96 env.feature.drv_feature = NETDEV_XDP_ACT_BASIC; in get_xdp_feature()
99 env.feature.drv_feature = NETDEV_XDP_ACT_BASIC; in get_xdp_feature()
102 env.feature.drv_feature = NETDEV_XDP_ACT_REDIRECT; in get_xdp_feature()
105 env.feature.drv_feature = NETDEV_XDP_ACT_NDO_XMIT; in get_xdp_feature()
130 if (env.feature.drv_feature == NETDEV_XDP_ACT_NDO_XMIT) in get_xdp_feature_str()
212 env.feature.drv_feature = NETDEV_XDP_ACT_NDO_XMIT; in set_env_default()
285 if (env.feature.drv_feature == NETDEV_XDP_ACT_NDO_XMIT) { in dut_attach_xdp_prog()
[all …]