Home
last modified time | relevance | path

Searched refs:ip4dst (Results 1 – 25 of 26) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/
H A Dice_ethtool_fdir.c145 fsp->h_u.usr_ip4_spec.ip4dst = rule->ip.v4.dst_ip; in ice_get_ethtool_fdir_entry()
147 fsp->m_u.usr_ip4_spec.ip4dst = rule->mask.v4.dst_ip; in ice_get_ethtool_fdir_entry()
159 fsp->h_u.tcp_ip4_spec.ip4dst = rule->ip.v4.dst_ip; in ice_get_ethtool_fdir_entry()
163 fsp->m_u.tcp_ip4_spec.ip4dst = rule->mask.v4.dst_ip; in ice_get_ethtool_fdir_entry()
777 !tcp_ip4_spec->pdst && !tcp_ip4_spec->ip4dst) in ice_set_fdir_ip4_seg()
811 if (tcp_ip4_spec->ip4dst == htonl(0xFFFFFFFF)) in ice_set_fdir_ip4_seg()
815 else if (!tcp_ip4_spec->ip4dst) in ice_set_fdir_ip4_seg()
869 if (!usr_ip4_spec->ip4src && !usr_ip4_spec->ip4dst) in ice_set_fdir_ip4_usr_seg()
886 if (usr_ip4_spec->ip4dst == htonl(0xFFFFFFFF)) in ice_set_fdir_ip4_usr_seg()
890 else if (!usr_ip4_spec->ip4dst) in ice_set_fdir_ip4_usr_seg()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c218 l4_mask->ip4dst, l4_val->ip4dst); in parse_tcp4()
231 l4_mask->ip4dst, l4_val->ip4dst); in parse_udp4()
244 l3_mask->ip4dst, l3_val->ip4dst); in parse_ip4()
526 if (l4_mask->ip4dst) in validate_tcpudp4()
546 if (l3_mask->ip4dst) in validate_ip4()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c820 ip_entry->ip4dst = spec.loc_host[0]; in ef4_ethtool_get_class_rule()
821 ip_mask->ip4dst = IP4_ADDR_FULL_MASK; in ef4_ethtool_get_class_rule()
899 uip_entry->ip4dst = spec.loc_host[0]; in ef4_ethtool_get_class_rule()
900 uip_mask->ip4dst = IP4_ADDR_FULL_MASK; in ef4_ethtool_get_class_rule()
1062 if (ip_mask->ip4dst) { in ef4_ethtool_set_class_rule()
1063 if (ip_mask->ip4dst != IP4_ADDR_FULL_MASK) in ef4_ethtool_set_class_rule()
1066 spec.loc_host[0] = ip_entry->ip4dst; in ef4_ethtool_set_class_rule()
1131 if (uip_mask->ip4dst) { in ef4_ethtool_set_class_rule()
1132 if (uip_mask->ip4dst != IP4_ADDR_FULL_MASK) in ef4_ethtool_set_class_rule()
1135 spec.loc_host[0] = uip_entry->ip4dst; in ef4_ethtool_set_class_rule()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/
H A Dethtool_common.c682 ip_entry->ip4dst = spec.loc_host[0]; in efx_ethtool_get_class_rule()
683 ip_mask->ip4dst = IP4_ADDR_FULL_MASK; in efx_ethtool_get_class_rule()
761 uip_entry->ip4dst = spec.loc_host[0]; in efx_ethtool_get_class_rule()
762 uip_mask->ip4dst = IP4_ADDR_FULL_MASK; in efx_ethtool_get_class_rule()
969 if (ip_mask->ip4dst) { in efx_ethtool_set_class_rule()
970 if (ip_mask->ip4dst != IP4_ADDR_FULL_MASK) in efx_ethtool_set_class_rule()
973 spec.loc_host[0] = ip_entry->ip4dst; in efx_ethtool_set_class_rule()
1038 if (uip_mask->ip4dst) { in efx_ethtool_set_class_rule()
1039 if (uip_mask->ip4dst != IP4_ADDR_FULL_MASK) in efx_ethtool_set_class_rule()
1042 spec.loc_host[0] = uip_entry->ip4dst; in efx_ethtool_set_class_rule()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ethtool.c366 if (uip_mask->ip4dst) { in dpaa2_eth_prep_uip_rule()
368 *(__be32 *)(key + off) = uip_value->ip4dst; in dpaa2_eth_prep_uip_rule()
369 *(__be32 *)(mask + off) = uip_mask->ip4dst; in dpaa2_eth_prep_uip_rule()
420 if (l4_mask->ip4dst) { in dpaa2_eth_prep_l4_rule()
422 *(__be32 *)(key + off) = l4_value->ip4dst; in dpaa2_eth_prep_l4_rule()
423 *(__be32 *)(mask + off) = l4_mask->ip4dst; in dpaa2_eth_prep_l4_rule()
/OK3568_Linux_fs/u-boot/include/linux/
H A Dethtool.h337 __be32 ip4dst; member
354 __be32 ip4dst; member
372 __be32 ip4dst; member
/OK3568_Linux_fs/app/forlinx/quectelCM/
H A Dethtool-copy.h453 __be32 ip4dst; member
470 __be32 ip4dst; member
488 __be32 ip4dst; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c1359 !all_zeros_or_all_ones(l4_mask->ip4dst) || in mlx4_en_validate_flow()
1368 (!l3_mask->ip4src && !l3_mask->ip4dst) || in mlx4_en_validate_flow()
1370 !all_zeros_or_all_ones(l3_mask->ip4dst)) in mlx4_en_validate_flow()
1472 usr_ip4_spec.ip4dst); in add_ip_rule()
1479 spec_l3->ipv4.dst_ip = cmd->fs.h_u.usr_ip4_spec.ip4dst; in add_ip_rule()
1480 if (l3_mask->ip4dst) in add_ip_rule()
1516 tcp_ip4_spec.ip4dst); in add_tcp_udp_rule()
1521 spec_l3->ipv4.dst_ip = cmd->fs.h_u.tcp_ip4_spec.ip4dst; in add_tcp_udp_rule()
1528 udp_ip4_spec.ip4dst); in add_tcp_udp_rule()
1533 spec_l3->ipv4.dst_ip = cmd->fs.h_u.udp_ip4_spec.ip4dst; in add_tcp_udp_rule()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/enetc/
H A Denetc_ethtool.c347 rfse.dip_h[0] = l4ip4_h->ip4dst; in enetc_set_cls_entry()
348 rfse.dip_m[0] = l4ip4_m->ip4dst; in enetc_set_cls_entry()
364 rfse.dip_h[0] = l3ip4_h->ip4dst; in enetc_set_cls_entry()
365 rfse.dip_m[0] = l3ip4_m->ip4dst; in enetc_set_cls_entry()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dethtool.h728 __be32 ip4dst; member
745 __be32 ip4dst; member
763 __be32 ip4dst; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dethtool.h728 __be32 ip4dst; member
745 __be32 ip4dst; member
763 __be32 ip4dst; member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dethtool.h847 __be32 ip4dst; member
864 __be32 ip4dst; member
882 __be32 ip4dst; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c930 gfar_set_attribute(be32_to_cpu(value->ip4dst), in gfar_set_basic_ip()
931 be32_to_cpu(mask->ip4dst), in gfar_set_basic_ip()
950 gfar_set_attribute(be32_to_cpu(value->ip4dst), in gfar_set_user_ip()
951 be32_to_cpu(mask->ip4dst), in gfar_set_user_ip()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/cisco/enic/
H A Denic_ethtool.c442 fsp->h_u.tcp_ip4_spec.ip4dst = flow_get_u32_dst(&n->keys); in enic_grxclsrule()
443 fsp->m_u.tcp_ip4_spec.ip4dst = (__u32)~0; in enic_grxclsrule()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c3285 fsp->h_u.tcp_ip4_spec.ip4dst = rule->src_ip; in i40e_get_ethtool_fdir_entry()
3319 fsp->m_u.tcp_ip4_spec.ip4dst = htonl(0xFFFFFFFF); in i40e_get_ethtool_fdir_entry()
4189 if (tcp_ip4_spec->ip4dst == htonl(0xFFFFFFFF)) in i40e_check_fdir_input_set()
4191 else if (!tcp_ip4_spec->ip4dst) in i40e_check_fdir_input_set()
4229 if (usr_ip4_spec->ip4dst == htonl(0xFFFFFFFF)) in i40e_check_fdir_input_set()
4231 else if (!usr_ip4_spec->ip4dst) in i40e_check_fdir_input_set()
4592 input->src_ip = fsp->h_u.tcp_ip4_spec.ip4dst; in i40e_add_fdir_ethtool()
4602 input->src_ip = fsp->h_u.tcp_ip4_spec.ip4dst; in i40e_add_fdir_ethtool()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ethtool.c1679 memcpy(&fs->h_u.tcp_ip4_spec.ip4dst, &dfs->val.lip[0], in cxgb4_fill_filter_rule()
1680 sizeof(fs->h_u.tcp_ip4_spec.ip4dst)); in cxgb4_fill_filter_rule()
1681 memcpy(&fs->m_u.tcp_ip4_spec.ip4dst, &dfs->mask.lip[0], in cxgb4_fill_filter_rule()
1682 sizeof(fs->m_u.tcp_ip4_spec.ip4dst)); in cxgb4_fill_filter_rule()
/OK3568_Linux_fs/kernel/net/ethtool/
H A Dioctl.c3041 if (v4_m_spec->ip4dst) { in ethtool_rx_flow_rule_create()
3042 match->key.ipv4.dst = v4_spec->ip4dst; in ethtool_rx_flow_rule_create()
3043 match->mask.ipv4.dst = v4_m_spec->ip4dst; in ethtool_rx_flow_rule_create()
3046 v4_m_spec->ip4dst) { in ethtool_rx_flow_rule_create()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c1927 (!fsp->h_u.tcp_ip4_spec.ip4dst) || in mtk_hwlro_add_ipaddr()
1931 mac->hwlro_ip[fsp->location] = htonl(fsp->h_u.tcp_ip4_spec.ip4dst); in mtk_hwlro_add_ipaddr()
1991 fsp->h_u.tcp_ip4_spec.ip4dst = ntohl(mac->hwlro_ip[fsp->location]); in mtk_hwlro_get_fdir_entry()
1992 fsp->m_u.tcp_ip4_spec.ip4dst = 0; in mtk_hwlro_get_fdir_entry()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c2559 fsp->h_u.tcp_ip4_spec.ip4dst = rule->filter.formatted.dst_ip[0]; in ixgbe_get_ethtool_fdir_entry()
2560 fsp->m_u.tcp_ip4_spec.ip4dst = mask->formatted.dst_ip[0]; in ixgbe_get_ethtool_fdir_entry()
2842 input->filter.formatted.dst_ip[0] = fsp->h_u.tcp_ip4_spec.ip4dst; in ixgbe_add_ethtool_fdir_entry()
2843 mask.formatted.dst_ip[0] = fsp->m_u.tcp_ip4_spec.ip4dst; in ixgbe_add_ethtool_fdir_entry()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/cadence/
H A Dmacb_main.c3125 if (enable && (tp4sp_m->ip4dst == 0xFFFFFFFF)) in gem_enable_flow_filters()
3169 if (tp4sp_m->ip4dst == 0xFFFFFFFF) { in gem_prog_cmp_regs()
3173 w0 = tp4sp_v->ip4dst; in gem_prog_cmp_regs()
3241 htonl(fs->h_u.tcp_ip4_spec.ip4dst), in gem_add_flow_filter()
3294 htonl(fs->h_u.tcp_ip4_spec.ip4dst), in gem_del_flow_filter()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/aquantia/atlantic/
H A Daq_filters.c516 ntohl(fsp->h_u.tcp_ip4_spec.ip4dst); in aq_set_data_fl3l4()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.c665 &fs->h_u.usr_ip4_spec.ip4dst, in bcmgenet_hfb_create_rxnfc_filter()
666 &fs->m_u.usr_ip4_spec.ip4dst, in bcmgenet_hfb_create_rxnfc_filter()
667 sizeof(fs->h_u.usr_ip4_spec.ip4dst)); in bcmgenet_hfb_create_rxnfc_filter()
1355 VALIDATE_MASK(l4_mask->ip4dst) || in bcmgenet_validate_flow()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c5371 if (!spec->ip4dst) in hclge_fd_check_tcpip4_tuple()
5398 if (!spec->ip4dst) in hclge_fd_check_ip4_tuple()
5693 be32_to_cpu(fs->h_u.tcp_ip4_spec.ip4dst); in hclge_fd_get_tuple()
5695 be32_to_cpu(fs->m_u.tcp_ip4_spec.ip4dst); in hclge_fd_get_tuple()
5719 be32_to_cpu(fs->h_u.usr_ip4_spec.ip4dst); in hclge_fd_get_tuple()
5721 be32_to_cpu(fs->m_u.usr_ip4_spec.ip4dst); in hclge_fd_get_tuple()
6082 spec->ip4dst = cpu_to_be32(rule->tuples.dst_ip[IPV4_INDEX]); in hclge_fd_get_tcpip4_info()
6083 spec_mask->ip4dst = rule->unused_tuple & BIT(INNER_DST_IP) ? in hclge_fd_get_tcpip4_info()
6107 spec->ip4dst = cpu_to_be32(rule->tuples.dst_ip[IPV4_INDEX]); in hclge_fd_get_ip4_info()
6108 spec_mask->ip4dst = rule->unused_tuple & BIT(INNER_DST_IP) ? in hclge_fd_get_ip4_info()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c1009 fs->h_u.tcp_ip4_spec.ip4dst = fkeys->addrs.v4addrs.dst; in bnxt_grxclsrule()
1010 fs->m_u.tcp_ip4_spec.ip4dst = cpu_to_be32(~0); in bnxt_grxclsrule()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c1360 fsp->h_u.tcp_ip4_spec.ip4dst = fltr->tuple.dst_ipv4; in qede_get_cls_rule_entry()

12