Searched refs:usr_ip4_spec (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/net/ethernet/broadcom/asp2/ |
| H A D | bcmasp.c | 444 &fs->h_u.usr_ip4_spec.tos, in bcmasp_netfilt_wr_to_hw() 445 &fs->m_u.usr_ip4_spec.tos, in bcmasp_netfilt_wr_to_hw() 446 sizeof(fs->h_u.usr_ip4_spec.tos)); in bcmasp_netfilt_wr_to_hw() 448 &fs->h_u.usr_ip4_spec.proto, in bcmasp_netfilt_wr_to_hw() 449 &fs->m_u.usr_ip4_spec.proto, in bcmasp_netfilt_wr_to_hw() 450 sizeof(fs->h_u.usr_ip4_spec.proto)); in bcmasp_netfilt_wr_to_hw() 452 &fs->h_u.usr_ip4_spec.ip4src, in bcmasp_netfilt_wr_to_hw() 453 &fs->m_u.usr_ip4_spec.ip4src, in bcmasp_netfilt_wr_to_hw() 454 sizeof(fs->h_u.usr_ip4_spec.ip4src)); in bcmasp_netfilt_wr_to_hw() 456 &fs->h_u.usr_ip4_spec.ip4dst, in bcmasp_netfilt_wr_to_hw() [all …]
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_ethtool.c | 3378 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in i40e_get_ethtool_fdir_entry() 3379 fsp->h_u.usr_ip4_spec.proto = 0; in i40e_get_ethtool_fdir_entry() 3380 fsp->m_u.usr_ip4_spec.proto = 0; in i40e_get_ethtool_fdir_entry() 4303 struct ethtool_usrip4_spec *usr_ip4_spec; in i40e_check_fdir_input_set() local 4458 usr_ip4_spec = &fsp->m_u.usr_ip4_spec; in i40e_check_fdir_input_set() 4461 if (usr_ip4_spec->ip4src == htonl(0xFFFFFFFF)) in i40e_check_fdir_input_set() 4463 else if (!usr_ip4_spec->ip4src) in i40e_check_fdir_input_set() 4469 if (usr_ip4_spec->ip4dst == htonl(0xFFFFFFFF)) in i40e_check_fdir_input_set() 4471 else if (!usr_ip4_spec->ip4dst) in i40e_check_fdir_input_set() 4477 if (usr_ip4_spec->l4_4_bytes) in i40e_check_fdir_input_set() [all …]
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | ethtool_common.c | 644 struct ethtool_usrip4_spec *uip_entry = &rule->h_u.usr_ip4_spec; in efx_ethtool_get_class_rule() 645 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in efx_ethtool_get_class_rule() 907 struct ethtool_usrip4_spec *uip_entry = &rule->h_u.usr_ip4_spec; in efx_ethtool_set_class_rule() 908 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in efx_ethtool_set_class_rule()
|
| /linux/drivers/net/ethernet/sfc/falcon/ |
| H A D | ethtool.c | 791 struct ethtool_usrip4_spec *uip_entry = &rule->h_u.usr_ip4_spec; in ef4_ethtool_get_class_rule() 792 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in ef4_ethtool_get_class_rule() 1035 struct ethtool_usrip4_spec *uip_entry = &rule->h_u.usr_ip4_spec; in ef4_ethtool_set_class_rule() 1036 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in ef4_ethtool_set_class_rule()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | ethtool_common.c | 643 struct ethtool_usrip4_spec *uip_entry = &rule->h_u.usr_ip4_spec; in efx_ethtool_get_class_rule() 644 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in efx_ethtool_get_class_rule() 916 struct ethtool_usrip4_spec *uip_entry = &rule->h_u.usr_ip4_spec; in efx_ethtool_set_class_rule() 917 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in efx_ethtool_set_class_rule()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_flows.c | 540 struct ethtool_usrip4_spec *ipv4_usr_mask = &fsp->m_u.usr_ip4_spec; in otx2_prepare_ipv4_flow() 541 struct ethtool_usrip4_spec *ipv4_usr_hdr = &fsp->h_u.usr_ip4_spec; in otx2_prepare_ipv4_flow()
|
| /linux/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_filters.c | 26 switch (fsp->h_u.usr_ip4_spec.proto) { in aq_rule_is_approve()
|
| /linux/drivers/net/ethernet/sun/ |
| H A D | niu.c | 7173 fsp->h_u.usr_ip4_spec.l4_4_bytes = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key() 7177 fsp->m_u.usr_ip4_spec.l4_4_bytes = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key() 7179 fsp->h_u.usr_ip4_spec.proto = in niu_get_ip4fs_from_tcam_key() 7182 fsp->m_u.usr_ip4_spec.proto = in niu_get_ip4fs_from_tcam_key() 7186 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in niu_get_ip4fs_from_tcam_key() 7435 spi = be32_to_cpu(fsp->h_u.usr_ip4_spec.l4_4_bytes); in niu_get_tcamkey_from_ip4fs() 7436 spim = be32_to_cpu(fsp->m_u.usr_ip4_spec.l4_4_bytes); in niu_get_tcamkey_from_ip4fs() 7440 pid = fsp->h_u.usr_ip4_spec.proto; in niu_get_tcamkey_from_ip4fs() 7474 struct ethtool_usrip4_spec *uspec = &fsp->h_u.usr_ip4_spec; in niu_add_ethtool_tcam_entry() 7475 struct ethtool_usrip4_spec *umask = &fsp->m_u.usr_ip4_spec; in niu_add_ethtool_tcam_entry()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_main.c | 6214 ret = hclge_fd_check_ip4_tuple(&fs->h_u.usr_ip4_spec, in hclge_fd_check_spec() 6288 be32_to_cpu(fs->h_u.usr_ip4_spec.ip4src); in hclge_fd_get_ip4_tuple() 6290 be32_to_cpu(fs->m_u.usr_ip4_spec.ip4src); in hclge_fd_get_ip4_tuple() 6293 be32_to_cpu(fs->h_u.usr_ip4_spec.ip4dst); in hclge_fd_get_ip4_tuple() 6295 be32_to_cpu(fs->m_u.usr_ip4_spec.ip4dst); in hclge_fd_get_ip4_tuple() 6297 rule->tuples.ip_tos = fs->h_u.usr_ip4_spec.tos; in hclge_fd_get_ip4_tuple() 6298 rule->tuples_mask.ip_tos = fs->m_u.usr_ip4_spec.tos; in hclge_fd_get_ip4_tuple() 6300 rule->tuples.ip_proto = fs->h_u.usr_ip4_spec.proto; in hclge_fd_get_ip4_tuple() 6301 rule->tuples_mask.ip_proto = fs->m_u.usr_ip4_spec.proto; in hclge_fd_get_ip4_tuple() 6953 hclge_fd_get_ip4_info(rule, &fs->h_u.usr_ip4_spec, in hclge_get_fd_rule_info() [all …]
|