Home
last modified time | relevance | path

Searched refs:out_dev (Results 1 – 25 of 59) sorted by relevance

123

/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dmirred.c16 same_vf_reps(struct mlx5e_priv *priv, struct net_device *out_dev) in same_vf_reps() argument
19 priv->netdev == out_dev; in same_vf_reps()
25 struct net_device *out_dev, in verify_uplink_forwarding() argument
42 mlx5e_eswitch_uplink_rep(out_dev))) in verify_uplink_forwarding()
50 } else if (out_dev != rep_priv->netdev) { in verify_uplink_forwarding()
60 struct net_device *out_dev, in is_duplicated_output_device() argument
67 if (ifindexes[i] == out_dev->ifindex) { in is_duplicated_output_device()
70 out_dev->name); in is_duplicated_output_device()
79 get_fdb_out_dev(struct net_device *uplink_dev, struct net_device *out_dev) in get_fdb_out_dev() argument
81 struct net_device *fdb_out_dev = out_dev; in get_fdb_out_dev()
[all …]
Dredirect_ingress.c15 struct net_device *out_dev = act->dev; in tc_act_can_offload_redirect_ingress() local
21 if (!out_dev) in tc_act_can_offload_redirect_ingress()
24 if (!netif_is_ovs_master(out_dev)) { in tc_act_can_offload_redirect_ingress()
58 struct net_device *out_dev = act->dev; in tc_act_parse_redirect_ingress() local
63 err = mlx5e_set_fwd_to_int_port_actions(priv, attr, out_dev->ifindex, in tc_act_parse_redirect_ingress()
Dmirred_nic.c15 struct net_device *out_dev = act->dev; in tc_act_can_offload_mirred_nic() local
21 if (priv->netdev->netdev_ops != out_dev->netdev_ops || in tc_act_can_offload_mirred_nic()
22 !mlx5e_same_hw_devs(priv, netdev_priv(out_dev))) { in tc_act_can_offload_mirred_nic()
28 out_dev->name); in tc_act_can_offload_mirred_nic()
Dvlan.c111 struct net_device **out_dev, in mlx5e_tc_act_vlan_add_push_action() argument
114 struct net_device *vlan_dev = *out_dev; in mlx5e_tc_act_vlan_add_push_action()
128 *out_dev = dev_get_by_index_rcu(dev_net(vlan_dev), dev_get_iflink(vlan_dev)); in mlx5e_tc_act_vlan_add_push_action()
130 if (!*out_dev) in mlx5e_tc_act_vlan_add_push_action()
133 if (is_vlan_dev(*out_dev)) in mlx5e_tc_act_vlan_add_push_action()
134 err = mlx5e_tc_act_vlan_add_push_action(priv, attr, out_dev, extack); in mlx5e_tc_act_vlan_add_push_action()
Dvlan.h15 struct net_device **out_dev,
/Linux-v6.1/net/mpls/
Dmpls_iptunnel.c40 struct net_device *out_dev; in mpls_xmit() local
55 out_dev = dst->dev; in mpls_xmit()
56 net = dev_net(out_dev); in mpls_xmit()
60 if (!mpls_output_possible(out_dev) || in mpls_xmit()
102 mtu = mpls_dev_mtu(out_dev); in mpls_xmit()
106 hh_len = LL_RESERVED_SPACE(out_dev); in mpls_xmit()
107 if (!out_dev->header_ops) in mpls_xmit()
121 skb->dev = out_dev; in mpls_xmit()
133 mpls_stats_inc_outucastpkts(out_dev, skb); in mpls_xmit()
137 err = neigh_xmit(NEIGH_ND_TABLE, out_dev, &rt->rt_gw6, in mpls_xmit()
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c18 struct net_device *out_dev; member
56 struct net_device **out_dev) in get_route_and_out_devs() argument
89 *out_dev = uplink_dev; in get_route_and_out_devs()
92 *out_dev = *route_dev; in get_route_and_out_devs()
96 if (!(mlx5e_eswitch_rep(*out_dev) && in get_route_and_out_devs()
97 mlx5e_is_uplink_rep(netdev_priv(*out_dev)))) in get_route_and_out_devs()
100 if (mlx5e_eswitch_uplink_rep(priv->netdev) && *out_dev != priv->netdev) in get_route_and_out_devs()
111 struct net_device *out_dev; in mlx5e_route_lookup_ipv4_get() local
149 ret = get_route_and_out_devs(priv, rt->dst.dev, &route_dev, &out_dev); in mlx5e_route_lookup_ipv4_get()
164 attr->out_dev = out_dev; in mlx5e_route_lookup_ipv4_get()
[all …]
Dtc_tun_encap.c24 route_dev = dev_get_by_index(dev_net(e->out_dev), e->route_dev_ifindex); in mlx5e_set_int_port_tunnel()
335 mlx5e_encap_put(netdev_priv(e->out_dev), e); in mlx5e_get_next_matching_encap()
398 struct mlx5e_priv *priv = netdev_priv(e->out_dev); in mlx5e_tc_update_neigh_used_value()
453 mlx5e_rep_encap_entry_detach(netdev_priv(e->out_dev), e); in mlx5e_encap_dealloc()
661 struct net_device *out_dev, in mlx5e_set_vf_tunnel() argument
671 route_dev = dev_get_by_index(dev_net(out_dev), route_dev_ifindex); in mlx5e_set_vf_tunnel()
674 !mlx5e_tc_is_vf_tunnel(out_dev, route_dev)) in mlx5e_set_vf_tunnel()
677 err = mlx5e_tc_query_route_vport(out_dev, route_dev, &vport_num); in mlx5e_set_vf_tunnel()
703 struct net_device *out_dev, in mlx5e_update_vf_tunnel() argument
713 route_dev = dev_get_by_index(dev_net(out_dev), route_dev_ifindex); in mlx5e_update_vf_tunnel()
[all …]
/Linux-v6.1/net/phonet/
Daf_phonet.c415 struct net_device *out_dev; in phonet_rcv() local
417 out_dev = phonet_route_output(net, pn_sockaddr_get_addr(&sa)); in phonet_rcv()
418 if (!out_dev) { in phonet_rcv()
425 skb->dev = out_dev; in phonet_rcv()
426 if (out_dev == dev) { in phonet_rcv()
430 goto out_dev; in phonet_rcv()
433 if (skb_cow_head(skb, out_dev->hard_header_len)) in phonet_rcv()
434 goto out_dev; in phonet_rcv()
436 if (dev_hard_header(skb, out_dev, ETH_P_PHONET, NULL, NULL, in phonet_rcv()
438 goto out_dev; in phonet_rcv()
[all …]
/Linux-v6.1/net/ieee802154/
Dnl-phy.c96 goto out_dev; in ieee802154_list_phy()
108 out_dev: in ieee802154_list_phy()
201 goto out_dev; in ieee802154_add_iface()
261 out_dev: in ieee802154_add_iface()
304 goto out_dev; in ieee802154_del_iface()
308 goto out_dev; in ieee802154_del_iface()
312 goto out_dev; in ieee802154_del_iface()
320 goto out_dev; in ieee802154_del_iface()
340 out_dev: in ieee802154_del_iface()
/Linux-v6.1/net/ethtool/
Drings.c153 goto out_dev; in ethnl_set_rings()
161 goto out_dev; in ethnl_set_rings()
170 goto out_dev; in ethnl_set_rings()
179 goto out_dev; in ethnl_set_rings()
232 out_dev: in ethnl_set_rings()
Ddebug.c104 goto out_dev; in ethnl_set_debug()
125 out_dev: in ethnl_set_debug()
Dlinkinfo.c118 goto out_dev; in ethnl_set_linkinfo()
151 out_dev: in ethnl_set_linkinfo()
Dwol.c124 goto out_dev; in ethnl_set_wol()
167 out_dev: in ethnl_set_wol()
Dpause.c159 goto out_dev; in ethnl_set_pause()
183 out_dev: in ethnl_set_pause()
Dprivflags.c171 goto out_dev; in ethnl_set_privflags()
198 out_dev: in ethnl_set_privflags()
Deee.c154 goto out_dev; in ethnl_set_eee()
187 out_dev: in ethnl_set_eee()
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/flower/
Daction.c139 struct net_device *out_dev; in nfp_fl_pre_lag() local
142 out_dev = act->dev; in nfp_fl_pre_lag()
143 if (!out_dev || !netif_is_lag_master(out_dev)) in nfp_fl_pre_lag()
159 err = nfp_flower_lag_populate_pre_action(app, out_dev, pre_lag, extack); in nfp_fl_pre_lag()
181 struct net_device *out_dev; in nfp_fl_output() local
187 out_dev = act->dev; in nfp_fl_output()
188 if (!out_dev) { in nfp_fl_output()
197 if (!nfp_fl_netdev_is_tunnel_type(out_dev, tun_type)) { in nfp_fl_output()
211 } else if (netif_is_lag_master(out_dev) && in nfp_fl_output()
216 gid = nfp_flower_lag_get_output_id(app, out_dev); in nfp_fl_output()
[all …]
/Linux-v6.1/arch/mips/kernel/
Dvpe-cmp.c134 goto out_dev; in vpe_module_init()
143 goto out_dev; in vpe_module_init()
156 out_dev: in vpe_module_init()
/Linux-v6.1/drivers/media/pci/mantis/
Dmantis_input.c59 goto out_dev; in mantis_input_init()
65 out_dev: in mantis_input_init()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dmpesw.c99 int mlx5_lag_do_mirred(struct mlx5_core_dev *mdev, struct net_device *out_dev) in mlx5_lag_do_mirred() argument
103 if (!netif_is_bond_master(out_dev) || !ldev) in mlx5_lag_do_mirred()
Dmpesw.h15 int mlx5_lag_do_mirred(struct mlx5_core_dev *mdev, struct net_device *out_dev);
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.h254 struct net_device *out_dev);
314 bool mlx5e_tc_is_vf_tunnel(struct net_device *out_dev, struct net_device *route_dev);
315 int mlx5e_tc_query_route_vport(struct net_device *out_dev, struct net_device *route_dev,
/Linux-v6.1/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_actions.h25 const struct net_device *out_dev,
66 const struct net_device *out_dev,
/Linux-v6.1/drivers/edac/
Dqcom_edac.c373 goto out_dev; in qcom_llcc_edac_probe()
378 goto out_dev; in qcom_llcc_edac_probe()
382 out_dev: in qcom_llcc_edac_probe()

123