Home
last modified time | relevance | path

Searched refs:usr_ip4_spec (Results 1 – 18 of 18) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/
H A Dice_ethtool_fdir.c140 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in ice_get_ethtool_fdir_entry()
141 fsp->h_u.usr_ip4_spec.proto = 0; in ice_get_ethtool_fdir_entry()
142 fsp->h_u.usr_ip4_spec.l4_4_bytes = rule->ip.v4.l4_header; in ice_get_ethtool_fdir_entry()
143 fsp->h_u.usr_ip4_spec.tos = rule->ip.v4.tos; in ice_get_ethtool_fdir_entry()
144 fsp->h_u.usr_ip4_spec.ip4src = rule->ip.v4.src_ip; in ice_get_ethtool_fdir_entry()
145 fsp->h_u.usr_ip4_spec.ip4dst = rule->ip.v4.dst_ip; in ice_get_ethtool_fdir_entry()
146 fsp->m_u.usr_ip4_spec.ip4src = rule->mask.v4.src_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()
148 fsp->m_u.usr_ip4_spec.ip_ver = 0xFF; in ice_get_ethtool_fdir_entry()
149 fsp->m_u.usr_ip4_spec.proto = 0; in ice_get_ethtool_fdir_entry()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.c653 &fs->h_u.usr_ip4_spec.tos, in bcmgenet_hfb_create_rxnfc_filter()
654 &fs->m_u.usr_ip4_spec.tos, in bcmgenet_hfb_create_rxnfc_filter()
655 sizeof(fs->h_u.usr_ip4_spec.tos)); in bcmgenet_hfb_create_rxnfc_filter()
657 &fs->h_u.usr_ip4_spec.proto, in bcmgenet_hfb_create_rxnfc_filter()
658 &fs->m_u.usr_ip4_spec.proto, in bcmgenet_hfb_create_rxnfc_filter()
659 sizeof(fs->h_u.usr_ip4_spec.proto)); in bcmgenet_hfb_create_rxnfc_filter()
661 &fs->h_u.usr_ip4_spec.ip4src, in bcmgenet_hfb_create_rxnfc_filter()
662 &fs->m_u.usr_ip4_spec.ip4src, in bcmgenet_hfb_create_rxnfc_filter()
663 sizeof(fs->h_u.usr_ip4_spec.ip4src)); in bcmgenet_hfb_create_rxnfc_filter()
665 &fs->h_u.usr_ip4_spec.ip4dst, in bcmgenet_hfb_create_rxnfc_filter()
[all …]
/OK3568_Linux_fs/app/forlinx/quectelCM/
H A Dethtool-copy.h501 struct ethtool_usrip4_spec usr_ip4_spec; member
656 struct ethtool_usrip4_spec usr_ip4_spec; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c240 struct ethtool_usrip4_spec *l3_mask = &fs->m_u.usr_ip4_spec; in parse_ip4()
241 struct ethtool_usrip4_spec *l3_val = &fs->h_u.usr_ip4_spec; in parse_ip4()
538 struct ethtool_usrip4_spec *l3_mask = &fs->m_u.usr_ip4_spec; in validate_ip4()
542 fs->h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4) in validate_ip4()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c3274 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in i40e_get_ethtool_fdir_entry()
3275 fsp->h_u.usr_ip4_spec.proto = 0; in i40e_get_ethtool_fdir_entry()
3276 fsp->m_u.usr_ip4_spec.proto = 0; in i40e_get_ethtool_fdir_entry()
4128 struct ethtool_usrip4_spec *usr_ip4_spec; in i40e_check_fdir_input_set() local
4218 usr_ip4_spec = &fsp->m_u.usr_ip4_spec; in i40e_check_fdir_input_set()
4221 if (usr_ip4_spec->ip4src == htonl(0xFFFFFFFF)) in i40e_check_fdir_input_set()
4223 else if (!usr_ip4_spec->ip4src) 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()
4237 if (usr_ip4_spec->l4_4_bytes) in i40e_check_fdir_input_set()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c787 struct ethtool_usrip4_spec *uip_entry = &rule->h_u.usr_ip4_spec; in ef4_ethtool_get_class_rule()
788 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in ef4_ethtool_get_class_rule()
1023 struct ethtool_usrip4_spec *uip_entry = &rule->h_u.usr_ip4_spec; in ef4_ethtool_set_class_rule()
1024 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in ef4_ethtool_set_class_rule()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/
H A Dethtool_common.c649 struct ethtool_usrip4_spec *uip_entry = &rule->h_u.usr_ip4_spec; in efx_ethtool_get_class_rule()
650 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in efx_ethtool_get_class_rule()
921 struct ethtool_usrip4_spec *uip_entry = &rule->h_u.usr_ip4_spec; in efx_ethtool_set_class_rule()
922 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in efx_ethtool_set_class_rule()
/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.h826 struct ethtool_usrip4_spec usr_ip4_spec; member
1067 struct ethtool_usrip4_spec usr_ip4_spec; 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.h826 struct ethtool_usrip4_spec usr_ip4_spec; member
1067 struct ethtool_usrip4_spec usr_ip4_spec; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c1365 l3_mask = &cmd->fs.m_u.usr_ip4_spec; in mlx4_en_validate_flow()
1367 cmd->fs.h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4 || in mlx4_en_validate_flow()
1461 struct ethtool_usrip4_spec *l3_mask = &cmd->fs.m_u.usr_ip4_spec; in add_ip_rule()
1472 usr_ip4_spec.ip4dst); in add_ip_rule()
1476 spec_l3->ipv4.src_ip = cmd->fs.h_u.usr_ip4_spec.ip4src; in add_ip_rule()
1479 spec_l3->ipv4.dst_ip = cmd->fs.h_u.usr_ip4_spec.ip4dst; in add_ip_rule()
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dethtool.h945 struct ethtool_usrip4_spec usr_ip4_spec; member
1186 struct ethtool_usrip4_spec usr_ip4_spec; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ethtool.c501 err = dpaa2_eth_prep_uip_rule(&fs->h_u.usr_ip4_spec, in dpaa2_eth_prep_cls_rule()
502 &fs->m_u.usr_ip4_spec, key, mask, fields); in dpaa2_eth_prep_cls_rule()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/enetc/
H A Denetc_ethtool.c359 l3ip4_h = &fs->h_u.usr_ip4_spec; in enetc_set_cls_entry()
360 l3ip4_m = &fs->m_u.usr_ip4_spec; in enetc_set_cls_entry()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c2545 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in ixgbe_get_ethtool_fdir_entry()
2546 fsp->h_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry()
2547 fsp->m_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry()
2746 switch (fsp->h_u.usr_ip4_spec.proto) { in ixgbe_flowspec_to_flow_type()
2757 if (!fsp->m_u.usr_ip4_spec.proto) { in ixgbe_flowspec_to_flow_type()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sun/
H A Dniu.c7130 fsp->h_u.usr_ip4_spec.l4_4_bytes = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key()
7134 fsp->m_u.usr_ip4_spec.l4_4_bytes = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key()
7136 fsp->h_u.usr_ip4_spec.proto = in niu_get_ip4fs_from_tcam_key()
7139 fsp->m_u.usr_ip4_spec.proto = in niu_get_ip4fs_from_tcam_key()
7143 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in niu_get_ip4fs_from_tcam_key()
7392 spi = be32_to_cpu(fsp->h_u.usr_ip4_spec.l4_4_bytes); in niu_get_tcamkey_from_ip4fs()
7393 spim = be32_to_cpu(fsp->m_u.usr_ip4_spec.l4_4_bytes); in niu_get_tcamkey_from_ip4fs()
7397 pid = fsp->h_u.usr_ip4_spec.proto; in niu_get_tcamkey_from_ip4fs()
7431 struct ethtool_usrip4_spec *uspec = &fsp->h_u.usr_ip4_spec; in niu_add_ethtool_tcam_entry()
7432 struct ethtool_usrip4_spec *umask = &fsp->m_u.usr_ip4_spec; in niu_add_ethtool_tcam_entry()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c5568 ret = hclge_fd_check_ip4_tuple(&fs->h_u.usr_ip4_spec, in hclge_fd_check_spec()
5714 be32_to_cpu(fs->h_u.usr_ip4_spec.ip4src); in hclge_fd_get_tuple()
5716 be32_to_cpu(fs->m_u.usr_ip4_spec.ip4src); 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()
5723 rule->tuples.ip_tos = fs->h_u.usr_ip4_spec.tos; in hclge_fd_get_tuple()
5724 rule->tuples_mask.ip_tos = fs->m_u.usr_ip4_spec.tos; in hclge_fd_get_tuple()
5726 rule->tuples.ip_proto = fs->h_u.usr_ip4_spec.proto; in hclge_fd_get_tuple()
5727 rule->tuples_mask.ip_proto = fs->m_u.usr_ip4_spec.proto; in hclge_fd_get_tuple()
6252 hclge_fd_get_ip4_info(rule, &fs->h_u.usr_ip4_spec, in hclge_get_fd_rule_info()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/aquantia/atlantic/
H A Daq_filters.c26 switch (fsp->h_u.usr_ip4_spec.proto) { in aq_rule_is_approve()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c1206 if (flow->h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4) in gfar_check_capability()