Home
last modified time | relevance | path

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

/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()
/drivers/net/ethernet/intel/ice/
Dice_tc_lib.c645 static int ice_tc_setup_redirect_action(struct net_device *filter_dev, in ice_tc_setup_redirect_action() argument
653 if (ice_is_port_repr_netdev(filter_dev) && in ice_tc_setup_redirect_action()
659 } else if (ice_is_port_repr_netdev(filter_dev) && in ice_tc_setup_redirect_action()
661 repr = ice_netdev_to_repr(filter_dev); in ice_tc_setup_redirect_action()
665 } else if (ice_tc_is_dev_uplink(filter_dev) && in ice_tc_setup_redirect_action()
681 ice_tc_setup_drop_action(struct net_device *filter_dev, in ice_tc_setup_drop_action() argument
686 if (ice_is_port_repr_netdev(filter_dev)) { in ice_tc_setup_drop_action()
688 } else if (ice_tc_is_dev_uplink(filter_dev)) { in ice_tc_setup_drop_action()
699 static int ice_eswitch_tc_parse_action(struct net_device *filter_dev, in ice_eswitch_tc_parse_action() argument
707 err = ice_tc_setup_drop_action(filter_dev, fltr); in ice_eswitch_tc_parse_action()
[all …]
Dice_main.c7939 struct net_device *filter_dev, in ice_setup_tc_cls_flower() argument
7949 return ice_add_cls_flower(filter_dev, vsi, cls_flower); in ice_setup_tc_cls_flower()
/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 …]
/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()
/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()
/drivers/net/ethernet/mscc/
Docelot_net.c803 struct net_device *filter_dev, int *idx) in ocelot_port_fdb_dump() argument
/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch.c905 struct net_device *filter_dev, int *idx) in dpaa2_switch_port_fdb_dump() argument
/drivers/net/vxlan/
Dvxlan_core.c1351 struct net_device *filter_dev, int *idx) in vxlan_fdb_dump() argument