l4_mask 197 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l4_mask.ip_proto = match.mask->ip_proto; l4_mask 253 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l4_mask.ports.dport = match.mask->dst; l4_mask 255 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l4_mask.ports.sport = match.mask->src; l4_mask 265 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l4_mask.icmp.type = match.mask->type; l4_mask 266 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l4_mask.icmp.code = match.mask->code; l4_mask 430 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c is_wildcard(&flow->l4_mask, sizeof(flow->l4_mask))) { l4_mask 458 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c req.l4_src_port_mask = flow->l4_mask.ports.sport; l4_mask 460 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c req.l4_dst_port_mask = flow->l4_mask.ports.dport; l4_mask 464 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c req.l4_src_port_mask = htons(flow->l4_mask.icmp.type); l4_mask 466 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c req.l4_dst_port_mask = htons(flow->l4_mask.icmp.code); l4_mask 109 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.h struct bnxt_tc_l4_key l4_mask; l4_mask 359 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c struct ethtool_tcpip4_spec *l4_mask, l4_mask 364 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c if (l4_mask->tos) l4_mask 367 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c if (l4_mask->ip4src) { l4_mask 370 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c *(__be32 *)(mask + off) = l4_mask->ip4src; l4_mask 374 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c if (l4_mask->ip4dst) { l4_mask 377 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c *(__be32 *)(mask + off) = l4_mask->ip4dst; l4_mask 381 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c if (l4_mask->psrc) { l4_mask 384 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c *(__be16 *)(mask + off) = l4_mask->psrc; l4_mask 388 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c if (l4_mask->pdst) { l4_mask 391 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c *(__be16 *)(mask + off) = l4_mask->pdst; l4_mask 1322 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c struct ethtool_tcpip4_spec *l4_mask; l4_mask 1339 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c l4_mask = &cmd->fs.m_u.tcp_ip4_spec; l4_mask 1341 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (!all_zeros_or_all_ones(l4_mask->ip4src) || l4_mask 1342 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c !all_zeros_or_all_ones(l4_mask->ip4dst) || l4_mask 1343 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c !all_zeros_or_all_ones(l4_mask->psrc) || l4_mask 1344 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c !all_zeros_or_all_ones(l4_mask->pdst)) l4_mask 1484 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c struct ethtool_tcpip4_spec *l4_mask = &cmd->fs.m_u.tcp_ip4_spec; l4_mask 1522 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (l4_mask->ip4src) l4_mask 1524 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (l4_mask->ip4dst) l4_mask 1527 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (l4_mask->psrc) l4_mask 1529 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (l4_mask->pdst) l4_mask 211 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c struct ethtool_tcpip4_spec *l4_mask = &fs->m_u.tcp_ip4_spec; l4_mask 214 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c set_ip4(headers_c, headers_v, l4_mask->ip4src, l4_val->ip4src, l4_mask 215 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c l4_mask->ip4dst, l4_val->ip4dst); l4_mask 217 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c set_tcp(headers_c, headers_v, l4_mask->psrc, l4_val->psrc, l4_mask 218 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c l4_mask->pdst, l4_val->pdst); l4_mask 224 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c struct ethtool_tcpip4_spec *l4_mask = &fs->m_u.udp_ip4_spec; l4_mask 227 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c set_ip4(headers_c, headers_v, l4_mask->ip4src, l4_val->ip4src, l4_mask 228 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c l4_mask->ip4dst, l4_val->ip4dst); l4_mask 230 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c set_udp(headers_c, headers_v, l4_mask->psrc, l4_val->psrc, l4_mask 231 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c l4_mask->pdst, l4_val->pdst); l4_mask 267 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c struct ethtool_tcpip6_spec *l4_mask = &fs->m_u.tcp_ip6_spec; l4_mask 270 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c set_ip6(headers_c, headers_v, l4_mask->ip6src, l4_mask 271 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c l4_val->ip6src, l4_mask->ip6dst, l4_val->ip6dst); l4_mask 273 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c set_tcp(headers_c, headers_v, l4_mask->psrc, l4_val->psrc, l4_mask 274 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c l4_mask->pdst, l4_val->pdst); l4_mask 280 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c struct ethtool_tcpip6_spec *l4_mask = &fs->m_u.udp_ip6_spec; l4_mask 283 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c set_ip6(headers_c, headers_v, l4_mask->ip6src, l4_mask 284 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c l4_val->ip6src, l4_mask->ip6dst, l4_val->ip6dst); l4_mask 286 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c set_udp(headers_c, headers_v, l4_mask->psrc, l4_val->psrc, l4_mask 287 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c l4_mask->pdst, l4_val->pdst); l4_mask 515 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c struct ethtool_tcpip4_spec *l4_mask = &fs->m_u.tcp_ip4_spec; l4_mask 518 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c if (l4_mask->tos) l4_mask 521 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c if (l4_mask->ip4src) l4_mask 523 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c if (l4_mask->ip4dst) l4_mask 525 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c if (l4_mask->psrc) l4_mask 527 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c if (l4_mask->pdst) l4_mask 571 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c struct ethtool_tcpip6_spec *l4_mask = &fs->m_u.tcp_ip6_spec; l4_mask 574 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c if (l4_mask->tclass) l4_mask 577 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c if (!ipv6_addr_any((struct in6_addr *)l4_mask->ip6src)) l4_mask 580 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c if (!ipv6_addr_any((struct in6_addr *)l4_mask->ip6dst)) l4_mask 583 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c if (l4_mask->psrc) l4_mask 585 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c if (l4_mask->pdst)