Home
last modified time | relevance | path

Searched refs:hash_type (Results 1 – 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/crypto/bcm/
Dspu.h85 enum hash_type { enum
129 enum hash_type type;
237 enum hash_type spum_hash_type(u32 src_sent);
239 enum hash_type htype);
Dspu2.c73 static char *spu2_hash_type_name(enum spu2_hash_type hash_type) in spu2_hash_type_name() argument
75 if (hash_type >= SPU2_HASH_TYPE_LAST) in spu2_hash_type_name()
77 return spu2_hash_type_names[hash_type]; in spu2_hash_type_name()
235 enum hash_type hash_type, enum spu_cipher_type ciph_type, in spu2_hash_xlate() argument
303 hash_alg, hash_type); in spu2_hash_xlate()
312 enum spu2_hash_type hash_type; in spu2_dump_fmd_ctrl0() local
351 hash_type = (ctrl0 & SPU2_HASH_TYPE) >> SPU2_HASH_TYPE_SHIFT; in spu2_dump_fmd_ctrl0()
352 hash_name = spu2_hash_type_name(hash_type); in spu2_dump_fmd_ctrl0()
355 if (hash_type != SPU2_HASH_TYPE_NONE) { in spu2_dump_fmd_ctrl0()
904 enum hash_type spu2_hash_type(u32 src_sent) in spu2_hash_type()
[all …]
Dspu2.h189 enum hash_type spu2_hash_type(u32 src_sent);
191 enum hash_type htype);
Dspu.c36 u32 hash_type; in spum_dump_msg_hdr() local
83 hash_type = (cflags & HASH_TYPE) >> HASH_TYPE_SHIFT; in spum_dump_msg_hdr()
85 hash_alg, hash_mode, hash_type); in spum_dump_msg_hdr()
171 (hash_type == HASH_TYPE_UPDT)) { in spum_dump_msg_hdr()
540 enum hash_type spum_hash_type(u32 src_sent) in spum_hash_type()
557 enum hash_type htype) in spum_digest_size()
Dcipher.h376 enum hash_type (*spu_hash_type)(u32 src_sent);
378 enum hash_type);
/kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/
Dcptvf_algs.h52 u64 hash_type:4; member
68 u64 hash_type:4;
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_port.c873 struct hinic_rss_engine_type hash_type = { 0 }; in hinic_rss_get_hash_engine() local
875 u16 out_size = sizeof(hash_type); in hinic_rss_get_hash_engine()
886 hash_type.func_id = HINIC_HWIF_FUNC_IDX(hwif); in hinic_rss_get_hash_engine()
887 hash_type.template_id = tmpl_idx; in hinic_rss_get_hash_engine()
890 &hash_type, sizeof(hash_type), in hinic_rss_get_hash_engine()
891 &hash_type, &out_size); in hinic_rss_get_hash_engine()
892 if (err || !out_size || hash_type.status) { in hinic_rss_get_hash_engine()
894 err, hash_type.status, out_size); in hinic_rss_get_hash_engine()
898 *type = hash_type.hash_engine; in hinic_rss_get_hash_engine()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
Dlag_conf.c546 (lag_upper_info->hash_type != NETDEV_LAG_HASH_L34 && in nfp_fl_lag_changeupper_event()
547 lag_upper_info->hash_type != NETDEV_LAG_HASH_E34 && in nfp_fl_lag_changeupper_event()
548 lag_upper_info->hash_type != NETDEV_LAG_HASH_UNKNOWN))) { in nfp_fl_lag_changeupper_event()
553 lag_upper_info->hash_type); in nfp_fl_lag_changeupper_event()
/kernel/linux/linux-5.10/drivers/crypto/cavium/nitrox/
Dnitrox_req.h158 u64 hash_type : 4; member
168 u64 hash_type : 4;
Dnitrox_aead.c318 flags->w0.hash_type = AUTH_NULL; in nitrox_gcm_common_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_txrx.c169 enum pkt_hash_types hash_type = PKT_HASH_TYPE_NONE; in otx2_set_rxhash() local
180 hash_type = PKT_HASH_TYPE_L4; in otx2_set_rxhash()
182 hash_type = PKT_HASH_TYPE_L3; in otx2_set_rxhash()
185 skb_set_hash(skb, hash, hash_type); in otx2_set_rxhash()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Den_rx.c699 enum pkt_hash_types hash_type; in mlx4_en_process_rx_cq() local
850 hash_type = PKT_HASH_TYPE_L4; in mlx4_en_process_rx_cq()
861 hash_type = PKT_HASH_TYPE_L3; in mlx4_en_process_rx_cq()
867 hash_type = PKT_HASH_TYPE_L3; in mlx4_en_process_rx_cq()
874 hash_type); in mlx4_en_process_rx_cq()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net.h293 u8 hash_type; member
302 __be32 hash_type; member
Dnfp_net_common.c1642 meta->hash_type = PKT_HASH_TYPE_L3; in nfp_net_set_hash()
1645 meta->hash_type = PKT_HASH_TYPE_L4; in nfp_net_set_hash()
1661 nfp_net_set_hash(netdev, meta, get_unaligned_be32(&rx_hash->hash_type), in nfp_net_set_hash_desc()
1999 skb_set_hash(skb, meta.hash, meta.hash_type); in nfp_net_rx()
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/
Dnicvf_main.c734 u8 hash_type; in nicvf_set_rxhash() local
743 hash_type = PKT_HASH_TYPE_L4; in nicvf_set_rxhash()
747 hash_type = PKT_HASH_TYPE_L3; in nicvf_set_rxhash()
751 hash_type = PKT_HASH_TYPE_NONE; in nicvf_set_rxhash()
755 skb_set_hash(skb, hash, hash_type); in nicvf_set_rxhash()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c616 enum pkt_hash_types hash_type = PKT_HASH_TYPE_NONE; in qede_get_rxhash() local
622 hash_type = ((htype == RSS_HASH_TYPE_IPV4) || in qede_get_rxhash()
627 skb_set_hash(skb, hash, hash_type); in qede_get_rxhash()
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/vxge/
Dvxge-config.c3700 struct vxge_hw_rth_hash_types *hash_type, in vxge_hw_vpath_rts_rth_set() argument
3725 if (hash_type->hash_type_tcpipv4_en) in vxge_hw_vpath_rts_rth_set()
3728 if (hash_type->hash_type_ipv4_en) in vxge_hw_vpath_rts_rth_set()
3731 if (hash_type->hash_type_tcpipv6_en) in vxge_hw_vpath_rts_rth_set()
3734 if (hash_type->hash_type_ipv6_en) in vxge_hw_vpath_rts_rth_set()
3737 if (hash_type->hash_type_tcpipv6ex_en) in vxge_hw_vpath_rts_rth_set()
3741 if (hash_type->hash_type_ipv6ex_en) in vxge_hw_vpath_rts_rth_set()
Dvxge-config.h2059 struct vxge_hw_rth_hash_types *hash_type,
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
Dbna_types.h644 enum bfi_enet_rss_type hash_type; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_lib.c908 u8 lut_type, hash_type; in ice_set_rss_vsi_ctx() local
919 hash_type = ICE_AQ_VSI_Q_OPT_RSS_TPLZ; in ice_set_rss_vsi_ctx()
924 hash_type = ICE_AQ_VSI_Q_OPT_RSS_TPLZ; in ice_set_rss_vsi_ctx()
934 ((hash_type << ICE_AQ_VSI_Q_OPT_RSS_HASH_S) & in ice_set_rss_vsi_ctx()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
Dt3_cpl.h229 __u8 hash_type:2; member
231 __u8 hash_type:2; member
/kernel/linux/linux-5.10/drivers/net/ethernet/amazon/ena/
Dena_netdev.c1499 enum pkt_hash_types hash_type; in ena_set_rx_hash() local
1505 hash_type = PKT_HASH_TYPE_L4; in ena_set_rx_hash()
1507 hash_type = PKT_HASH_TYPE_NONE; in ena_set_rx_hash()
1511 hash_type = PKT_HASH_TYPE_NONE; in ena_set_rx_hash()
1513 skb_set_hash(skb, ena_rx_ctx->hash, hash_type); in ena_set_rx_hash()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dt4_msg.h225 u8 hash_type:2; member
231 u8 hash_type:2; member
/kernel/linux/linux-5.10/include/linux/platform_data/
Dcros_ec_commands.h2152 uint8_t hash_type; /* enum ec_vboot_hash_type */ member
2162 uint8_t hash_type; /* enum ec_vboot_hash_type */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c1296 u32 hash_type = TPA_START_HASH_TYPE(tpa_start); in bnxt_tpa_start() local
1298 tpa_info->hash_type = PKT_HASH_TYPE_L4; in bnxt_tpa_start()
1301 if (hash_type == 3 || TPA_START_IS_IPV6(tpa_start1)) in bnxt_tpa_start()
1306 tpa_info->hash_type = PKT_HASH_TYPE_NONE; in bnxt_tpa_start()
1652 if (tpa_info->hash_type != PKT_HASH_TYPE_NONE) in bnxt_tpa_end()
1653 skb_set_hash(skb, tpa_info->rss_hash, tpa_info->hash_type); in bnxt_tpa_end()
1874 u32 hash_type = RX_CMP_HASH_TYPE(rxcmp); in bnxt_rx_pkt() local
1878 if (hash_type != 1 && hash_type != 3) in bnxt_rx_pkt()
5208 req.hash_type = cpu_to_le32(bp->rss_hash_cfg); in bnxt_hwrm_vnic_set_rss()
5232 req.hash_type = cpu_to_le32(bp->rss_hash_cfg); in bnxt_hwrm_vnic_set_rss_p5()

12