Home
last modified time | relevance | path

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

123

/Linux-v6.1/drivers/net/ethernet/microchip/lan966x/
Dlan966x_lag.c185 enum netdev_lag_hash hash_type) in lan966x_lag_port_check_hash_types() argument
195 if (port->hash_type != hash_type) in lan966x_lag_port_check_hash_types()
213 port->hash_type = NETDEV_LAG_HASH_NONE; in lan966x_lag_port_prechangeupper()
223 if (!lan966x_lag_port_check_hash_types(lan966x, lui->hash_type)) { in lan966x_lag_port_prechangeupper()
229 switch (lui->hash_type) { in lan966x_lag_port_prechangeupper()
254 port->hash_type = lui->hash_type; in lan966x_lag_port_prechangeupper()
/Linux-v6.1/certs/
Dblacklist.c147 enum blacklist_hash_type hash_type) in get_raw_hash() argument
153 switch (hash_type) { in get_raw_hash()
202 enum blacklist_hash_type hash_type) in mark_hash_blacklisted() argument
207 buffer = get_raw_hash(hash, hash_len, hash_type); in mark_hash_blacklisted()
222 enum blacklist_hash_type hash_type) in is_hash_blacklisted() argument
228 buffer = get_raw_hash(hash, hash_len, hash_type); in is_hash_blacklisted()
/Linux-v6.1/include/keys/
Dsystem_keyring.h65 enum blacklist_hash_type hash_type);
67 enum blacklist_hash_type hash_type);
71 enum blacklist_hash_type hash_type) in is_hash_blacklisted() argument
/Linux-v6.1/drivers/crypto/bcm/
Dspu.h86 enum hash_type { enum
130 enum hash_type type;
238 enum hash_type spum_hash_type(u32 src_sent);
240 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()
909 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()
538 enum hash_type spum_hash_type(u32 src_sent) in spum_hash_type()
555 enum hash_type htype) in spum_digest_size()
Dcipher.h377 enum hash_type (*spu_hash_type)(u32 src_sent);
379 enum hash_type);
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dport_sel.h36 enum netdev_lag_hash hash_type, u8 *ports);
40 enum netdev_lag_hash hash_type, in mlx5_lag_port_sel_create() argument
Dport_sel.c373 enum netdev_lag_hash hash_type, in mlx5_lag_create_definers() argument
381 lag_definer = mlx5_lag_create_definer(ldev, hash_type, tt, in mlx5_lag_create_definers()
393 mlx5_lag_create_definer(ldev, hash_type, tt, in mlx5_lag_create_definers()
531 enum netdev_lag_hash hash_type, u8 *ports) in mlx5_lag_port_sel_create() argument
536 set_tt_map(port_sel, hash_type); in mlx5_lag_port_sel_create()
537 err = mlx5_lag_create_definers(ldev, hash_type, ports); in mlx5_lag_port_sel_create()
Dlag.h50 enum netdev_lag_hash hash_type; member
/Linux-v6.1/drivers/crypto/cavium/cpt/
Dcptvf_algs.h52 u64 hash_type:4; member
68 u64 hash_type:4;
/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/fs/ksmbd/
Dxattr.h94 __u16 hash_type; /* hash type */ member
Dndr.c425 ret = ndr_write_int16(n, acl->hash_type); in ndr_encode_v4_ntacl()
483 ret = ndr_read_int16(n, &acl->hash_type); in ndr_decode_v4_ntacl()
/Linux-v6.1/drivers/net/ethernet/google/gve/
Dgve_rx_dqo.c458 enum pkt_hash_types hash_type = PKT_HASH_TYPE_L2; in gve_rx_skb_hash() local
461 hash_type = PKT_HASH_TYPE_L4; in gve_rx_skb_hash()
463 hash_type = PKT_HASH_TYPE_L3; in gve_rx_skb_hash()
465 skb_set_hash(skb, le32_to_cpu(compl_desc->hash), hash_type); in gve_rx_skb_hash()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
Dmlx5_ifc_dr_ste_v1.h130 u8 hash_type[0x2]; member
161 u8 hash_type[0x2]; member
/Linux-v6.1/drivers/crypto/cavium/nitrox/
Dnitrox_req.h159 u64 hash_type : 4; member
169 u64 hash_type : 4;
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx4/
Den_rx.c698 enum pkt_hash_types hash_type; in mlx4_en_process_rx_cq() local
857 hash_type = PKT_HASH_TYPE_L4; in mlx4_en_process_rx_cq()
868 hash_type = PKT_HASH_TYPE_L3; in mlx4_en_process_rx_cq()
874 hash_type = PKT_HASH_TYPE_L3; in mlx4_en_process_rx_cq()
881 hash_type); in mlx4_en_process_rx_cq()
/Linux-v6.1/security/integrity/
Dintegrity.h153 __u8 hash_type; /* xattr type [enum evm_ima_xattr_type] */ member
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/
Dnfp_net.h255 u8 hash_type; member
269 __be32 hash_type; member
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/nfd3/
Ddp.c695 meta->hash_type = PKT_HASH_TYPE_L3; in nfp_nfd3_set_hash()
698 meta->hash_type = PKT_HASH_TYPE_L4; in nfp_nfd3_set_hash()
714 nfp_nfd3_set_hash(netdev, meta, get_unaligned_be32(&rx_hash->hash_type), in nfp_nfd3_set_hash_desc()
1063 skb_set_hash(skb, meta.hash, meta.hash_type); in nfp_nfd3_rx()
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_txrx.c236 enum pkt_hash_types hash_type = PKT_HASH_TYPE_NONE; in otx2_set_rxhash() local
247 hash_type = PKT_HASH_TYPE_L4; in otx2_set_rxhash()
249 hash_type = PKT_HASH_TYPE_L3; in otx2_set_rxhash()
252 skb_set_hash(skb, hash, hash_type); in otx2_set_rxhash()
/Linux-v6.1/drivers/net/dsa/qca/
Dqca8k-common.c1045 if (info->hash_type != NETDEV_LAG_HASH_L2 && in qca8k_lag_can_offload()
1046 info->hash_type != NETDEV_LAG_HASH_L23) { in qca8k_lag_can_offload()
1065 switch (info->hash_type) { in qca8k_lag_setup_hash()

123