Home
last modified time | relevance | path

Searched refs:usr_ip4_spec (Results 1 - 25 of 37) sorted by relevance

12

/kernel/linux/linux-5.10/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 in ice_get_ethtool_fdir_entry()
854 ice_set_fdir_ip4_usr_seg(struct ice_flow_seg_info *seg, struct ethtool_usrip4_spec *usr_ip4_spec, bool *perfect_fltr) ice_set_fdir_ip4_usr_seg() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_ethtool_fdir.c141 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in ice_get_ethtool_fdir_entry()
142 fsp->h_u.usr_ip4_spec.proto = 0; in ice_get_ethtool_fdir_entry()
143 fsp->h_u.usr_ip4_spec.l4_4_bytes = rule->ip.v4.l4_header; in ice_get_ethtool_fdir_entry()
144 fsp->h_u.usr_ip4_spec.tos = rule->ip.v4.tos; in ice_get_ethtool_fdir_entry()
145 fsp->h_u.usr_ip4_spec.ip4src = rule->ip.v4.src_ip; in ice_get_ethtool_fdir_entry()
146 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.ip4src = rule->mask.v4.src_ip; in ice_get_ethtool_fdir_entry()
148 fsp->m_u.usr_ip4_spec.ip4dst = rule->mask.v4.dst_ip; in ice_get_ethtool_fdir_entry()
149 fsp->m_u.usr_ip4_spec.ip_ver = 0xFF; in ice_get_ethtool_fdir_entry()
150 fsp->m_u.usr_ip4_spec in ice_get_ethtool_fdir_entry()
1000 ice_set_fdir_ip4_usr_seg(struct ice_flow_seg_info *seg, struct ethtool_usrip4_spec *usr_ip4_spec, bool *perfect_fltr) ice_set_fdir_ip4_usr_seg() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp.c427 &fs->h_u.usr_ip4_spec.tos, in bcmasp_netfilt_wr_to_hw()
428 &fs->m_u.usr_ip4_spec.tos, in bcmasp_netfilt_wr_to_hw()
429 sizeof(fs->h_u.usr_ip4_spec.tos)); in bcmasp_netfilt_wr_to_hw()
431 &fs->h_u.usr_ip4_spec.proto, in bcmasp_netfilt_wr_to_hw()
432 &fs->m_u.usr_ip4_spec.proto, in bcmasp_netfilt_wr_to_hw()
433 sizeof(fs->h_u.usr_ip4_spec.proto)); in bcmasp_netfilt_wr_to_hw()
435 &fs->h_u.usr_ip4_spec.ip4src, in bcmasp_netfilt_wr_to_hw()
436 &fs->m_u.usr_ip4_spec.ip4src, in bcmasp_netfilt_wr_to_hw()
437 sizeof(fs->h_u.usr_ip4_spec.ip4src)); in bcmasp_netfilt_wr_to_hw()
439 &fs->h_u.usr_ip4_spec in bcmasp_netfilt_wr_to_hw()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c1109 fsp->h_u.usr_ip4_spec.ip4src = rule->ip_data.v4_addrs.src_ip; in iavf_get_ethtool_fdir_entry()
1110 fsp->h_u.usr_ip4_spec.ip4dst = rule->ip_data.v4_addrs.dst_ip; in iavf_get_ethtool_fdir_entry()
1111 fsp->h_u.usr_ip4_spec.l4_4_bytes = rule->ip_data.l4_header; in iavf_get_ethtool_fdir_entry()
1112 fsp->h_u.usr_ip4_spec.tos = rule->ip_data.tos; in iavf_get_ethtool_fdir_entry()
1113 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in iavf_get_ethtool_fdir_entry()
1114 fsp->h_u.usr_ip4_spec.proto = rule->ip_data.proto; in iavf_get_ethtool_fdir_entry()
1115 fsp->m_u.usr_ip4_spec.ip4src = rule->ip_mask.v4_addrs.src_ip; in iavf_get_ethtool_fdir_entry()
1116 fsp->m_u.usr_ip4_spec.ip4dst = rule->ip_mask.v4_addrs.dst_ip; 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()
1118 fsp->m_u.usr_ip4_spec in iavf_get_ethtool_fdir_entry()
[all...]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c261 struct ethtool_usrip4_spec *l3_mask = &fs->m_u.usr_ip4_spec; in parse_ip4()
262 struct ethtool_usrip4_spec *l3_val = &fs->h_u.usr_ip4_spec; in parse_ip4()
594 struct ethtool_usrip4_spec *l3_mask = &fs->m_u.usr_ip4_spec; in validate_ip4()
598 fs->h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4) in validate_ip4()
/kernel/linux/linux-5.10/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 in bcmgenet_hfb_create_rxnfc_filter()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.c635 &fs->h_u.usr_ip4_spec.tos, in bcmgenet_hfb_create_rxnfc_filter()
636 &fs->m_u.usr_ip4_spec.tos, in bcmgenet_hfb_create_rxnfc_filter()
637 sizeof(fs->h_u.usr_ip4_spec.tos)); in bcmgenet_hfb_create_rxnfc_filter()
639 &fs->h_u.usr_ip4_spec.proto, in bcmgenet_hfb_create_rxnfc_filter()
640 &fs->m_u.usr_ip4_spec.proto, in bcmgenet_hfb_create_rxnfc_filter()
641 sizeof(fs->h_u.usr_ip4_spec.proto)); in bcmgenet_hfb_create_rxnfc_filter()
643 &fs->h_u.usr_ip4_spec.ip4src, in bcmgenet_hfb_create_rxnfc_filter()
644 &fs->m_u.usr_ip4_spec.ip4src, in bcmgenet_hfb_create_rxnfc_filter()
645 sizeof(fs->h_u.usr_ip4_spec.ip4src)); in bcmgenet_hfb_create_rxnfc_filter()
647 &fs->h_u.usr_ip4_spec in bcmgenet_hfb_create_rxnfc_filter()
[all...]
/kernel/linux/linux-5.10/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 in i40e_check_fdir_input_set()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c3378 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()
4295 struct ethtool_usrip4_spec *usr_ip4_spec; in i40e_check_fdir_input_set() local
4450 usr_ip4_spec = &fsp->m_u.usr_ip4_spec; in i40e_check_fdir_input_set()
4453 if (usr_ip4_spec->ip4src == htonl(0xFFFFFFFF)) in i40e_check_fdir_input_set()
4455 else if (!usr_ip4_spec->ip4src) in i40e_check_fdir_input_set()
4461 if (usr_ip4_spec->ip4dst == htonl(0xFFFFFFFF)) in i40e_check_fdir_input_set()
4463 else if (!usr_ip4_spec in i40e_check_fdir_input_set()
[all...]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Dethtool_common.c650 struct ethtool_usrip4_spec *uip_entry = &rule->h_u.usr_ip4_spec; in efx_ethtool_get_class_rule()
651 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in efx_ethtool_get_class_rule()
922 struct ethtool_usrip4_spec *uip_entry = &rule->h_u.usr_ip4_spec; in efx_ethtool_set_class_rule()
923 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in efx_ethtool_set_class_rule()
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c797 struct ethtool_usrip4_spec *uip_entry = &rule->h_u.usr_ip4_spec; in ef4_ethtool_get_class_rule()
798 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in ef4_ethtool_get_class_rule()
1033 struct ethtool_usrip4_spec *uip_entry = &rule->h_u.usr_ip4_spec; in ef4_ethtool_set_class_rule()
1034 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in ef4_ethtool_set_class_rule()
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.c650 struct ethtool_usrip4_spec *uip_entry = &rule->h_u.usr_ip4_spec; in efx_ethtool_get_class_rule()
651 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in efx_ethtool_get_class_rule()
923 struct ethtool_usrip4_spec *uip_entry = &rule->h_u.usr_ip4_spec; in efx_ethtool_set_class_rule()
924 struct ethtool_usrip4_spec *uip_mask = &rule->m_u.usr_ip4_spec; in efx_ethtool_set_class_rule()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c1376 l3_mask = &cmd->fs.m_u.usr_ip4_spec; in mlx4_en_validate_flow()
1378 cmd->fs.h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4 || in mlx4_en_validate_flow()
1472 struct ethtool_usrip4_spec *l3_mask = &cmd->fs.m_u.usr_ip4_spec; in add_ip_rule()
1483 usr_ip4_spec.ip4dst); in add_ip_rule()
1487 spec_l3->ipv4.src_ip = cmd->fs.h_u.usr_ip4_spec.ip4src; in add_ip_rule()
1490 spec_l3->ipv4.dst_ip = cmd->fs.h_u.usr_ip4_spec.ip4dst; in add_ip_rule()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dethtool.h295 struct ethtool_usrip4_spec usr_ip4_spec; member
369 struct ethtool_usrip4_spec usr_ip4_spec; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dethtool.h945 struct ethtool_usrip4_spec usr_ip4_spec; member
1186 struct ethtool_usrip4_spec usr_ip4_spec; member
1824 #define IPV4_USER_FLOW 0x0d /* spec only (usr_ip4_spec) */
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dethtool.h1076 struct ethtool_usrip4_spec usr_ip4_spec; member
1319 struct ethtool_usrip4_spec usr_ip4_spec; member
2008 #define IPV4_USER_FLOW 0x0d /* spec only (usr_ip4_spec) */
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ethtool.c533 err = dpaa2_eth_prep_uip_rule(&fs->h_u.usr_ip4_spec, in dpaa2_eth_prep_cls_rule()
534 &fs->m_u.usr_ip4_spec, key, mask, fields); in dpaa2_eth_prep_cls_rule()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dethtool.h350 struct ethtool_usrip4_spec usr_ip4_spec; member
415 struct ethtool_usrip4_spec usr_ip4_spec; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dethtool.h350 struct ethtool_usrip4_spec usr_ip4_spec; member
415 struct ethtool_usrip4_spec usr_ip4_spec; member

Completed in 60 milliseconds

12