Searched refs:l3_mask (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_fs_ethtool.c | 237 struct ethtool_usrip4_spec *l3_mask = &fs->m_u.usr_ip4_spec; in parse_ip4() local 240 set_ip4(headers_c, headers_v, l3_mask->ip4src, l3_val->ip4src, in parse_ip4() 241 l3_mask->ip4dst, l3_val->ip4dst); in parse_ip4() 243 if (l3_mask->proto) { in parse_ip4() 244 MLX5E_FTE_SET(headers_c, ip_protocol, l3_mask->proto); in parse_ip4() 252 struct ethtool_usrip6_spec *l3_mask = &fs->m_u.usr_ip6_spec; in parse_ip6() local 255 set_ip6(headers_c, headers_v, l3_mask->ip6src, in parse_ip6() 256 l3_val->ip6src, l3_mask->ip6dst, l3_val->ip6dst); in parse_ip6() 258 if (l3_mask->l4_proto) { in parse_ip6() 259 MLX5E_FTE_SET(headers_c, ip_protocol, l3_mask->l4_proto); in parse_ip6() [all …]
|
/Linux-v5.4/arch/x86/events/amd/ |
D | uncore.c | 36 static bool l3_mask; variable 212 if (l3_mask && is_llc_event(event)) { in amd_uncore_event_init() 539 l3_mask = true; in amd_uncore_init() 547 l3_mask = false; in amd_uncore_init()
|
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_tc.c | 233 flow->l3_mask.ipv4.daddr.s_addr = match.mask->dst; in bnxt_tc_parse_flow() 235 flow->l3_mask.ipv4.saddr.s_addr = match.mask->src; in bnxt_tc_parse_flow() 242 flow->l3_mask.ipv6.daddr = match.mask->dst; in bnxt_tc_parse_flow() 244 flow->l3_mask.ipv6.saddr = match.mask->src; in bnxt_tc_parse_flow() 392 struct bnxt_tc_l3_key *l3_mask = &flow->l3_mask; in bnxt_hwrm_cfa_flow_alloc() local 429 if (is_wildcard(l3_mask, sizeof(*l3_mask)) && in bnxt_hwrm_cfa_flow_alloc() 440 inet_mask_len(l3_mask->ipv4.daddr.s_addr); in bnxt_hwrm_cfa_flow_alloc() 443 inet_mask_len(l3_mask->ipv4.saddr.s_addr); in bnxt_hwrm_cfa_flow_alloc() 448 ipv6_mask_len(&l3_mask->ipv6.daddr); in bnxt_hwrm_cfa_flow_alloc() 452 ipv6_mask_len(&l3_mask->ipv6.saddr); in bnxt_hwrm_cfa_flow_alloc()
|
D | bnxt_tc.h | 107 struct bnxt_tc_l3_key l3_mask; member
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 1321 struct ethtool_usrip4_spec *l3_mask; in mlx4_en_validate_flow() local 1348 l3_mask = &cmd->fs.m_u.usr_ip4_spec; in mlx4_en_validate_flow() 1349 if (l3_mask->l4_4_bytes || l3_mask->tos || l3_mask->proto || in mlx4_en_validate_flow() 1351 (!l3_mask->ip4src && !l3_mask->ip4dst) || in mlx4_en_validate_flow() 1352 !all_zeros_or_all_ones(l3_mask->ip4src) || in mlx4_en_validate_flow() 1353 !all_zeros_or_all_ones(l3_mask->ip4dst)) in mlx4_en_validate_flow() 1445 struct ethtool_usrip4_spec *l3_mask = &cmd->fs.m_u.usr_ip4_spec; in add_ip_rule() local 1461 if (l3_mask->ip4src) in add_ip_rule() 1464 if (l3_mask->ip4dst) in add_ip_rule()
|