| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_fs_ethtool.c | 215 l4_mask->ip4dst, l4_val->ip4dst); in parse_tcp4() 228 l4_mask->ip4dst, l4_val->ip4dst); in parse_udp4() 241 l3_mask->ip4dst, l3_val->ip4dst); in parse_ip4() 523 if (l4_mask->ip4dst) in validate_tcpudp4() 543 if (l3_mask->ip4dst) in validate_ip4()
|
| /Linux-v5.4/drivers/net/ethernet/freescale/dpaa2/ |
| D | dpaa2-ethtool.c | 320 if (uip_mask->ip4dst) { in prep_uip_rule() 322 *(__be32 *)(key + off) = uip_value->ip4dst; in prep_uip_rule() 323 *(__be32 *)(mask + off) = uip_mask->ip4dst; in prep_uip_rule() 374 if (l4_mask->ip4dst) { in prep_l4_rule() 376 *(__be32 *)(key + off) = l4_value->ip4dst; in prep_l4_rule() 377 *(__be32 *)(mask + off) = l4_mask->ip4dst; in prep_l4_rule()
|
| /Linux-v5.4/drivers/net/ethernet/sfc/falcon/ |
| D | ethtool.c | 823 ip_entry->ip4dst = spec.loc_host[0]; in ef4_ethtool_get_class_rule() 824 ip_mask->ip4dst = IP4_ADDR_FULL_MASK; in ef4_ethtool_get_class_rule() 902 uip_entry->ip4dst = spec.loc_host[0]; in ef4_ethtool_get_class_rule() 903 uip_mask->ip4dst = IP4_ADDR_FULL_MASK; in ef4_ethtool_get_class_rule() 1065 if (ip_mask->ip4dst) { in ef4_ethtool_set_class_rule() 1066 if (ip_mask->ip4dst != IP4_ADDR_FULL_MASK) in ef4_ethtool_set_class_rule() 1069 spec.loc_host[0] = ip_entry->ip4dst; in ef4_ethtool_set_class_rule() 1134 if (uip_mask->ip4dst) { in ef4_ethtool_set_class_rule() 1135 if (uip_mask->ip4dst != IP4_ADDR_FULL_MASK) in ef4_ethtool_set_class_rule() 1138 spec.loc_host[0] = uip_entry->ip4dst; in ef4_ethtool_set_class_rule()
|
| /Linux-v5.4/drivers/net/ethernet/sfc/ |
| D | ethtool.c | 846 ip_entry->ip4dst = spec.loc_host[0]; in efx_ethtool_get_class_rule() 847 ip_mask->ip4dst = IP4_ADDR_FULL_MASK; in efx_ethtool_get_class_rule() 925 uip_entry->ip4dst = spec.loc_host[0]; in efx_ethtool_get_class_rule() 926 uip_mask->ip4dst = IP4_ADDR_FULL_MASK; in efx_ethtool_get_class_rule() 1130 if (ip_mask->ip4dst) { in efx_ethtool_set_class_rule() 1131 if (ip_mask->ip4dst != IP4_ADDR_FULL_MASK) in efx_ethtool_set_class_rule() 1134 spec.loc_host[0] = ip_entry->ip4dst; in efx_ethtool_set_class_rule() 1199 if (uip_mask->ip4dst) { in efx_ethtool_set_class_rule() 1200 if (uip_mask->ip4dst != IP4_ADDR_FULL_MASK) in efx_ethtool_set_class_rule() 1203 spec.loc_host[0] = uip_entry->ip4dst; in efx_ethtool_set_class_rule()
|
| /Linux-v5.4/drivers/net/ethernet/freescale/enetc/ |
| D | enetc_ethtool.c | 335 rfse.dip_h[0] = l4ip4_h->ip4dst; in enetc_set_cls_entry() 336 rfse.dip_m[0] = l4ip4_m->ip4dst; in enetc_set_cls_entry() 352 rfse.dip_h[0] = l3ip4_h->ip4dst; in enetc_set_cls_entry() 353 rfse.dip_m[0] = l3ip4_m->ip4dst; in enetc_set_cls_entry()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/ |
| D | en_ethtool.c | 1342 !all_zeros_or_all_ones(l4_mask->ip4dst) || in mlx4_en_validate_flow() 1351 (!l3_mask->ip4src && !l3_mask->ip4dst) || in mlx4_en_validate_flow() 1353 !all_zeros_or_all_ones(l3_mask->ip4dst)) in mlx4_en_validate_flow() 1456 usr_ip4_spec.ip4dst); in add_ip_rule() 1463 spec_l3->ipv4.dst_ip = cmd->fs.h_u.usr_ip4_spec.ip4dst; in add_ip_rule() 1464 if (l3_mask->ip4dst) in add_ip_rule() 1500 tcp_ip4_spec.ip4dst); in add_tcp_udp_rule() 1505 spec_l3->ipv4.dst_ip = cmd->fs.h_u.tcp_ip4_spec.ip4dst; in add_tcp_udp_rule() 1512 udp_ip4_spec.ip4dst); in add_tcp_udp_rule() 1517 spec_l3->ipv4.dst_ip = cmd->fs.h_u.udp_ip4_spec.ip4dst; in add_tcp_udp_rule() [all …]
|
| /Linux-v5.4/include/uapi/linux/ |
| D | ethtool.h | 760 __be32 ip4dst; member 777 __be32 ip4dst; member 795 __be32 ip4dst; member
|
| /Linux-v5.4/drivers/net/ethernet/cisco/enic/ |
| D | enic_ethtool.c | 463 fsp->h_u.tcp_ip4_spec.ip4dst = flow_get_u32_dst(&n->keys); in enic_grxclsrule() 464 fsp->m_u.tcp_ip4_spec.ip4dst = (__u32)~0; in enic_grxclsrule()
|
| /Linux-v5.4/drivers/net/ethernet/freescale/ |
| D | gianfar_ethtool.c | 963 gfar_set_attribute(be32_to_cpu(value->ip4dst), in gfar_set_basic_ip() 964 be32_to_cpu(mask->ip4dst), in gfar_set_basic_ip() 983 gfar_set_attribute(be32_to_cpu(value->ip4dst), in gfar_set_user_ip() 984 be32_to_cpu(mask->ip4dst), in gfar_set_user_ip()
|
| /Linux-v5.4/drivers/net/ethernet/intel/i40e/ |
| D | i40e_ethtool.c | 3227 fsp->h_u.tcp_ip4_spec.ip4dst = rule->src_ip; in i40e_get_ethtool_fdir_entry() 3261 fsp->m_u.tcp_ip4_spec.ip4dst = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry() 4118 if (tcp_ip4_spec->ip4dst == htonl(0xFFFFFFFF)) in i40e_check_fdir_input_set() 4120 else if (!tcp_ip4_spec->ip4dst) in i40e_check_fdir_input_set() 4158 if (usr_ip4_spec->ip4dst == htonl(0xFFFFFFFF)) in i40e_check_fdir_input_set() 4160 else if (!usr_ip4_spec->ip4dst) in i40e_check_fdir_input_set() 4525 input->src_ip = fsp->h_u.tcp_ip4_spec.ip4dst; in i40e_add_fdir_ethtool() 4535 input->src_ip = fsp->h_u.tcp_ip4_spec.ip4dst; in i40e_add_fdir_ethtool()
|
| /Linux-v5.4/net/core/ |
| D | ethtool.c | 2931 if (v4_m_spec->ip4dst) { in ethtool_rx_flow_rule_create() 2932 match->key.ipv4.dst = v4_spec->ip4dst; in ethtool_rx_flow_rule_create() 2933 match->mask.ipv4.dst = v4_m_spec->ip4dst; in ethtool_rx_flow_rule_create() 2936 v4_m_spec->ip4dst) { in ethtool_rx_flow_rule_create()
|
| /Linux-v5.4/drivers/net/ethernet/mediatek/ |
| D | mtk_eth_soc.c | 1854 (!fsp->h_u.tcp_ip4_spec.ip4dst) || in mtk_hwlro_add_ipaddr() 1858 mac->hwlro_ip[fsp->location] = htonl(fsp->h_u.tcp_ip4_spec.ip4dst); in mtk_hwlro_add_ipaddr() 1915 fsp->h_u.tcp_ip4_spec.ip4dst = ntohl(mac->hwlro_ip[fsp->location]); in mtk_hwlro_get_fdir_entry() 1916 fsp->m_u.tcp_ip4_spec.ip4dst = 0; in mtk_hwlro_get_fdir_entry()
|
| /Linux-v5.4/drivers/net/ethernet/cadence/ |
| D | macb_main.c | 2888 if (enable && (tp4sp_m->ip4dst == 0xFFFFFFFF)) in gem_enable_flow_filters() 2929 if (tp4sp_m->ip4dst == 0xFFFFFFFF) { in gem_prog_cmp_regs() 2933 w0 = tp4sp_v->ip4dst; in gem_prog_cmp_regs() 3001 htonl(fs->h_u.tcp_ip4_spec.ip4dst), in gem_add_flow_filter() 3054 htonl(fs->h_u.tcp_ip4_spec.ip4dst), in gem_del_flow_filter()
|
| /Linux-v5.4/drivers/net/ethernet/intel/ixgbe/ |
| D | ixgbe_ethtool.c | 2460 fsp->h_u.tcp_ip4_spec.ip4dst = rule->filter.formatted.dst_ip[0]; in ixgbe_get_ethtool_fdir_entry() 2461 fsp->m_u.tcp_ip4_spec.ip4dst = mask->formatted.dst_ip[0]; in ixgbe_get_ethtool_fdir_entry() 2743 input->filter.formatted.dst_ip[0] = fsp->h_u.tcp_ip4_spec.ip4dst; in ixgbe_add_ethtool_fdir_entry() 2744 mask.formatted.dst_ip[0] = fsp->m_u.tcp_ip4_spec.ip4dst; in ixgbe_add_ethtool_fdir_entry()
|
| /Linux-v5.4/drivers/net/ethernet/aquantia/atlantic/ |
| D | aq_filters.c | 508 ntohl(fsp->h_u.tcp_ip4_spec.ip4dst); in aq_set_data_fl3l4()
|
| /Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| D | hclge_main.c | 5163 if (!tcp_ip4_spec->ip4dst) in hclge_fd_check_spec() 5184 if (!usr_ip4_spec->ip4dst) in hclge_fd_check_spec() 5382 be32_to_cpu(fs->h_u.tcp_ip4_spec.ip4dst); in hclge_fd_get_tuple() 5384 be32_to_cpu(fs->m_u.tcp_ip4_spec.ip4dst); in hclge_fd_get_tuple() 5408 be32_to_cpu(fs->h_u.usr_ip4_spec.ip4dst); in hclge_fd_get_tuple() 5410 be32_to_cpu(fs->m_u.usr_ip4_spec.ip4dst); in hclge_fd_get_tuple() 5803 fs->h_u.tcp_ip4_spec.ip4dst = in hclge_get_fd_rule_info() 5805 fs->m_u.tcp_ip4_spec.ip4dst = in hclge_get_fd_rule_info() 5832 fs->h_u.usr_ip4_spec.ip4dst = in hclge_get_fd_rule_info() 5834 fs->m_u.usr_ip4_spec.ip4dst = in hclge_get_fd_rule_info()
|
| /Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/ |
| D | bnxt_ethtool.c | 959 fs->h_u.tcp_ip4_spec.ip4dst = fkeys->addrs.v4addrs.dst; in bnxt_grxclsrule() 960 fs->m_u.tcp_ip4_spec.ip4dst = cpu_to_be32(~0); in bnxt_grxclsrule()
|
| /Linux-v5.4/drivers/net/ethernet/qlogic/qede/ |
| D | qede_filter.c | 1433 fsp->h_u.tcp_ip4_spec.ip4dst = fltr->tuple.dst_ipv4; in qede_get_cls_rule_entry()
|
| /Linux-v5.4/drivers/net/ethernet/sun/ |
| D | niu.c | 7086 fsp->h_u.tcp_ip4_spec.ip4dst = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key() 7092 fsp->m_u.tcp_ip4_spec.ip4dst = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key() 7353 dip = be32_to_cpu(fsp->h_u.tcp_ip4_spec.ip4dst); in niu_get_tcamkey_from_ip4fs() 7354 dipm = be32_to_cpu(fsp->m_u.tcp_ip4_spec.ip4dst); in niu_get_tcamkey_from_ip4fs()
|