Home
last modified time | relevance | path

Searched refs:eth_spec (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1549 struct ethhdr *eth_spec; in mlx4_en_ethtool_to_net_trans_rule() local
1563 eth_spec = &cmd->fs.h_u.ether_spec; in mlx4_en_ethtool_to_net_trans_rule()
1565 &eth_spec->h_dest[0]); in mlx4_en_ethtool_to_net_trans_rule()
1566 spec_l2->eth.ether_type = eth_spec->h_proto; in mlx4_en_ethtool_to_net_trans_rule()
1567 if (eth_spec->h_proto) in mlx4_en_ethtool_to_net_trans_rule()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dmain.c3065 struct ib_flow_spec_eth *eth_spec; in flow_is_multicast_only() local
3067 eth_spec = (struct ib_flow_spec_eth *)flow_spec; in flow_is_multicast_only()
3068 return is_multicast_ether_addr(eth_spec->mask.dst_mac) && in flow_is_multicast_only()
3069 is_multicast_ether_addr(eth_spec->val.dst_mac); in flow_is_multicast_only()