Searched refs:tunnel_dev (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun.h | 35 int (*init_encap_attr)(struct net_device *tunnel_dev, 62 struct mlx5e_tc_tunnel *mlx5e_get_tc_tun(struct net_device *tunnel_dev); 64 int mlx5e_tc_tun_init_encap_attr(struct net_device *tunnel_dev,
|
D | tc_tun.c | 38 struct mlx5e_tc_tunnel *mlx5e_get_tc_tun(struct net_device *tunnel_dev) in mlx5e_get_tc_tun() argument 40 if (netif_is_vxlan(tunnel_dev)) in mlx5e_get_tc_tun() 42 else if (netif_is_geneve(tunnel_dev)) in mlx5e_get_tc_tun() 44 else if (netif_is_gretap(tunnel_dev) || in mlx5e_get_tc_tun() 45 netif_is_ip6gretap(tunnel_dev)) in mlx5e_get_tc_tun() 47 else if (netif_is_bareudp(tunnel_dev)) in mlx5e_get_tc_tun() 785 int mlx5e_tc_tun_init_encap_attr(struct net_device *tunnel_dev, in mlx5e_tc_tun_init_encap_attr() argument 790 struct mlx5e_tc_tunnel *tunnel = mlx5e_get_tc_tun(tunnel_dev); in mlx5e_tc_tun_init_encap_attr() 797 return tunnel->init_encap_attr(tunnel_dev, priv, e, extack); in mlx5e_tc_tun_init_encap_attr()
|
D | tc_tun_encap.c | 1490 struct net_device *tunnel_dev, in mlx5e_reoffload_encap() argument 1499 mlx5e_tc_tun_update_header_ipv4(priv, tunnel_dev, e) : in mlx5e_reoffload_encap() 1500 mlx5e_tc_tun_update_header_ipv6(priv, tunnel_dev, e); in mlx5e_reoffload_encap() 1583 struct net_device *tunnel_dev; in mlx5e_update_route_encaps() local 1586 tunnel_dev = __dev_get_by_index(dev_net(priv->netdev), r->tunnel_dev_index); in mlx5e_update_route_encaps() 1587 if (!tunnel_dev) in mlx5e_update_route_encaps() 1605 mlx5e_reoffload_encap(priv, tunnel_dev, e, &encap_flows); in mlx5e_update_route_encaps() 1665 struct net_device *tunnel_dev; in mlx5e_update_route_decap_flows() local 1668 tunnel_dev = __dev_get_by_index(dev_net(priv->netdev), r->tunnel_dev_index); in mlx5e_update_route_decap_flows() 1669 if (!tunnel_dev) in mlx5e_update_route_decap_flows()
|
D | tc_tun_gre.c | 17 static int mlx5e_tc_tun_init_encap_attr_gretap(struct net_device *tunnel_dev, in mlx5e_tc_tun_init_encap_attr_gretap() argument
|
D | tc_tun_mplsoudp.c | 18 static int init_encap_attr(struct net_device *tunnel_dev, in init_encap_attr() argument
|
D | tc_tun_vxlan.c | 61 static int mlx5e_tc_tun_init_encap_attr_vxlan(struct net_device *tunnel_dev, in mlx5e_tc_tun_init_encap_attr_vxlan() argument
|
D | tc_tun_geneve.c | 64 static int mlx5e_tc_tun_init_encap_attr_geneve(struct net_device *tunnel_dev, in mlx5e_tc_tun_init_encap_attr_geneve() argument
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_tc_lib.c | 642 static int ice_tc_tun_get_type(struct net_device *tunnel_dev) in ice_tc_tun_get_type() argument 644 if (netif_is_vxlan(tunnel_dev)) in ice_tc_tun_get_type() 646 if (netif_is_geneve(tunnel_dev)) in ice_tc_tun_get_type() 648 if (netif_is_gretap(tunnel_dev) || in ice_tc_tun_get_type() 649 netif_is_ip6gretap(tunnel_dev)) in ice_tc_tun_get_type() 655 if (netif_is_gtp(tunnel_dev)) in ice_tc_tun_get_type() 657 if (netif_is_pfcp(tunnel_dev)) in ice_tc_tun_get_type() 1476 struct net_device *tunnel_dev; in ice_parse_cls_flower() local 1503 tunnel_dev = ice_get_tunnel_device(filter_dev, rule); in ice_parse_cls_flower() 1504 if (tunnel_dev) { in ice_parse_cls_flower() [all …]
|
/linux-6.12.1/net/ipv4/ |
D | ipmr.c | 444 struct net_device *tunnel_dev, *new_dev; in ipmr_new_tunnel() local 448 tunnel_dev = __dev_get_by_name(net, "tunl0"); in ipmr_new_tunnel() 449 if (!tunnel_dev) in ipmr_new_tunnel() 459 if (!tunnel_dev->netdev_ops->ndo_tunnel_ctl) in ipmr_new_tunnel() 461 err = tunnel_dev->netdev_ops->ndo_tunnel_ctl(tunnel_dev, &p, in ipmr_new_tunnel() 479 tunnel_dev->netdev_ops->ndo_tunnel_ctl(tunnel_dev, &p, in ipmr_new_tunnel()
|