Home
last modified time | relevance | path

Searched refs:filter_dev (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dmpls.c55 struct net_device *filter_dev; in tc_act_can_offload_mpls_pop() local
57 filter_dev = attr->parse_attr->filter_dev; in tc_act_can_offload_mpls_pop()
70 if (!netif_is_bareudp(filter_dev)) { in tc_act_can_offload_mpls_pop()
Dredirect_ingress.c30 if (netif_is_ovs_master(parse_attr->filter_dev)) { in tc_act_can_offload_redirect_ingress()
Dmirred.c161 if (parse_attr->filter_dev != priv->netdev) { in tc_act_can_offload_mirred()
250 if (is_vlan_dev(parse_attr->filter_dev)) { in parse_mirred()
Dvlan.c132 nest_level = attr->parse_attr->filter_dev->lower_level - in mlx5e_tc_act_vlan_add_pop_action()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_tc_lib.c638 static int ice_tc_setup_redirect_action(struct net_device *filter_dev, in ice_tc_setup_redirect_action() argument
646 if (ice_is_port_repr_netdev(filter_dev) && in ice_tc_setup_redirect_action()
652 } else if (ice_is_port_repr_netdev(filter_dev) && in ice_tc_setup_redirect_action()
654 repr = ice_netdev_to_repr(filter_dev); in ice_tc_setup_redirect_action()
658 } else if (ice_tc_is_dev_uplink(filter_dev) && in ice_tc_setup_redirect_action()
674 ice_tc_setup_drop_action(struct net_device *filter_dev, in ice_tc_setup_drop_action() argument
679 if (ice_is_port_repr_netdev(filter_dev)) { in ice_tc_setup_drop_action()
681 } else if (ice_tc_is_dev_uplink(filter_dev)) { in ice_tc_setup_drop_action()
692 static int ice_eswitch_tc_parse_action(struct net_device *filter_dev, in ice_eswitch_tc_parse_action() argument
700 err = ice_tc_setup_drop_action(filter_dev, fltr); in ice_eswitch_tc_parse_action()
[all …]
Dice_main.c7922 struct net_device *filter_dev, in ice_setup_tc_cls_flower() argument
7932 return ice_add_cls_flower(filter_dev, vsi, cls_flower); in ice_setup_tc_cls_flower()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c1858 if (netif_is_ovs_master(parse_attr->filter_dev)) { in mlx5e_tc_add_fdb_flow()
1876 parse_attr->filter_dev->ifindex, in mlx5e_tc_add_fdb_flow()
2130 struct net_device *filter_dev) in mlx5e_get_flow_tunnel_id() argument
2165 tunnel_key.filter_ifindex = filter_dev->ifindex; in mlx5e_get_flow_tunnel_id()
2399 struct net_device *filter_dev, in parse_tunnel_attr() argument
2403 struct mlx5e_tc_tunnel *tunnel = mlx5e_get_tc_tun(filter_dev); in parse_tunnel_attr()
2428 err = mlx5e_tc_tun_parse(filter_dev, priv, spec, f, in parse_tunnel_attr()
2441 if (!netif_is_bareudp(filter_dev)) in parse_tunnel_attr()
2457 err = mlx5e_tc_tun_parse(filter_dev, priv, tmp_spec, f, match_level); in parse_tunnel_attr()
2473 return mlx5e_get_flow_tunnel_id(priv, flow, f, filter_dev); in parse_tunnel_attr()
[all …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.h98 struct net_device *filter_dev);
103 int mlx5e_tc_tun_parse(struct net_device *filter_dev,
Dtc_tun.c713 struct net_device *filter_dev) in mlx5e_tc_tun_route_lookup() argument
726 err = mlx5e_route_lookup_ipv4_get(priv, filter_dev, &attr); in mlx5e_tc_tun_route_lookup()
733 err = mlx5e_route_lookup_ipv6_get(priv, filter_dev, &attr); in mlx5e_tc_tun_route_lookup()
796 int mlx5e_tc_tun_parse(struct net_device *filter_dev, in mlx5e_tc_tun_parse() argument
802 struct mlx5e_tc_tunnel *tunnel = mlx5e_get_tc_tun(filter_dev); in mlx5e_tc_tun_parse()
814 mlx5e_netdev_kind(filter_dev)); in mlx5e_tc_tun_parse()
Dtc_priv.h38 struct net_device *filter_dev; member
Dtc_tun_encap.c28 attr->parse_attr->filter_dev == e->out_dev) in mlx5e_set_int_port_tunnel()
1304 err = mlx5e_tc_tun_route_lookup(priv, &parse_attr->spec, attr, parse_attr->filter_dev); in mlx5e_attach_decap_route()
1314 r = mlx5e_route_get_create(priv, &key, parse_attr->filter_dev->ifindex, in mlx5e_attach_decap_route()
1641 err = mlx5e_tc_tun_route_lookup(priv, spec, attr, parse_attr->filter_dev); in mlx5e_reoffload_decap()
/linux-6.6.21/include/linux/
Drtnetlink.h109 struct net_device *filter_dev,
Dnetdevice.h1575 struct net_device *filter_dev,
/linux-6.6.21/net/bridge/
Dbr_fdb.c921 struct net_device *filter_dev, in br_fdb_dump() argument
931 if (!filter_dev) { in br_fdb_dump()
941 if (filter_dev && (!f->dst || f->dst->dev != filter_dev)) { in br_fdb_dump()
942 if (filter_dev != dev) in br_fdb_dump()
952 if (!filter_dev && f->dst) in br_fdb_dump()
/linux-6.6.21/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c430 struct net_device *filter_dev, int *idx) in qlcnic_fdb_dump() argument
436 return ndo_dflt_fdb_dump(skb, ncb, netdev, filter_dev, idx); in qlcnic_fdb_dump()
440 err = ndo_dflt_fdb_dump(skb, ncb, netdev, filter_dev, idx); in qlcnic_fdb_dump()
/linux-6.6.21/drivers/net/ethernet/mscc/
Docelot_net.c803 struct net_device *filter_dev, int *idx) in ocelot_port_fdb_dump() argument
/linux-6.6.21/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch.c905 struct net_device *filter_dev, int *idx) in dpaa2_switch_port_fdb_dump() argument
/linux-6.6.21/net/dsa/
Dslave.c549 struct net_device *dev, struct net_device *filter_dev, in dsa_slave_fdb_dump() argument
/linux-6.6.21/drivers/net/vxlan/
Dvxlan_core.c1351 struct net_device *filter_dev, int *idx) in vxlan_fdb_dump() argument
/linux-6.6.21/net/core/
Drtnetlink.c4489 struct net_device *filter_dev, in ndo_dflt_fdb_dump() argument