Searched refs:eth_mask (Results 1 – 7 of 7) sorted by relevance
317 struct ethhdr *eth_mask = &fs->m_u.ether_spec; in parse_ether() local320 mask_spec((u8 *)eth_mask, (u8 *)eth_val, sizeof(*eth_mask)); in parse_ether()321 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_c, smac_47_16), eth_mask->h_source); in parse_ether()323 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_c, dmac_47_16), eth_mask->h_dest); in parse_ether()325 MLX5E_FTE_SET(headers_c, ethertype, ntohs(eth_mask->h_proto)); in parse_ether()560 struct ethhdr *eth_mask = &fs->m_u.ether_spec; in validate_ethter() local563 if (!is_zero_ether_addr(eth_mask->h_dest)) in validate_ethter()565 if (!is_zero_ether_addr(eth_mask->h_source)) in validate_ethter()567 if (eth_mask->h_proto) in validate_ethter()
103 struct iavf_fdir_eth eth_mask; member
41 if (fltr->eth_mask.etype && fltr->eth_mask.etype != htons(U16_MAX)) in iavf_validate_fdir_fltr_masks()574 if (fltr->eth_mask.etype == htons(U16_MAX)) { in iavf_fill_fdir_eth_hdr()
1030 fsp->m_u.ether_spec.h_proto = rule->eth_mask.etype; in iavf_get_ethtool_fdir_entry()1225 fltr->eth_mask.etype = fsp->m_u.ether_spec.h_proto; in iavf_add_fdir_fltr_info()
167 struct ethhdr eth, eth_mask; member
1332 struct ethhdr *eth_mask; in mlx4_en_validate_flow() local1366 eth_mask = &cmd->fs.m_u.ether_spec; in mlx4_en_validate_flow()1368 if (!is_zero_ether_addr(eth_mask->h_source)) in mlx4_en_validate_flow()1372 if (!is_broadcast_ether_addr(eth_mask->h_dest)) in mlx4_en_validate_flow()1375 if (!all_zeros_or_all_ones(eth_mask->h_proto)) in mlx4_en_validate_flow()
1428 struct ethhdr *eth_mask; in bcmgenet_validate_flow() local1452 eth_mask = &cmd->fs.m_u.ether_spec; in bcmgenet_validate_flow()1454 if (VALIDATE_MASK(eth_mask->h_dest) || in bcmgenet_validate_flow()1455 VALIDATE_MASK(eth_mask->h_source) || in bcmgenet_validate_flow()1456 VALIDATE_MASK(eth_mask->h_proto)) { in bcmgenet_validate_flow()