| /dpdk/drivers/net/ice/ |
| H A D | ice_switch_filter.c | 1031 if (nvgre_mask->tni[0] || in ice_switch_parse_pattern() 1032 nvgre_mask->tni[1] || in ice_switch_parse_pattern() 1033 nvgre_mask->tni[2]) { in ice_switch_parse_pattern() 1035 (nvgre_spec->tni[2] << 16) | in ice_switch_parse_pattern() 1036 (nvgre_spec->tni[1] << 8) | in ice_switch_parse_pattern() 1037 nvgre_spec->tni[0]; in ice_switch_parse_pattern() 1039 (nvgre_mask->tni[2] << 16) | in ice_switch_parse_pattern() 1040 (nvgre_mask->tni[1] << 8) | in ice_switch_parse_pattern() 1041 nvgre_mask->tni[0]; in ice_switch_parse_pattern()
|
| /dpdk/drivers/net/txgbe/ |
| H A D | txgbe_ptypes.h | 348 __be32 tni; member
|
| /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()
|
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_flow.c | 994 if (memcmp(nvgre_mask->tni, full_mask, VNI_OR_TNI_LEN) && in hns3_parse_nvgre() 995 memcmp(nvgre_mask->tni, zero_mask, VNI_OR_TNI_LEN)) in hns3_parse_nvgre() 1000 if (nvgre_mask->tni[0]) { in hns3_parse_nvgre() 1002 memcpy(rule->key_conf.mask.outer_tun_vni, nvgre_mask->tni, in hns3_parse_nvgre() 1005 memcpy(rule->key_conf.spec.outer_tun_vni, nvgre_spec->tni, in hns3_parse_nvgre()
|
| /dpdk/lib/ethdev/ |
| H A D | rte_flow.h | 1157 uint8_t tni[3]; /**< Virtual subnet ID. */ member 1164 .tni = "\xff\xff\xff",
|
| /dpdk/drivers/net/sfc/ |
| H A D | sfc_flow.c | 1045 .tni = { 0xff, 0xff, 0xff } in sfc_flow_parse_nvgre() 1069 rc = sfc_flow_set_efx_spec_vni_or_vsid(efx_spec, spec->tni, in sfc_flow_parse_nvgre() 1070 mask->tni, item, error); in sfc_flow_parse_nvgre()
|
| /dpdk/drivers/net/bnxt/ |
| H A D | bnxt_flow.c | 639 !!memcmp(nvgre_mask->tni, tni_mask, in bnxt_validate_and_parse_flow_type() 651 nvgre_spec->tni, 3); in bnxt_validate_and_parse_flow_type()
|
| /dpdk/drivers/net/ipn3ke/ |
| H A D | ipn3ke_flow.c | 517 rte_memcpy(&parser->key[6], nvgre->tni, 3); in ipn3ke_pattern_ip_nvgre()
|
| /dpdk/app/test-pmd/ |
| H A D | testpmd.h | 646 uint8_t tni[3]; member
|
| H A D | cmdline_flow.c | 721 .tni = "\x00\x00\x00", 3984 .args = ARGS(ARGS_ENTRY_HTON(struct rte_flow_item_nvgre, tni)), 7558 memcpy(action_nvgre_encap_data->item_nvgre.tni, nvgre_encap_conf.tni, in parse_setup_nvgre_encap_data() 7559 RTE_DIM(nvgre_encap_conf.tni)); in parse_setup_nvgre_encap_data()
|
| H A D | cmdline.c | 13304 uint32_t tni; member 13329 TOKEN_NUM_INITIALIZER(struct cmd_set_nvgre_result, tni, RTE_UINT32); 13363 uint8_t tni[4]; in cmd_set_nvgre_parsed() member 13365 .nvgre_tni = rte_cpu_to_be_32(res->tni) & RTE_BE32(0x00ffffff), in cmd_set_nvgre_parsed() 13378 rte_memcpy(nvgre_encap_conf.tni, &id.tni[1], 3); in cmd_set_nvgre_parsed()
|
| /dpdk/doc/guides/testpmd_app_ug/ |
| H A D | testpmd_funcs.rst | 1872 set nvgre ip-version (ipv4|ipv6) tni (tni) ip-src (ip-src) ip-dst (ip-dst) \ 1874 set nvgre-with-vlan ip-version (ipv4|ipv6) tni (tni) ip-src (ip-src) \ 4020 - ``tni {unsigned}``: virtual subnet ID. 5083 testpmd> set nvgre ip-version ipv4 tni 4 ip-src 127.0.0.1 ip-dst 128.0.0.1 5088 testpmd> set nvgre-with-vlan ip-version ipv4 tni 4 ip-src 127.0.0.1 5096 testpmd> set nvgre ip-version ipv6 tni 4 ip-src ::1 ip-dst ::2222 5101 testpmd> set nvgre-with-vlan ip-version ipv6 tni 4 ip-src ::1 ip-dst ::2222 5399 testpmd> set nvgre ip-version ipv4 tni 4 ip-src 127.0.0.1 ip-dst 128.0.0.1
|
| /dpdk/drivers/net/i40e/ |
| H A D | i40e_flow.c | 4011 !!memcmp(nvgre_mask->tni, tni_mask, in i40e_flow_parse_nvgre_pattern() 4056 nvgre_spec->tni, 3); in i40e_flow_parse_nvgre_pattern()
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_flow_dv.c | 9109 tni_flow_id_m = (const char *)nvgre_m->tni; in flow_dv_translate_item_nvgre() 9110 tni_flow_id_v = (const char *)nvgre_v->tni; in flow_dv_translate_item_nvgre() 9111 size = sizeof(nvgre_m->tni) + sizeof(nvgre_m->flow_id); in flow_dv_translate_item_nvgre()
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | rte_flow.rst | 1086 - ``tni``: virtual subnet ID.
|