Searched refs:eth_spec (Results 1 – 3 of 3) sorted by relevance
1240 struct ethhdr *eth_spec) in ice_set_ether_flow_seg() argument1245 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()
1557 struct ethhdr *eth_spec; in mlx4_en_ethtool_to_net_trans_rule() local1571 eth_spec = &cmd->fs.h_u.ether_spec; in mlx4_en_ethtool_to_net_trans_rule()1573 ð_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()
567 struct ib_flow_spec_eth *eth_spec; in flow_is_multicast_only() local569 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()