| /f-stack/dpdk/drivers/net/qede/ |
| H A D | qede_main.c | 361 struct ecore_tunnel_info *tun = &edev->tunnel; in qed_fill_dev_info() local 365 if (tun->vxlan.tun_cls == ECORE_TUNN_CLSS_MAC_VLAN && in qed_fill_dev_info() 366 tun->vxlan.b_mode_enabled) in qed_fill_dev_info() 369 if (tun->l2_gre.b_mode_enabled && tun->ip_gre.b_mode_enabled && in qed_fill_dev_info() 370 tun->l2_gre.tun_cls == ECORE_TUNN_CLSS_MAC_VLAN && in qed_fill_dev_info() 371 tun->ip_gre.tun_cls == ECORE_TUNN_CLSS_MAC_VLAN) in qed_fill_dev_info() 374 if (tun->l2_geneve.b_mode_enabled && tun->ip_geneve.b_mode_enabled && in qed_fill_dev_info() 375 tun->l2_geneve.tun_cls == ECORE_TUNN_CLSS_MAC_VLAN && in qed_fill_dev_info() 376 tun->ip_geneve.tun_cls == ECORE_TUNN_CLSS_MAC_VLAN) in qed_fill_dev_info()
|
| /f-stack/dpdk/lib/librte_ipsec/ |
| H A D | sa.c | 193 if (prm->tun.next_proto == IPPROTO_IPIP) in fill_sa_type() 195 else if (prm->tun.next_proto == IPPROTO_IPV6) in fill_sa_type() 274 sa->proto = prm->tun.next_proto; in esp_inb_tun_init() 337 sa->proto = prm->tun.next_proto; in esp_outb_tun_init() 338 sa->hdr_len = prm->tun.hdr_len; in esp_outb_tun_init() 339 sa->hdr_l3_off = prm->tun.hdr_l3_off; in esp_outb_tun_init() 345 memcpy(sa->hdr, prm->tun.hdr, sa->hdr_len); in esp_outb_tun_init() 511 prm->tun.hdr_len > sizeof(sa->hdr)) in rte_ipsec_sa_init()
|
| H A D | rte_ipsec_sa.h | 44 } tun; /**< tunnel mode related parameters */ member
|
| /f-stack/dpdk/examples/ipsec-secgw/test/ |
| H A D | run_test.sh | 209 if [[ ${mixed} -ne 0 ]] && [[ "${i}" == tun* ]]; then 225 if [[ ${mixed} -ne 0 ]] && [[ "${i}" == tun* ]]; then
|
| /f-stack/freebsd/contrib/device-tree/Bindings/mmc/ |
| H A D | marvell,xenon-sdhci.txt | 70 - marvell,xenon-phy-nr-success-tun: 76 - marvell,xenon-phy-tun-step-divider: 87 - marvell,xenon-tun-count: 115 marvell,xenon-tun-count = <11>; 134 marvell,xenon-tun-count = <9>;
|
| /f-stack/dpdk/drivers/net/bnxt/ |
| H A D | bnxt_rxr.c | 332 int ip6, tun, type; in bnxt_init_ptype_table() local 346 tun = i & (RX_PKT_CMPL_FLAGS2_T_IP_CS_CALC >> 2); in bnxt_init_ptype_table() 349 if (!tun && !ip6) in bnxt_init_ptype_table() 351 else if (!tun && ip6) in bnxt_init_ptype_table() 353 else if (tun && !ip6) in bnxt_init_ptype_table() 360 if (tun) in bnxt_init_ptype_table() 366 if (tun) in bnxt_init_ptype_table() 372 if (tun) in bnxt_init_ptype_table()
|
| /f-stack/freebsd/contrib/device-tree/src/arm64/marvell/ |
| H A D | armada-3720-espressobin-emmc.dts | 31 marvell,xenon-tun-count = <9>;
|
| H A D | armada-3720-espressobin-v7-emmc.dts | 48 marvell,xenon-tun-count = <9>;
|
| /f-stack/dpdk/app/test/ |
| H A D | test_ipsec_perf.c | 161 prm->tun.hdr_len = sizeof(ipv4_outer); in fill_ipsec_param() 162 prm->tun.next_proto = IPPROTO_IPIP; in fill_ipsec_param() 163 prm->tun.hdr = &ipv4_outer; in fill_ipsec_param()
|
| H A D | test_ipsec.c | 700 prm->tun.hdr_len = sizeof(ipv4_outer); in fill_ipsec_param() 701 prm->tun.next_proto = IPPROTO_IPIP; in fill_ipsec_param() 702 prm->tun.hdr = &ipv4_outer; in fill_ipsec_param()
|
| /f-stack/dpdk/examples/ipsec-secgw/ |
| H A D | sa.c | 1296 prm->tun.hdr_len = sizeof(*v4); in fill_ipsec_sa_prm() 1297 prm->tun.next_proto = rc; in fill_ipsec_sa_prm() 1298 prm->tun.hdr = v4; in fill_ipsec_sa_prm() 1301 prm->tun.hdr_len = sizeof(*v6); in fill_ipsec_sa_prm() 1302 prm->tun.next_proto = rc; in fill_ipsec_sa_prm() 1303 prm->tun.hdr = v6; in fill_ipsec_sa_prm()
|
| /f-stack/dpdk/drivers/net/txgbe/ |
| H A D | txgbe_ptypes.h | 129 u32 tun:4; /* tunnel protocol */ member
|
| H A D | txgbe_rxtx.c | 501 bool tun; in tx_desc_ol_flags_to_ptid() local 507 tun = !!(oflags & PKT_TX_TUNNEL_MASK); in tx_desc_ol_flags_to_ptid() 521 ptype |= (tun ? RTE_PTYPE_INNER_L3_IPV4 : RTE_PTYPE_L3_IPV4); in tx_desc_ol_flags_to_ptid() 523 ptype |= (tun ? RTE_PTYPE_INNER_L3_IPV6 : RTE_PTYPE_L3_IPV6); in tx_desc_ol_flags_to_ptid() 528 ptype |= (tun ? RTE_PTYPE_INNER_L4_TCP : RTE_PTYPE_L4_TCP); in tx_desc_ol_flags_to_ptid() 531 ptype |= (tun ? RTE_PTYPE_INNER_L4_UDP : RTE_PTYPE_L4_UDP); in tx_desc_ol_flags_to_ptid() 534 ptype |= (tun ? RTE_PTYPE_INNER_L4_SCTP : RTE_PTYPE_L4_SCTP); in tx_desc_ol_flags_to_ptid() 539 ptype |= (tun ? RTE_PTYPE_INNER_L4_TCP : RTE_PTYPE_L4_TCP); in tx_desc_ol_flags_to_ptid()
|
| H A D | txgbe_ptypes.c | 33 #define TPTE(ptid, l2, l3, l4, tun, el2, el3, el4) \ argument 37 RTE_PTYPE_TUNNEL_##tun | \
|
| /f-stack/dpdk/drivers/net/ice/base/ |
| H A D | ice_fdir.h | 248 u8 *pkt, bool frag, bool tun);
|
| H A D | ice_fdir.c | 978 u8 *pkt, bool frag, bool tun) in ice_fdir_get_gen_prgm_pkt() argument 1024 if (!tun) { in ice_fdir_get_gen_prgm_pkt()
|
| /f-stack/dpdk/app/test-pmd/ |
| H A D | testpmd.h | 855 port_flow_locate_tunnel(uint16_t port_id, struct rte_flow_tunnel *tun);
|
| H A D | config.c | 1566 port_flow_locate_tunnel(uint16_t port_id, struct rte_flow_tunnel *tun) in port_flow_locate_tunnel() argument 1572 if (!memcmp(&flow_tunnel->tunnel, tun, sizeof(*tun))) in port_flow_locate_tunnel()
|
| /f-stack/freebsd/net/ |
| H A D | if_tuntap.c | 197 static SYSCTL_NODE(_net_link, OID_AUTO, tun, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
|
| /f-stack/freebsd/amd64/amd64/ |
| H A D | pmap.c | 576 int tun; in pmap_di_locked() local 580 tun = 0; in pmap_di_locked() 581 TUNABLE_INT_FETCH("vm.pmap.di_locked", &tun); in pmap_di_locked() 582 return (tun != 0); in pmap_di_locked()
|