/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | mirred.c | 16 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() 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() 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() 23 verify_uplink_forwarding(struct mlx5e_priv *priv, struct mlx5_flow_attr *attr, struct net_device *out_dev, struct netlink_ext_ack *extack) verify_uplink_forwarding() argument 59 is_duplicated_output_device(struct net_device *dev, struct net_device *out_dev, int *ifindexes, int if_count, struct netlink_ext_ack *extack) is_duplicated_output_device() argument 109 struct net_device *out_dev = act->dev; tc_act_can_offload_mirred() local 182 struct net_device *out_dev = act->dev; parse_mirred_encap() local 215 struct net_device *out_dev = act->dev; parse_mirred() local 289 struct net_device *out_dev = act->dev; parse_mirred_ovs_master() local 309 struct net_device *out_dev = act->dev; tc_act_parse_mirred() local [all...] |
H A D | redirect_ingress.c | 15 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()
|
H A D | mirred_nic.c | 15 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()
|
H A D | vlan.c | 94 struct net_device **out_dev, in mlx5e_tc_act_vlan_add_push_action() 97 struct net_device *vlan_dev = *out_dev; in mlx5e_tc_act_vlan_add_push_action() 111 *out_dev = dev_get_by_index_rcu(dev_net(vlan_dev), dev_get_iflink(vlan_dev)); in mlx5e_tc_act_vlan_add_push_action() 113 if (!*out_dev) in mlx5e_tc_act_vlan_add_push_action() 116 if (is_vlan_dev(*out_dev)) in mlx5e_tc_act_vlan_add_push_action() 117 err = mlx5e_tc_act_vlan_add_push_action(priv, attr, out_dev, extack); in mlx5e_tc_act_vlan_add_push_action() 92 mlx5e_tc_act_vlan_add_push_action(struct mlx5e_priv *priv, struct mlx5_flow_attr *attr, struct net_device **out_dev, struct netlink_ext_ack *extack) mlx5e_tc_act_vlan_add_push_action() argument
|
/kernel/linux/linux-5.10/net/mpls/ |
H A D | mpls_iptunnel.c | 40 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, in mpls_xmit() [all...] |
/kernel/linux/linux-6.6/net/mpls/ |
H A D | mpls_iptunnel.c | 40 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, in mpls_xmit() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun.c | 31 struct net_device **out_dev) in get_route_and_out_devs() 63 *out_dev = uplink_dev; in get_route_and_out_devs() 66 *out_dev = *route_dev; in get_route_and_out_devs() 70 if (!(mlx5e_eswitch_rep(*out_dev) && in get_route_and_out_devs() 71 mlx5e_is_uplink_rep(netdev_priv(*out_dev)))) in get_route_and_out_devs() 74 if (mlx5e_eswitch_uplink_rep(priv->netdev) && *out_dev != priv->netdev) in get_route_and_out_devs() 82 struct net_device **out_dev, in mlx5e_route_lookup_ipv4_get() 115 ret = get_route_and_out_devs(priv, rt->dst.dev, route_dev, out_dev); in mlx5e_route_lookup_ipv4_get() 191 struct net_device *out_dev, *route_dev; in mlx5e_tc_tun_create_header_ipv4() local 206 err = mlx5e_route_lookup_ipv4_get(priv, mirred_dev, &out_dev, in mlx5e_tc_tun_create_header_ipv4() 28 get_route_and_out_devs(struct mlx5e_priv *priv, struct net_device *dev, struct net_device **route_dev, struct net_device **out_dev) get_route_and_out_devs() argument 80 mlx5e_route_lookup_ipv4_get(struct mlx5e_priv *priv, struct net_device *mirred_dev, struct net_device **out_dev, struct net_device **route_dev, struct flowi4 *fl4, struct neighbour **out_n, u8 *out_ttl) mlx5e_route_lookup_ipv4_get() argument 304 mlx5e_route_lookup_ipv6_get(struct mlx5e_priv *priv, struct net_device *mirred_dev, struct net_device **out_dev, struct net_device **route_dev, struct flowi6 *fl6, struct neighbour **out_n, u8 *out_ttl) mlx5e_route_lookup_ipv6_get() argument 356 struct net_device *out_dev, *route_dev; mlx5e_tc_tun_create_header_ipv6() local [all...] |
/kernel/linux/linux-5.10/net/phonet/ |
H A D | af_phonet.c | 416 struct net_device *out_dev; in phonet_rcv() local 418 out_dev = phonet_route_output(net, pn_sockaddr_get_addr(&sa)); in phonet_rcv() 419 if (!out_dev) { in phonet_rcv() 426 skb->dev = out_dev; in phonet_rcv() 427 if (out_dev == dev) { in phonet_rcv() 431 goto out_dev; in phonet_rcv() 434 if (skb_cow_head(skb, out_dev->hard_header_len)) in phonet_rcv() 435 goto out_dev; in phonet_rcv() 437 if (dev_hard_header(skb, out_dev, ETH_P_PHONET, NULL, NULL, in phonet_rcv() 439 goto out_dev; in phonet_rcv() [all...] |
/kernel/linux/linux-6.6/net/phonet/ |
H A D | af_phonet.c | 415 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...] |
/kernel/linux/linux-5.10/net/ieee802154/ |
H A D | nl-phy.c | 96 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()
|
/kernel/linux/linux-6.6/net/ieee802154/ |
H A D | nl-phy.c | 96 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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun.c | 18 struct net_device *out_dev; member 56 struct net_device **out_dev) in get_route_and_out_devs() 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_uplink_rep(*out_dev)) in get_route_and_out_devs() 99 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() 53 get_route_and_out_devs(struct mlx5e_priv *priv, struct net_device *dev, struct net_device **route_dev, struct net_device **out_dev) get_route_and_out_devs() argument 449 struct net_device *out_dev; mlx5e_route_lookup_ipv6_get() local [all...] |
H A D | tc_tun_encap.c | 25 route_dev = dev_get_by_index(dev_net(e->out_dev), e->route_dev_ifindex); in mlx5e_set_int_port_tunnel() 28 attr->parse_attr->filter_dev == e->out_dev) in mlx5e_set_int_port_tunnel() 343 mlx5e_encap_put(netdev_priv(e->out_dev), e); in mlx5e_get_next_matching_encap() 406 struct mlx5e_priv *priv = netdev_priv(e->out_dev); in mlx5e_tc_update_neigh_used_value() 461 mlx5e_rep_encap_entry_detach(netdev_priv(e->out_dev), e); in mlx5e_encap_dealloc() 713 struct net_device *out_dev, in mlx5e_set_vf_tunnel() 723 route_dev = dev_get_by_index(dev_net(out_dev), route_dev_ifindex); in mlx5e_set_vf_tunnel() 726 !mlx5e_tc_is_vf_tunnel(out_dev, route_dev)) in mlx5e_set_vf_tunnel() 729 err = mlx5e_tc_query_route_vport(out_dev, route_dev, &vport_num); in mlx5e_set_vf_tunnel() 755 struct net_device *out_dev, in mlx5e_update_vf_tunnel() 710 mlx5e_set_vf_tunnel(struct mlx5_eswitch *esw, struct mlx5_flow_attr *attr, struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, struct net_device *out_dev, int route_dev_ifindex, int out_index) mlx5e_set_vf_tunnel() argument 752 mlx5e_update_vf_tunnel(struct mlx5_eswitch *esw, struct mlx5_esw_flow_attr *attr, struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts, struct net_device *out_dev, int route_dev_ifindex, int out_index) mlx5e_update_vf_tunnel() argument 1041 struct net_device *out_dev; mlx5e_tc_tun_encap_dests_set() local [all...] |
/kernel/linux/linux-5.10/arch/mips/kernel/ |
H A D | vpe-cmp.c | 133 goto out_dev; in vpe_module_init() 142 goto out_dev; in vpe_module_init() 155 out_dev: in vpe_module_init()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | action.c | 139 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() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | action.c | 139 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() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tc.c | 1395 struct net_device *out_dev; in mlx5e_tc_add_fdb_flow() local 1402 out_dev = dev_get_by_index(dev_net(priv->netdev), mirred_ifindex); in mlx5e_tc_add_fdb_flow() 1403 if (!out_dev) { in mlx5e_tc_add_fdb_flow() 1408 err = mlx5e_attach_encap(priv, flow, out_dev, out_index, in mlx5e_tc_add_fdb_flow() 1410 dev_put(out_dev); in mlx5e_tc_add_fdb_flow() 1686 mlx5e_encap_put(netdev_priv(e->out_dev), e); in mlx5e_get_next_valid_encap() 1725 struct mlx5e_priv *priv = netdev_priv(e->out_dev); in mlx5e_tc_update_neigh_used_value() 1780 mlx5e_rep_encap_entry_detach(netdev_priv(e->out_dev), e); in mlx5e_encap_dealloc() 3887 *encap_dev = e->out_dev; in mlx5e_attach_encap() 4044 struct net_device *out_dev) in get_fdb_out_dev() 4043 get_fdb_out_dev(struct net_device *uplink_dev, struct net_device *out_dev) get_fdb_out_dev() argument 4065 add_vlan_push_action(struct mlx5e_priv *priv, struct mlx5_flow_attr *attr, struct net_device **out_dev, u32 *action) add_vlan_push_action() argument 4135 mlx5e_is_valid_eswitch_fwd_dev(struct mlx5e_priv *priv, struct net_device *out_dev) mlx5e_is_valid_eswitch_fwd_dev() argument 4148 is_duplicated_output_device(struct net_device *dev, struct net_device *out_dev, int *ifindexes, int if_count, struct netlink_ext_ack *extack) is_duplicated_output_device() argument 4168 verify_uplink_forwarding(struct mlx5e_priv *priv, struct mlx5e_tc_flow *flow, struct net_device *out_dev, struct netlink_ext_ack *extack) verify_uplink_forwarding() argument 4307 struct net_device *out_dev; parse_tc_fdb_actions() local [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/mantis/ |
H A D | mantis_input.c | 59 goto out_dev; in mantis_input_init() 65 out_dev: in mantis_input_init()
|
/kernel/linux/linux-6.6/drivers/media/pci/mantis/ |
H A D | mantis_input.c | 59 goto out_dev; in mantis_input_init() 65 out_dev: in mantis_input_init()
|
/kernel/linux/linux-5.10/net/ethtool/ |
H A D | linkinfo.c | 118 goto out_dev; in ethnl_set_linkinfo() 151 out_dev: in ethnl_set_linkinfo()
|
H A D | debug.c | 104 goto out_dev; in ethnl_set_debug() 125 out_dev: in ethnl_set_debug()
|
H A D | wol.c | 124 goto out_dev; in ethnl_set_wol() 167 out_dev: in ethnl_set_wol()
|
H A D | privflags.c | 171 goto out_dev; in ethnl_set_privflags() 198 out_dev: in ethnl_set_privflags()
|
H A D | pause.c | 165 goto out_dev; in ethnl_set_pause() 189 out_dev: in ethnl_set_pause()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_acl_flex_actions.h | 25 const struct net_device *out_dev, 60 const struct net_device *out_dev,
|