| /f-stack/dpdk/drivers/net/ice/ |
| H A D | ice_switch_filter.c | 1031 if (nvgre_mask->tni[0] || in ice_switch_inset_get() 1032 nvgre_mask->tni[1] || in ice_switch_inset_get() 1033 nvgre_mask->tni[2]) { in ice_switch_inset_get() 1035 (nvgre_spec->tni[2] << 16) | in ice_switch_inset_get() 1036 (nvgre_spec->tni[1] << 8) | in ice_switch_inset_get() 1037 nvgre_spec->tni[0]; in ice_switch_inset_get() 1039 (nvgre_mask->tni[2] << 16) | in ice_switch_inset_get() 1040 (nvgre_mask->tni[1] << 8) | in ice_switch_inset_get() 1041 nvgre_mask->tni[0]; in ice_switch_inset_get()
|
| /f-stack/dpdk/drivers/net/txgbe/ |
| H A D | txgbe_ptypes.h | 348 __be32 tni; member
|
| /f-stack/dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_flow.c | 2570 if (nvgre_mask->tni[0] && in ixgbe_parse_fdir_filter_tunnel() 2571 ((nvgre_mask->tni[0] != 0xFF) || in ixgbe_parse_fdir_filter_tunnel() 2572 (nvgre_mask->tni[1] != 0xFF) || in ixgbe_parse_fdir_filter_tunnel() 2573 (nvgre_mask->tni[2] != 0xFF))) { in ixgbe_parse_fdir_filter_tunnel() 2581 rte_memcpy(&rule->mask.tunnel_id_mask, nvgre_mask->tni, in ixgbe_parse_fdir_filter_tunnel() 2582 RTE_DIM(nvgre_mask->tni)); in ixgbe_parse_fdir_filter_tunnel() 2608 nvgre_spec->tni, RTE_DIM(nvgre_spec->tni)); in ixgbe_parse_fdir_filter_tunnel()
|
| /f-stack/dpdk/lib/librte_ethdev/ |
| H A D | rte_flow.h | 987 uint8_t tni[3]; /**< Virtual subnet ID. */ member 994 .tni = "\xff\xff\xff",
|
| /f-stack/dpdk/drivers/net/hns3/ |
| H A D | hns3_flow.c | 971 if (memcmp(nvgre_mask->tni, full_mask, VNI_OR_TNI_LEN) && in hns3_parse_nvgre() 972 memcmp(nvgre_mask->tni, zero_mask, VNI_OR_TNI_LEN)) in hns3_parse_nvgre() 977 if (nvgre_mask->tni[0]) { in hns3_parse_nvgre() 979 memcpy(rule->key_conf.mask.outer_tun_vni, nvgre_mask->tni, in hns3_parse_nvgre() 982 memcpy(rule->key_conf.spec.outer_tun_vni, nvgre_spec->tni, in hns3_parse_nvgre()
|
| /f-stack/dpdk/drivers/net/sfc/ |
| H A D | sfc_flow.c | 1036 .tni = { 0xff, 0xff, 0xff } in sfc_flow_parse_nvgre() 1060 rc = sfc_flow_set_efx_spec_vni_or_vsid(efx_spec, spec->tni, in sfc_flow_parse_nvgre() 1061 mask->tni, item, error); in sfc_flow_parse_nvgre()
|
| /f-stack/dpdk/drivers/net/bnxt/ |
| H A D | bnxt_flow.c | 614 !!memcmp(nvgre_mask->tni, tni_mask, in bnxt_validate_and_parse_flow_type() 626 nvgre_spec->tni, 3); in bnxt_validate_and_parse_flow_type()
|
| /f-stack/dpdk/drivers/net/ipn3ke/ |
| H A D | ipn3ke_flow.c | 517 rte_memcpy(&parser->key[6], nvgre->tni, 3); in ipn3ke_pattern_ip_nvgre()
|
| /f-stack/dpdk/app/test-pmd/ |
| H A D | testpmd.h | 575 uint8_t tni[3]; member
|
| H A D | cmdline_flow.c | 506 .tni = "\x00\x00\x00", 2626 .args = ARGS(ARGS_ENTRY_HTON(struct rte_flow_item_nvgre, tni)), 5225 memcpy(action_nvgre_encap_data->item_nvgre.tni, nvgre_encap_conf.tni, in parse_vc_action_nvgre_encap() 5226 RTE_DIM(nvgre_encap_conf.tni)); in parse_vc_action_nvgre_encap()
|
| H A D | cmdline.c | 12850 uint32_t tni; member 12875 TOKEN_NUM_INITIALIZER(struct cmd_set_nvgre_result, tni, RTE_UINT32); 12909 uint8_t tni[4]; in cmd_set_nvgre_parsed() member 12911 .nvgre_tni = rte_cpu_to_be_32(res->tni) & RTE_BE32(0x00ffffff), in cmd_set_nvgre_parsed() 12924 rte_memcpy(nvgre_encap_conf.tni, &id.tni[1], 3); in cmd_set_nvgre_parsed()
|
| /f-stack/dpdk/doc/guides/testpmd_app_ug/ |
| H A D | testpmd_funcs.rst | 1852 set nvgre ip-version (ipv4|ipv6) tni (tni) ip-src (ip-src) ip-dst (ip-dst) \ 1854 set nvgre-with-vlan ip-version (ipv4|ipv6) tni (tni) ip-src (ip-src) \ 3656 - ``tni {unsigned}``: virtual subnet ID. 4567 testpmd> set nvgre ip-version ipv4 tni 4 ip-src 127.0.0.1 ip-dst 128.0.0.1 4572 testpmd> set nvgre-with-vlan ip-version ipv4 tni 4 ip-src 127.0.0.1 4580 testpmd> set nvgre ip-version ipv6 tni 4 ip-src ::1 ip-dst ::2222 4585 testpmd> set nvgre-with-vlan ip-version ipv6 tni 4 ip-src ::1 ip-dst ::2222
|
| /f-stack/dpdk/drivers/net/i40e/ |
| H A D | i40e_flow.c | 4015 !!memcmp(nvgre_mask->tni, tni_mask, in i40e_flow_parse_nvgre_pattern() 4060 nvgre_spec->tni, 3); in i40e_flow_parse_nvgre_pattern()
|
| /f-stack/dpdk/drivers/net/mlx5/ |
| H A D | mlx5_flow_dv.c | 7021 tni_flow_id_m = (const char *)nvgre_m->tni; in flow_dv_translate_item_nvgre() 7022 tni_flow_id_v = (const char *)nvgre_v->tni; in flow_dv_translate_item_nvgre() 7023 size = sizeof(nvgre_m->tni) + sizeof(nvgre_m->flow_id); in flow_dv_translate_item_nvgre()
|
| /f-stack/dpdk/doc/guides/prog_guide/ |
| H A D | rte_flow.rst | 1044 - ``tni``: virtual subnet ID.
|