Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_ethtool_fdir.c1240 struct ethhdr *eth_spec) in ice_set_ether_flow_seg() argument
1245 if (is_zero_ether_addr(eth_spec->h_source) && in ice_set_ether_flow_seg()
1246 is_zero_ether_addr(eth_spec->h_dest) && in ice_set_ether_flow_seg()
1247 !eth_spec->h_proto) in ice_set_ether_flow_seg()
1251 if (eth_spec->h_proto == htons(0xFFFF)) { in ice_set_ether_flow_seg()
1256 } else if (eth_spec->h_proto) { in ice_set_ether_flow_seg()
1262 if (is_broadcast_ether_addr(eth_spec->h_source)) in ice_set_ether_flow_seg()
1266 else if (!is_zero_ether_addr(eth_spec->h_source)) in ice_set_ether_flow_seg()
1270 if (is_broadcast_ether_addr(eth_spec->h_dest)) in ice_set_ether_flow_seg()
1274 else if (!is_zero_ether_addr(eth_spec->h_dest)) in ice_set_ether_flow_seg()
/linux-6.15/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c1557 struct ethhdr *eth_spec; in mlx4_en_ethtool_to_net_trans_rule() local
1571 eth_spec = &cmd->fs.h_u.ether_spec; in mlx4_en_ethtool_to_net_trans_rule()
1573 &eth_spec->h_dest[0]); in mlx4_en_ethtool_to_net_trans_rule()
1574 spec_l2->eth.ether_type = eth_spec->h_proto; in mlx4_en_ethtool_to_net_trans_rule()
1575 if (eth_spec->h_proto) in mlx4_en_ethtool_to_net_trans_rule()
/linux-6.15/drivers/infiniband/hw/mlx5/
H A Dfs.c567 struct ib_flow_spec_eth *eth_spec; in flow_is_multicast_only() local
569 eth_spec = (struct ib_flow_spec_eth *)flow_spec; in flow_is_multicast_only()
570 return is_multicast_ether_addr(eth_spec->mask.dst_mac) && in flow_is_multicast_only()
571 is_multicast_ether_addr(eth_spec->val.dst_mac); in flow_is_multicast_only()