| /linux/drivers/thunderbolt/ |
| H A D | tunnel.c | 181 struct tb_tunnel *tunnel; in tb_tunnel_alloc() local 183 tunnel = kzalloc(sizeof(*tunnel), GFP_KERNEL); in tb_tunnel_alloc() 184 if (!tunnel) in tb_tunnel_alloc() 187 tunnel->paths = kcalloc(npaths, sizeof(tunnel->paths[0]), GFP_KERNEL); in tb_tunnel_alloc() 188 if (!tunnel->paths) { in tb_tunnel_alloc() 189 kfree(tunnel); in tb_tunnel_alloc() 193 INIT_LIST_HEAD(&tunnel->list); in tb_tunnel_alloc() 194 tunnel->tb = tb; in tb_tunnel_alloc() 195 tunnel->npaths = npaths; in tb_tunnel_alloc() 196 tunnel->type = type; in tb_tunnel_alloc() [all …]
|
| H A D | tb.c | 175 struct tb_tunnel *tunnel; in tb_discover_dp_resources() local 177 list_for_each_entry(tunnel, &tcm->tunnel_list, list) { in tb_discover_dp_resources() 178 if (tb_tunnel_is_dp(tunnel)) in tb_discover_dp_resources() 179 tb_discover_dp_resource(tb, tunnel->dst_port); in tb_discover_dp_resources() 188 const struct tb_tunnel *tunnel; in tb_enable_clx() local 211 list_for_each_entry(tunnel, &tcm->tunnel_list, list) { in tb_enable_clx() 212 if (tb_tunnel_is_dma(tunnel)) { in tb_enable_clx() 213 if (tb_tunnel_port_on_path(tunnel, tb_upstream_port(sw))) in tb_enable_clx() 281 static void tb_increase_tmu_accuracy(struct tb_tunnel *tunnel) in tb_increase_tmu_accuracy() argument 285 if (!tunnel) in tb_increase_tmu_accuracy() [all …]
|
| /linux/include/drm/display/ |
| H A D | drm_dp_tunnel.h | 24 struct drm_dp_tunnel *tunnel; member 31 drm_dp_tunnel_get(struct drm_dp_tunnel *tunnel, struct ref_tracker **tracker); 34 drm_dp_tunnel_put(struct drm_dp_tunnel *tunnel, struct ref_tracker **tracker); 36 static inline void drm_dp_tunnel_ref_get(struct drm_dp_tunnel *tunnel, in drm_dp_tunnel_ref_get() argument 39 tunnel_ref->tunnel = drm_dp_tunnel_get(tunnel, &tunnel_ref->tracker); in drm_dp_tunnel_ref_get() 44 drm_dp_tunnel_put(tunnel_ref->tunnel, &tunnel_ref->tracker); in drm_dp_tunnel_ref_put() 45 tunnel_ref->tunnel = NULL; in drm_dp_tunnel_ref_put() 51 int drm_dp_tunnel_destroy(struct drm_dp_tunnel *tunnel); 53 int drm_dp_tunnel_enable_bw_alloc(struct drm_dp_tunnel *tunnel); 54 int drm_dp_tunnel_disable_bw_alloc(struct drm_dp_tunnel *tunnel); [all …]
|
| /linux/net/l2tp/ |
| H A D | l2tp_core.c | 143 static void l2tp_tunnel_free(struct l2tp_tunnel *tunnel) in l2tp_tunnel_free() argument 145 struct sock *sk = tunnel->sock; in l2tp_tunnel_free() 147 trace_free_tunnel(tunnel); in l2tp_tunnel_free() 151 switch (tunnel->encap) { in l2tp_tunnel_free() 162 tunnel->sock = NULL; in l2tp_tunnel_free() 166 kfree_rcu(tunnel, rcu); in l2tp_tunnel_free() 172 if (session->tunnel) in l2tp_session_free() 173 l2tp_tunnel_put(session->tunnel); in l2tp_session_free() 181 struct l2tp_tunnel *tunnel; in l2tp_sk_to_tunnel() local 186 idr_for_each_entry_ul(&pn->l2tp_tunnel_idr, tunnel, tm in l2tp_sk_to_tunnel() 200 l2tp_tunnel_put(struct l2tp_tunnel * tunnel) l2tp_tunnel_put() argument 218 struct l2tp_tunnel *tunnel; l2tp_tunnel_get() local 235 struct l2tp_tunnel *tunnel = NULL; l2tp_tunnel_get_next() local 281 struct l2tp_tunnel *tunnel = READ_ONCE(session->tunnel); l2tp_v3_session_get() local 340 struct l2tp_tunnel *tunnel = READ_ONCE(session->tunnel); l2tp_v2_session_get_next() local 374 struct l2tp_tunnel *tunnel = READ_ONCE(session->tunnel); l2tp_v3_session_get_next() local 397 struct l2tp_tunnel *tunnel = READ_ONCE(session->tunnel); l2tp_v3_session_get_next() local 438 struct l2tp_tunnel *tunnel; l2tp_session_get_by_ifname() local 553 l2tp_session_register(struct l2tp_session * session,struct l2tp_tunnel * tunnel) l2tp_session_register() argument 657 struct l2tp_tunnel *tunnel = session->tunnel; l2tp_recv_dequeue_skb() local 868 struct l2tp_tunnel *tunnel = session->tunnel; l2tp_recv_common() local 1018 struct l2tp_tunnel *tunnel = NULL; l2tp_udp_encap_recv() local 1140 struct l2tp_tunnel *tunnel = session->tunnel; l2tp_build_l2tpv2_header() local 1167 struct l2tp_tunnel *tunnel = session->tunnel; l2tp_build_l2tpv3_header() local 1206 l2tp_xmit_queue(struct l2tp_tunnel * tunnel,struct sk_buff * skb,struct flowi * fl) l2tp_xmit_queue() argument 1224 struct l2tp_tunnel *tunnel = session->tunnel; l2tp_xmit_core() local 1346 struct l2tp_tunnel *tunnel = session->tunnel; l2tp_session_unhash() local 1380 l2tp_tunnel_closeall(struct l2tp_tunnel * tunnel) l2tp_tunnel_closeall() argument 1394 struct l2tp_tunnel *tunnel; l2tp_udp_encap_destroy() local 1403 l2tp_tunnel_remove(struct net * net,struct l2tp_tunnel * tunnel) l2tp_tunnel_remove() argument 1415 struct l2tp_tunnel *tunnel = container_of(work, struct l2tp_tunnel, l2tp_tunnel_del_work() local 1566 struct l2tp_tunnel *tunnel = NULL; l2tp_tunnel_create() local 1608 struct l2tp_tunnel *tunnel; l2tp_validate_socket() local 1635 l2tp_tunnel_register(struct l2tp_tunnel * tunnel,struct net * net,struct l2tp_tunnel_cfg * cfg) l2tp_tunnel_register() argument 1716 l2tp_tunnel_delete(struct l2tp_tunnel * tunnel) l2tp_tunnel_delete() argument 1773 l2tp_session_create(int priv_size,struct l2tp_tunnel * tunnel,u32 session_id,u32 peer_session_id,struct l2tp_session_cfg * cfg) l2tp_session_create() argument 1851 struct l2tp_tunnel *tunnel = NULL; l2tp_pre_exit_net() local [all...] |
| H A D | l2tp_ppp.c | 27 * zero, the socket is treated as a special tunnel management socket. 140 /* Helpers to obtain tunnel/session contexts from sockets. 256 struct l2tp_tunnel *tunnel; in pppol2tp_sendmsg() local 263 /* Get session and tunnel contexts */ in pppol2tp_sendmsg() 269 tunnel = session->tunnel; in pppol2tp_sendmsg() 271 uhlen = (tunnel->encap == L2TP_ENCAPTYPE_UDP) ? sizeof(struct udphdr) : 0; in pppol2tp_sendmsg() 333 struct l2tp_tunnel *tunnel; in pppol2tp_xmit() local 339 /* Get session and tunnel contexts from the socket */ in pppol2tp_xmit() 344 tunnel in pppol2tp_xmit() 615 pppol2tp_tunnel_mtu(const struct l2tp_tunnel * tunnel) pppol2tp_tunnel_mtu() argument 630 struct l2tp_tunnel *tunnel; pppol2tp_tunnel_get() local 694 struct l2tp_tunnel *tunnel; pppol2tp_connect() local 840 pppol2tp_session_create(struct net * net,struct l2tp_tunnel * tunnel,u32 session_id,u32 peer_session_id,struct l2tp_session_cfg * cfg) pppol2tp_session_create() argument 886 struct l2tp_tunnel *tunnel; pppol2tp_getname() local 1014 pppol2tp_tunnel_copy_stats(struct pppol2tp_ioc_stats * stats,struct l2tp_tunnel * tunnel) pppol2tp_tunnel_copy_stats() argument 1138 pppol2tp_tunnel_setsockopt(struct sock * sk,struct l2tp_tunnel * tunnel,int optname,int val) pppol2tp_tunnel_setsockopt() argument 1223 struct l2tp_tunnel *tunnel; pppol2tp_setsockopt() local 1263 pppol2tp_tunnel_getsockopt(struct sock * sk,struct l2tp_tunnel * tunnel,int optname,int * val) pppol2tp_tunnel_getsockopt() argument 1329 struct l2tp_tunnel *tunnel; pppol2tp_getsockopt() local 1393 struct l2tp_tunnel *tunnel; global() member 1490 struct l2tp_tunnel *tunnel = v; pppol2tp_seq_tunnel_show() local 1509 struct l2tp_tunnel *tunnel = session->tunnel; pppol2tp_seq_session_show() local [all...] |
| H A D | l2tp_debugfs.c | 37 unsigned long tkey; /* lookup key of current tunnel */ 39 struct l2tp_tunnel *tunnel; member 40 struct l2tp_session *session; /* NULL means get next tunnel */ 46 if (pd->tunnel) in l2tp_dfs_next_tunnel() 47 l2tp_tunnel_put(pd->tunnel); in l2tp_dfs_next_tunnel() 49 pd->tunnel = l2tp_tunnel_get_next(pd->net, &pd->tkey); in l2tp_dfs_next_tunnel() 59 pd->session = l2tp_session_get_next(pd->net, pd->tunnel->sock, in l2tp_dfs_next_session() 60 pd->tunnel->version, in l2tp_dfs_next_session() 61 pd->tunnel->tunnel_id, &pd->skey); in l2tp_dfs_next_session() 84 if (!pd->tunnel) in l2tp_dfs_seq_start() 125 struct l2tp_tunnel *tunnel = v; l2tp_dfs_seq_tunnel_show() local [all...] |
| H A D | l2tp_netlink.c | 38 int flags, struct l2tp_tunnel *tunnel, u8 cmd); 51 struct l2tp_tunnel *tunnel; in l2tp_nl_session_get() local 62 tunnel = l2tp_tunnel_get(net, tunnel_id); in l2tp_nl_session_get() 63 if (tunnel) { in l2tp_nl_session_get() 64 session = l2tp_session_get(net, tunnel->sock, tunnel->version, in l2tp_nl_session_get() 66 l2tp_tunnel_put(tunnel); in l2tp_nl_session_get() 105 struct l2tp_tunnel *tunnel, in l2tp_tunnel_notify() argument 116 NLM_F_ACK, tunnel, cmd); in l2tp_tunnel_notify() 193 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_create() local 238 peer_tunnel_id, &cfg, &tunnel); in l2tp_nl_cmd_tunnel_create() [all …]
|
| H A D | trace.h | 28 TP_PROTO(struct l2tp_tunnel *tunnel), 29 TP_ARGS(tunnel), 34 memcpy(__entry->name, tunnel->name, L2TP_TUNNEL_NAME_MAX); 52 TP_PROTO(struct l2tp_tunnel *tunnel), 53 TP_ARGS(tunnel), 63 memcpy(__entry->name, tunnel->name, L2TP_TUNNEL_NAME_MAX); 64 __entry->fd = tunnel->fd; 65 __entry->tid = tunnel->tunnel_id; 66 __entry->ptid = tunnel->peer_tunnel_id; 67 __entry->version = tunnel->version; [all …]
|
| H A D | l2tp_core.h | 71 struct l2tp_tunnel *tunnel; /* back pointer to tunnel context */ member 194 int (*session_create)(struct net *net, struct l2tp_tunnel *tunnel, 212 void l2tp_tunnel_put(struct l2tp_tunnel *tunnel); 238 int l2tp_tunnel_register(struct l2tp_tunnel *tunnel, struct net *net, 240 void l2tp_tunnel_delete(struct l2tp_tunnel *tunnel); 243 struct l2tp_tunnel *tunnel, 247 struct l2tp_tunnel *tunnel); 287 static inline u32 l2tp_tunnel_dst_mtu(const struct l2tp_tunnel *tunnel) in l2tp_tunnel_dst_mtu() argument 292 dst = sk_dst_get(tunnel->sock); in l2tp_tunnel_dst_mtu() 303 static inline bool l2tp_tunnel_uses_xfrm(const struct l2tp_tunnel *tunnel) in l2tp_tunnel_uses_xfrm() argument [all …]
|
| H A D | l2tp_eth.c | 185 static void l2tp_eth_adjust_mtu(struct l2tp_tunnel *tunnel, in l2tp_eth_adjust_mtu() argument 194 if (tunnel->encap == L2TP_ENCAPTYPE_UDP) { in l2tp_eth_adjust_mtu() 199 lock_sock(tunnel->sock); in l2tp_eth_adjust_mtu() 200 l3_overhead = kernel_sock_ip_overhead(tunnel->sock); in l2tp_eth_adjust_mtu() 201 release_sock(tunnel->sock); in l2tp_eth_adjust_mtu() 216 mtu = l2tp_tunnel_dst_mtu(tunnel) - overhead; in l2tp_eth_adjust_mtu() 225 static int l2tp_eth_create(struct net *net, struct l2tp_tunnel *tunnel, in l2tp_eth_create() argument 245 session = l2tp_session_create(sizeof(*spriv), tunnel, session_id, in l2tp_eth_create() 262 l2tp_eth_adjust_mtu(tunnel, session, dev); in l2tp_eth_create() 282 rc = l2tp_session_register(session, tunnel); in l2tp_eth_create()
|
| H A D | Kconfig | 20 L2TP is often used to tunnel PPP traffic over IP 21 tunnels. One IP tunnel may carry thousands of individual PPP 30 userland daemon handles L2TP the control protocol (tunnel 68 tunnel raw ethernet frames using L2TP, say Y here. If 80 userspace L2TPv3 daemons may create L2TP/IP tunnel sockets
|
| H A D | l2tp_ip6.c | 144 struct l2tp_tunnel *tunnel = NULL; in l2tp_ip6_recv() local 172 tunnel = session->tunnel; in l2tp_ip6_recv() 173 if (!tunnel) in l2tp_ip6_recv() 270 struct l2tp_tunnel *tunnel; in l2tp_ip6_destroy_sock() local 276 tunnel = l2tp_sk_to_tunnel(sk); in l2tp_ip6_destroy_sock() 277 if (tunnel) { in l2tp_ip6_destroy_sock() 278 l2tp_tunnel_delete(tunnel); in l2tp_ip6_destroy_sock() 279 l2tp_tunnel_put(tunnel); in l2tp_ip6_destroy_sock() 515 /* Userspace will call sendmsg() on the tunnel socke [all...] |
| /linux/net/ipv4/ |
| H A D | ip_tunnel.c | 238 struct ip_tunnel *tunnel; in __ip_tunnel_create() local 264 tunnel = netdev_priv(dev); in __ip_tunnel_create() 265 tunnel->parms = *parms; in __ip_tunnel_create() 266 tunnel->net = net; in __ip_tunnel_create() 283 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_bind_dev() local 287 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ip_tunnel_bind_dev() 289 iph = &tunnel->parms.iph; in ip_tunnel_bind_dev() 297 iph->saddr, tunnel->parms.o_key, in ip_tunnel_bind_dev() 298 iph->tos & INET_DSCP_MASK, tunnel->net, in ip_tunnel_bind_dev() 299 tunnel->parms.link, tunnel->fwmark, 0, 0); in ip_tunnel_bind_dev() [all …]
|
| H A D | ip_gre.c | 275 struct ip_tunnel *tunnel; in erspan_rcv() local 288 tunnel = ip_tunnel_lookup(itn, skb->dev->ifindex, flags, in erspan_rcv() 299 tunnel = ip_tunnel_lookup(itn, skb->dev->ifindex, flags, in erspan_rcv() 303 if (tunnel) { in erspan_rcv() 318 if (tunnel->collect_md) { in erspan_rcv() 356 ip_tunnel_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error); in erspan_rcv() 371 struct ip_tunnel *tunnel; in __ipgre_rcv() local 374 tunnel = ip_tunnel_lookup(itn, skb->dev->ifindex, tpi->flags, in __ipgre_rcv() 377 if (tunnel) { in __ipgre_rcv() 387 if (tunnel->dev->header_ops == &ipgre_header_ops) in __ipgre_rcv() [all …]
|
| H A D | ipip.c | 22 /* tunnel.c: an IP tunnel driver 24 The purpose of this driver is to provide an IP tunnel through 25 which you can tunnel network traffic transparently across subnets. 36 Made the tunnels use dev->name not tunnel: when error reporting. 42 Changed to tunnel to destination gateway in addition to the 43 tunnel's pointopoint address 51 /* Things I wish I had known when writing the tunnel driver: 55 contains the tunnel device that _we_ are. 204 /* no tunnel inf 221 struct ip_tunnel *tunnel; ipip_tunnel_rcv() local 285 struct ip_tunnel *tunnel = netdev_priv(dev); ipip_tunnel_xmit() local 391 struct ip_tunnel *tunnel = netdev_priv(dev); ipip_tunnel_init() local 524 struct ip_tunnel *tunnel = netdev_priv(dev); ipip_fill_info() local [all...] |
| H A D | ip_vti.c | 50 struct ip_tunnel *tunnel; in vti_input() local 58 tunnel = ip_tunnel_lookup(itn, skb->dev->ifindex, flags, in vti_input() 60 if (tunnel) { in vti_input() 64 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4 = tunnel; in vti_input() 67 skb->dev = tunnel->dev; in vti_input() 103 struct ip_tunnel *tunnel = XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4; in vti_rcv_cb() local 107 if (!tunnel) in vti_rcv_cb() 110 dev = tunnel->dev; in vti_rcv_cb() 134 skb->mark = be32_to_cpu(tunnel->parms.i_key); in vti_rcv_cb() 141 skb_scrub_packet(skb, !net_eq(tunnel->net, dev_net(skb->dev))); in vti_rcv_cb() [all …]
|
| /linux/Documentation/networking/ |
| H A D | l2tp.rst | 27 An L2TP tunnel carries one or more L2TP sessions. Each tunnel is 30 to/from L2TP. Fields in the L2TP header identify the tunnel or session 40 1) Create a tunnel socket. Exchange L2TP control protocol messages 41 with the peer over that socket in order to establish a tunnel. 43 2) Create a tunnel context in the kernel, using information 47 tunnel socket in order to establish a session. 62 To create a tunnel socket for use by L2TP, the standard POSIX 65 For example, for a tunnel using IPv4 addresses and UDP encapsulation:: 69 Or for a tunnel using IPv6 addresses and IP encapsulation:: 78 `include/uapi/linux/l2tp.h`_. The address includes the L2TP tunnel [all …]
|
| H A D | bareudp.rst | 11 The Bareudp tunnel module provides a generic L3 encapsulation support for 12 tunnelling different L3 protocols like MPLS, IP, NSH etc. inside a UDP tunnel. 31 This creates a bareudp tunnel device which tunnels L3 traffic with ethertype 45 For an IPv4 tunnel the multiproto mode allows the tunnel to also handle 50 For MPLS, the multiproto mode allows the tunnel to handle both unicast 56 The OVS or TC flower layer must set the tunnel information in the SKB dst field before 58 bareUDP device extracts and stores the tunnel information in the SKB dst field before
|
| H A D | gtp.rst | 12 of a GTP tunnel endpoint. 24 such a tunnel between that external data network and the phone. The 25 tunnel endpoints thus reside on the phone and in the gateway. All 35 is translated into GTP *without breaking the end-to-end tunnel*. So 39 or P-GW (LTE), which terminates the tunnel, decapsulates the packet 53 The module implements the function of a tunnel endpoint, i.e. it is 70 to handle the tunnel establishment, authentication etc. and only the 159 Local GTP-U entity and tunnel identification 169 A specific tunnel is only defined by the destination entity. Since the 171 a tunnel. The source IP and Port have no meaning for the tunnel. [all …]
|
| /linux/net/ipv6/ |
| H A D | ip6_gre.c | 460 struct ip6_tnl *tunnel; in ip6gre_rcv() local 463 tunnel = ip6gre_tunnel_lookup(skb->dev, in ip6gre_rcv() 466 if (tunnel) { in ip6gre_rcv() 467 if (tunnel->parms.collect_md) { in ip6gre_rcv() 479 ip6_tnl_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error); in ip6gre_rcv() 481 ip6_tnl_rcv(tunnel, skb, tpi, NULL, log_ecn_error); in ip6gre_rcv() 497 struct ip6_tnl *tunnel; in ip6erspan_rcv() local 507 tunnel = ip6gre_tunnel_lookup(skb->dev, in ip6erspan_rcv() 510 if (tunnel) { in ip6erspan_rcv() 521 if (tunnel->parms.collect_md) { in ip6erspan_rcv() [all …]
|
| H A D | ip6_tunnel.c | 793 static int __ip6_tnl_rcv(struct ip6_tnl *tunnel, struct sk_buff *skb, in __ip6_tnl_rcv() argument 804 if (test_bit(IP_TUNNEL_CSUM_BIT, tunnel->parms.i_flags) != in __ip6_tnl_rcv() 806 DEV_STATS_INC(tunnel->dev, rx_crc_errors); in __ip6_tnl_rcv() 807 DEV_STATS_INC(tunnel->dev, rx_errors); in __ip6_tnl_rcv() 811 if (test_bit(IP_TUNNEL_SEQ_BIT, tunnel->parms.i_flags)) { in __ip6_tnl_rcv() 813 (tunnel->i_seqno && in __ip6_tnl_rcv() 814 (s32)(ntohl(tpi->seq) - tunnel->i_seqno) < 0)) { in __ip6_tnl_rcv() 815 DEV_STATS_INC(tunnel->dev, rx_fifo_errors); in __ip6_tnl_rcv() 816 DEV_STATS_INC(tunnel->dev, rx_errors); in __ip6_tnl_rcv() 819 tunnel->i_seqno = ntohl(tpi->seq) + 1; in __ip6_tnl_rcv() [all …]
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | with_tunnels.sh | |
| /linux/tools/testing/selftests/net/ |
| H A D | vrf-xfrm-tests.sh | 218 tmpl src ${HOST1_4} dst ${HOST2_4} proto esp mode tunnel 223 tmpl src ${HOST1_4} dst ${HOST2_4} proto esp mode tunnel 228 tmpl src ${HOST2_4} dst ${HOST1_4} proto esp mode tunnel 233 tmpl src ${HOST2_4} dst ${HOST1_4} proto esp mode tunnel 239 tmpl src ${HOST1_6} dst ${HOST2_6} proto esp mode tunnel 244 tmpl src ${HOST1_6} dst ${HOST2_6} proto esp mode tunnel 249 tmpl src ${HOST2_6} dst ${HOST1_6} proto esp mode tunnel 254 tmpl src ${HOST2_6} dst ${HOST1_6} proto esp mode tunnel 260 proto esp spi ${SPI_1} reqid 0 mode tunnel \ 267 proto esp spi ${SPI_1} reqid 0 mode tunnel \ [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
| H A D | port_sel.c | 201 enum mlx5_traffic_types tt, bool tunnel, in mlx5_lag_set_definer() argument 207 if (tunnel) in mlx5_lag_set_definer() 299 enum mlx5_traffic_types tt, bool tunnel, u8 *ports) in mlx5_lag_create_definer() argument 323 format_id = mlx5_lag_set_definer(match_definer_mask, tt, tunnel, hash); in mlx5_lag_create_definer() 404 if (!port_sel->tunnel) in mlx5_lag_create_definers() 427 port_sel->tunnel = false; in set_tt_map() 431 port_sel->tunnel = true; in set_tt_map() 443 port_sel->tunnel = true; in set_tt_map() 501 ttc_params->inner_ttc = port_sel->tunnel; in mlx5_lag_set_outer_ttc_params() 502 if (!port_sel->tunnel) in mlx5_lag_set_outer_ttc_params() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
| H A D | tun.c | 14 if (!act->tunnel) { in tc_act_can_offload_tun_encap() 29 parse_state->tun_info = act->tunnel; in tc_act_parse_tun_encap()
|