Home
last modified time | relevance | path

Searched refs:l4_4_bytes (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_ethtool_fdir.c143 fsp->h_u.usr_ip4_spec.l4_4_bytes = rule->ip.v4.l4_header; in ice_get_ethtool_fdir_entry()
151 fsp->m_u.usr_ip4_spec.l4_4_bytes = rule->mask.v4.l4_header; in ice_get_ethtool_fdir_entry()
167 fsp->h_u.usr_ip6_spec.l4_4_bytes = rule->ip.v6.l4_header; in ice_get_ethtool_fdir_entry()
178 fsp->m_u.usr_ip6_spec.l4_4_bytes = rule->mask.v6.l4_header; in ice_get_ethtool_fdir_entry()
1005 if (usr_ip4_spec->l4_4_bytes) in ice_set_fdir_ip4_usr_seg()
1151 if (usr_ip6_spec->l4_4_bytes) in ice_set_fdir_ip6_usr_seg()
1773 input->ip.v4.l4_header = fsp->h_u.usr_ip4_spec.l4_4_bytes; in ice_set_fdir_input_set()
1779 input->mask.v4.l4_header = fsp->m_u.usr_ip4_spec.l4_4_bytes; in ice_set_fdir_input_set()
1807 input->ip.v6.l4_header = fsp->h_u.usr_ip6_spec.l4_4_bytes; in ice_set_fdir_input_set()
1820 input->mask.v6.l4_header = fsp->m_u.usr_ip6_spec.l4_4_bytes; in ice_set_fdir_input_set()
/linux-6.6.21/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c1111 fsp->h_u.usr_ip4_spec.l4_4_bytes = rule->ip_data.l4_header; in iavf_get_ethtool_fdir_entry()
1117 fsp->m_u.usr_ip4_spec.l4_4_bytes = rule->ip_mask.l4_header; in iavf_get_ethtool_fdir_entry()
1160 fsp->h_u.usr_ip6_spec.l4_4_bytes = rule->ip_data.l4_header; in iavf_get_ethtool_fdir_entry()
1167 fsp->m_u.usr_ip6_spec.l4_4_bytes = rule->ip_mask.l4_header; in iavf_get_ethtool_fdir_entry()
1301 fltr->ip_data.l4_header = fsp->h_u.usr_ip4_spec.l4_4_bytes; in iavf_add_fdir_fltr_info()
1306 fltr->ip_mask.l4_header = fsp->m_u.usr_ip4_spec.l4_4_bytes; in iavf_add_fdir_fltr_info()
1351 fltr->ip_data.l4_header = fsp->h_u.usr_ip6_spec.l4_4_bytes; in iavf_add_fdir_fltr_info()
1358 fltr->ip_mask.l4_header = fsp->m_u.usr_ip6_spec.l4_4_bytes; in iavf_add_fdir_fltr_info()
/linux-6.6.21/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c412 if (uip_mask->l4_4_bytes) { in dpaa2_eth_prep_uip_rule()
413 tmp_value = be32_to_cpu(uip_value->l4_4_bytes); in dpaa2_eth_prep_uip_rule()
414 tmp_mask = be32_to_cpu(uip_mask->l4_4_bytes); in dpaa2_eth_prep_uip_rule()
/linux-6.6.21/drivers/net/ethernet/broadcom/asp2/
Dbcmasp.c442 if (!fs->m_u.usr_ip4_spec.l4_4_bytes) in bcmasp_netfilt_wr_to_hw()
452 &fs->h_u.usr_ip4_spec.l4_4_bytes, in bcmasp_netfilt_wr_to_hw()
453 &fs->m_u.usr_ip4_spec.l4_4_bytes, in bcmasp_netfilt_wr_to_hw()
454 sizeof(fs->h_u.usr_ip4_spec.l4_4_bytes) in bcmasp_netfilt_wr_to_hw()
/linux-6.6.21/include/uapi/linux/
Dethtool.h1014 __be32 l4_4_bytes; member
1065 __be32 l4_4_bytes; member
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c597 if (l3_mask->l4_4_bytes || l3_mask->tos || in validate_ip4()
615 if (l3_mask->l4_4_bytes || l3_mask->tclass) in validate_ip6()
/linux-6.6.21/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c965 gfar_set_attribute(be32_to_cpu(value->l4_4_bytes), in gfar_set_user_ip()
966 be32_to_cpu(mask->l4_4_bytes), in gfar_set_user_ip()
/linux-6.6.21/drivers/net/ethernet/sfc/siena/
Dethtool_common.c1035 if (uip_mask->l4_4_bytes || uip_mask->tos || uip_mask->ip_ver || in efx_ethtool_set_class_rule()
1061 if (uip6_mask->l4_4_bytes || uip6_mask->tclass) in efx_ethtool_set_class_rule()
/linux-6.6.21/drivers/net/ethernet/sfc/
Dethtool_common.c1034 if (uip_mask->l4_4_bytes || uip_mask->tos || uip_mask->ip_ver || in efx_ethtool_set_class_rule()
1060 if (uip6_mask->l4_4_bytes || uip6_mask->tclass) in efx_ethtool_set_class_rule()
/linux-6.6.21/drivers/net/ethernet/sfc/falcon/
Dethtool.c1136 if (uip_mask->l4_4_bytes || uip_mask->tos || uip_mask->ip_ver || in ef4_ethtool_set_class_rule()
1162 if (uip6_mask->l4_4_bytes || uip6_mask->tclass) in ef4_ethtool_set_class_rule()
/linux-6.6.21/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c650 if (!fs->m_u.usr_ip4_spec.l4_4_bytes) in bcmgenet_hfb_create_rxnfc_filter()
659 size = sizeof(fs->h_u.usr_ip4_spec.l4_4_bytes); in bcmgenet_hfb_create_rxnfc_filter()
662 &fs->h_u.usr_ip4_spec.l4_4_bytes, in bcmgenet_hfb_create_rxnfc_filter()
663 &fs->m_u.usr_ip4_spec.l4_4_bytes, in bcmgenet_hfb_create_rxnfc_filter()
1382 VALIDATE_MASK(l4_mask->l4_4_bytes) || in bcmgenet_validate_flow()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1377 if (l3_mask->l4_4_bytes || l3_mask->tos || l3_mask->proto || in mlx4_en_validate_flow()
/linux-6.6.21/drivers/net/ethernet/sun/
Dniu.c7148 fsp->h_u.usr_ip4_spec.l4_4_bytes = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key()
7152 fsp->m_u.usr_ip4_spec.l4_4_bytes = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key()
7410 spi = be32_to_cpu(fsp->h_u.usr_ip4_spec.l4_4_bytes); in niu_get_tcamkey_from_ip4fs()
7411 spim = be32_to_cpu(fsp->m_u.usr_ip4_spec.l4_4_bytes); in niu_get_tcamkey_from_ip4fs()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c4469 if (usr_ip4_spec->l4_4_bytes) in i40e_check_fdir_input_set()
4508 if (usr_ip6_spec->l4_4_bytes) in i40e_check_fdir_input_set()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c5873 if (spec->l4_4_bytes) in hclge_fd_check_ip4_tuple()
5931 if (spec->l4_4_bytes) in hclge_fd_check_ip6_tuple()