Home
last modified time | relevance | path

Searched refs:flow_spec (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c40 struct ethtool_rx_flow_spec flow_spec; member
381 if (iter->flow_spec.location > rule->flow_spec.location) in add_rule_to_list()
473 if (iter->flow_spec.location == location) in find_ethtool_rule()
695 eth_rule->flow_spec = *fs; in mlx5e_ethtool_flow_replace()
747 if (eth_rule->flow_spec.location == location) { in mlx5e_ethtool_get_flow()
748 info->fs = eth_rule->flow_spec; in mlx5e_ethtool_get_flow()
/drivers/infiniband/hw/mlx5/
Dfs.c560 union ib_flow_spec *flow_spec; in flow_is_multicast_only() local
566 flow_spec = (union ib_flow_spec *)(ib_attr + 1); in flow_is_multicast_only()
567 if (flow_spec->type == IB_FLOW_SPEC_IPV4) { in flow_is_multicast_only()
570 ipv4_spec = (struct ib_flow_spec_ipv4 *)flow_spec; in flow_is_multicast_only()
577 if (flow_spec->type == IB_FLOW_SPEC_ETH) { in flow_is_multicast_only()
580 eth_spec = (struct ib_flow_spec_eth *)flow_spec; in flow_is_multicast_only()
/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1653 memset(&loc_rule->flow_spec, 0, in mlx4_en_flow_replace()
1664 memcpy(&loc_rule->flow_spec, &cmd->fs, in mlx4_en_flow_replace()
1699 memset(&rule->flow_spec, 0, sizeof(struct ethtool_rx_flow_spec)); in mlx4_en_flow_detach()
1718 memcpy(&cmd->fs, &rule->flow_spec, in mlx4_en_get_flow()
Dmlx4_en.h509 struct ethtool_rx_flow_spec flow_spec; member