Home
last modified time | relevance | path

Searched refs:ip_ver (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.6.21/drivers/mailbox/
Dstm32-ipcc.c211 u32 ip_ver; in stm32_ipcc_probe() local
314 ip_ver = readl_relaxed(ipcc->reg_base + IPCC_VER); in stm32_ipcc_probe()
317 FIELD_GET(VER_MAJREV_MASK, ip_ver), in stm32_ipcc_probe()
318 FIELD_GET(VER_MINREV_MASK, ip_ver), in stm32_ipcc_probe()
/linux-6.6.21/drivers/net/ethernet/intel/iavf/
Diavf_fdir.h114 u8 ip_ver; /* used to adjust the flex offset, 4 : IPv4, 6 : IPv6 */ member
Diavf_ethtool.c1113 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in iavf_get_ethtool_fdir_entry()
1119 fsp->m_u.usr_ip4_spec.ip_ver = 0xFF; in iavf_get_ethtool_fdir_entry()
1284 fltr->ip_ver = 4; in iavf_add_fdir_fltr_info()
1296 fltr->ip_ver = 4; in iavf_add_fdir_fltr_info()
1309 fltr->ip_ver = 4; in iavf_add_fdir_fltr_info()
1328 fltr->ip_ver = 6; in iavf_add_fdir_fltr_info()
1344 fltr->ip_ver = 6; in iavf_add_fdir_fltr_info()
1361 fltr->ip_ver = 6; in iavf_add_fdir_fltr_info()
Diavf_fdir.c43 if (fltr->ip_ver == 4) { in iavf_validate_fdir_fltr_masks()
54 } else if (fltr->ip_ver == 6) { in iavf_validate_fdir_fltr_masks()
101 (fltr->ip_ver == 4 ? sizeof(struct iphdr) : sizeof(struct ipv6hdr)) + in iavf_pkt_udp_no_pay_len()
/linux-6.6.21/net/tls/
Dtls_main.c132 int ip_ver = sk->sk_family == AF_INET6 ? TLSV6 : TLSV4; in update_sk_prot() local
135 &tls_prots[ip_ver][ctx->tx_conf][ctx->rx_conf]); in update_sk_prot()
137 &tls_proto_ops[ip_ver][ctx->tx_conf][ctx->rx_conf]); in update_sk_prot()
859 int ip_ver = sk->sk_family == AF_INET6 ? TLSV6 : TLSV4; in tls_build_proto() local
863 if (ip_ver == TLSV6 && in tls_build_proto()
875 if (ip_ver == TLSV4 && in tls_build_proto()
/linux-6.6.21/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c393 int ip_ver = 0; in qedr_gsi_build_header() local
416 ip_ver = 4; in qedr_gsi_build_header()
422 ip_ver = 6; in qedr_gsi_build_header()
428 has_grh_ipv6, ip_ver, has_udp, 0, udh); in qedr_gsi_build_header()
/linux-6.6.21/drivers/scsi/qedi/
Dqedi_nvm_iscsi_cfg.h154 u32 ip_ver; member
/linux-6.6.21/drivers/ufs/host/
Dufs-mediatek.h186 u32 ip_ver; member
Dufs-mediatek.c349 if (((host->ip_ver >> 16) & 0xFF) >= 0x36) { in ufs_mtk_dbg_sel()
960 host->ip_ver = ufshcd_readl(hba, REG_UFS_MTK_IP_VER); in ufs_mtk_init()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_ethtool_fdir.c141 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in ice_get_ethtool_fdir_entry()
149 fsp->m_u.usr_ip4_spec.ip_ver = 0xFF; in ice_get_ethtool_fdir_entry()
1009 if (usr_ip4_spec->ip_ver) in ice_set_fdir_ip4_usr_seg()
1775 input->ip.v4.ip_ver = fsp->h_u.usr_ip4_spec.ip_ver; in ice_set_fdir_input_set()
1781 input->mask.v4.ip_ver = fsp->m_u.usr_ip4_spec.ip_ver; in ice_set_fdir_input_set()
Dice_fdir.h108 u8 ip_ver; member
Dice_fdir.c1241 a->ip.v4.ip_ver == b->ip.v4.ip_ver && in ice_fdir_comp_rules()
/linux-6.6.21/drivers/net/ethernet/sfc/siena/
Dethtool_common.c756 uip_entry->ip_ver = ETH_RX_NFC_IP4; in efx_ethtool_get_class_rule()
1035 if (uip_mask->l4_4_bytes || uip_mask->tos || uip_mask->ip_ver || in efx_ethtool_set_class_rule()
1036 uip_entry->ip_ver != ETH_RX_NFC_IP4) in efx_ethtool_set_class_rule()
/linux-6.6.21/drivers/net/ethernet/sfc/
Dethtool_common.c756 uip_entry->ip_ver = ETH_RX_NFC_IP4; in efx_ethtool_get_class_rule()
1034 if (uip_mask->l4_4_bytes || uip_mask->tos || uip_mask->ip_ver || in efx_ethtool_set_class_rule()
1035 uip_entry->ip_ver != ETH_RX_NFC_IP4) in efx_ethtool_set_class_rule()
/linux-6.6.21/drivers/net/ethernet/sfc/falcon/
Dethtool.c903 uip_entry->ip_ver = ETH_RX_NFC_IP4; in ef4_ethtool_get_class_rule()
1136 if (uip_mask->l4_4_bytes || uip_mask->tos || uip_mask->ip_ver || in ef4_ethtool_set_class_rule()
1137 uip_entry->ip_ver != ETH_RX_NFC_IP4) in ef4_ethtool_set_class_rule()
/linux-6.6.21/drivers/net/ethernet/broadcom/
Dbcmsysport.c1255 __be16 ip_ver; in bcm_sysport_insert_tsb() local
1282 ip_ver = skb->protocol; in bcm_sysport_insert_tsb()
1283 switch (ip_ver) { in bcm_sysport_insert_tsb()
1305 ip_ver == htons(ETH_P_IP)) in bcm_sysport_insert_tsb()
/linux-6.6.21/include/uapi/linux/
Dethtool.h1016 __u8 ip_ver; member
/linux-6.6.21/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c388 if (uip_mask->tos || uip_mask->ip_ver) in dpaa2_eth_prep_uip_rule()
/linux-6.6.21/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c1384 VALIDATE_MASK(l4_mask->ip_ver) || in bcmgenet_validate_flow()
1988 __be16 ip_ver; in bcmgenet_add_tsb() local
2011 ip_ver = skb->protocol; in bcmgenet_add_tsb()
2012 switch (ip_ver) { in bcmgenet_add_tsb()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c598 fs->h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4) in validate_ip4()
/linux-6.6.21/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1216 if (flow->h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4) in gfar_check_capability()
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.h1466 u8 ip_ver; member
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1378 cmd->fs.h_u.usr_ip4_spec.ip_ver != ETH_RX_NFC_IP4 || in mlx4_en_validate_flow()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c3378 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in i40e_get_ethtool_fdir_entry()
4477 if (usr_ip4_spec->ip_ver) in i40e_check_fdir_input_set()
/linux-6.6.21/drivers/infiniband/core/
Dcma.c433 static void cma_set_ip_ver(struct cma_hdr *hdr, u8 ip_ver) in cma_set_ip_ver() argument
435 hdr->ip_version = (ip_ver << 4) | (hdr->ip_version & 0xF); in cma_set_ip_ver()

12