Home
last modified time | relevance | path

Searched refs:tunnel_dev (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun.h35 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,
H A Dtc_tun_gre.c17 static int mlx5e_tc_tun_init_encap_attr_gretap(struct net_device *tunnel_dev, in mlx5e_tc_tun_init_encap_attr_gretap() argument
H A Dtc_tun_mplsoudp.c18 static int init_encap_attr(struct net_device *tunnel_dev, in init_encap_attr() argument
H A Dtc_tun_vxlan.c61 static int mlx5e_tc_tun_init_encap_attr_vxlan(struct net_device *tunnel_dev, in mlx5e_tc_tun_init_encap_attr_vxlan() argument
H A Dtc_tun_geneve.c64 static int mlx5e_tc_tun_init_encap_attr_geneve(struct net_device *tunnel_dev, in mlx5e_tc_tun_init_encap_attr_geneve() argument
/linux/drivers/net/ethernet/intel/ice/
H A Dice_tc_lib.c639 static int ice_tc_tun_get_type(struct net_device *tunnel_dev) in ice_tc_tun_get_type() argument
641 if (netif_is_vxlan(tunnel_dev)) in ice_tc_tun_get_type()
643 if (netif_is_geneve(tunnel_dev)) in ice_tc_tun_get_type()
645 if (netif_is_gretap(tunnel_dev) || in ice_tc_tun_get_type()
646 netif_is_ip6gretap(tunnel_dev)) in ice_tc_tun_get_type()
652 if (netif_is_gtp(tunnel_dev)) in ice_tc_tun_get_type()
654 if (netif_is_pfcp(tunnel_dev)) in ice_tc_tun_get_type()
1645 struct net_device *tunnel_dev; in ice_parse_cls_flower() local
1672 tunnel_dev = ice_get_tunnel_device(filter_dev, rule); in ice_parse_cls_flower()
1673 if (tunnel_dev) { in ice_parse_cls_flower()
[all …]
/linux/net/ipv4/
H A Dipmr.c480 struct net_device *tunnel_dev, *new_dev; in ipmr_new_tunnel() local
484 tunnel_dev = __dev_get_by_name(net, "tunl0"); in ipmr_new_tunnel()
485 if (!tunnel_dev) in ipmr_new_tunnel()
495 if (!tunnel_dev->netdev_ops->ndo_tunnel_ctl) in ipmr_new_tunnel()
497 err = tunnel_dev->netdev_ops->ndo_tunnel_ctl(tunnel_dev, &p, in ipmr_new_tunnel()
515 tunnel_dev->netdev_ops->ndo_tunnel_ctl(tunnel_dev, &p, in ipmr_new_tunnel()