Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/microchip/lan966x/
A Dlan966x_lag.c190 enum netdev_lag_hash hash_type) in lan966x_lag_port_check_hash_types() argument
200 if (port->hash_type != hash_type) in lan966x_lag_port_check_hash_types()
218 port->hash_type = NETDEV_LAG_HASH_NONE; in lan966x_lag_port_prechangeupper()
228 if (!lan966x_lag_port_check_hash_types(lan966x, lui->hash_type)) { in lan966x_lag_port_prechangeupper()
234 switch (lui->hash_type) { in lan966x_lag_port_prechangeupper()
259 port->hash_type = lui->hash_type; in lan966x_lag_port_prechangeupper()
/drivers/crypto/bcm/
A Dspu2.c74 static char *spu2_hash_type_name(enum spu2_hash_type hash_type) in spu2_hash_type_name() argument
76 if (hash_type >= SPU2_HASH_TYPE_LAST) in spu2_hash_type_name()
78 return spu2_hash_type_names[hash_type]; in spu2_hash_type_name()
236 enum hash_type hash_type, enum spu_cipher_type ciph_type, in spu2_hash_xlate() argument
304 hash_alg, hash_type); in spu2_hash_xlate()
313 enum spu2_hash_type hash_type; in spu2_dump_fmd_ctrl0() local
352 hash_type = (ctrl0 & SPU2_HASH_TYPE) >> SPU2_HASH_TYPE_SHIFT; in spu2_dump_fmd_ctrl0()
353 hash_name = spu2_hash_type_name(hash_type); in spu2_dump_fmd_ctrl0()
356 if (hash_type != SPU2_HASH_TYPE_NONE) { in spu2_dump_fmd_ctrl0()
910 enum hash_type spu2_hash_type(u32 src_sent) in spu2_hash_type()
[all …]
A 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);
A 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()
A Dspu2.h189 enum hash_type spu2_hash_type(u32 src_sent);
191 enum hash_type htype);
A Dcipher.h374 enum hash_type (*spu_hash_type)(u32 src_sent);
376 enum hash_type);
/drivers/net/ethernet/intel/libeth/
A Drx.c263 pt->hash_type = 0; in libeth_rx_pt_gen_hash_type()
264 pt->hash_type |= libeth_rx_pt_xdp_oip[pt->outer_ip]; in libeth_rx_pt_gen_hash_type()
265 pt->hash_type |= libeth_rx_pt_xdp_iprot[pt->inner_prot]; in libeth_rx_pt_gen_hash_type()
266 pt->hash_type |= libeth_rx_pt_xdp_pl[pt->payload_layer]; in libeth_rx_pt_gen_hash_type()
/drivers/net/ethernet/mellanox/mlx5/core/lag/
A 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
A Dport_sel.c388 enum netdev_lag_hash hash_type, in mlx5_lag_create_definers() argument
396 lag_definer = mlx5_lag_create_definer(ldev, hash_type, tt, in mlx5_lag_create_definers()
408 mlx5_lag_create_definer(ldev, hash_type, tt, in mlx5_lag_create_definers()
546 enum netdev_lag_hash hash_type, u8 *ports) in mlx5_lag_port_sel_create() argument
551 set_tt_map(port_sel, hash_type); in mlx5_lag_port_sel_create()
552 err = mlx5_lag_create_definers(ldev, hash_type, ports); in mlx5_lag_port_sel_create()
A Dlag.h50 enum netdev_lag_hash hash_type; member
/drivers/crypto/cavium/cpt/
A Dcptvf_algs.h52 u64 hash_type:4; member
68 u64 hash_type:4;
/drivers/net/ethernet/huawei/hinic/
A Dhinic_port.c888 struct hinic_rss_engine_type hash_type = { 0 }; in hinic_rss_get_hash_engine() local
890 u16 out_size = sizeof(hash_type); in hinic_rss_get_hash_engine()
901 hash_type.func_id = HINIC_HWIF_FUNC_IDX(hwif); in hinic_rss_get_hash_engine()
902 hash_type.template_id = tmpl_idx; in hinic_rss_get_hash_engine()
905 &hash_type, sizeof(hash_type), in hinic_rss_get_hash_engine()
906 &hash_type, &out_size); in hinic_rss_get_hash_engine()
907 if (err || !out_size || hash_type.status) { in hinic_rss_get_hash_engine()
909 err, hash_type.status, out_size); in hinic_rss_get_hash_engine()
913 *type = hash_type.hash_engine; in hinic_rss_get_hash_engine()
/drivers/net/ethernet/netronome/nfp/flower/
A Dlag_conf.c580 (lag_upper_info->hash_type != NETDEV_LAG_HASH_L34 && in nfp_fl_lag_changeupper_event()
581 lag_upper_info->hash_type != NETDEV_LAG_HASH_E34 && in nfp_fl_lag_changeupper_event()
582 lag_upper_info->hash_type != NETDEV_LAG_HASH_UNKNOWN))) { in nfp_fl_lag_changeupper_event()
587 lag_upper_info->hash_type); in nfp_fl_lag_changeupper_event()
/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
A Dmlx5_ifc_dr_ste_v1.h130 u8 hash_type[0x2]; member
161 u8 hash_type[0x2]; member
187 u8 hash_type[0x2]; member
/drivers/crypto/cavium/nitrox/
A Dnitrox_req.h159 u64 hash_type : 4; member
169 u64 hash_type : 4;
/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dxdp.c242 u32 hash_type, l4_type, ip_type, lookup; in mlx5e_xdp_rx_hash() local
249 hash_type = cqe->rss_hash_type; in mlx5e_xdp_rx_hash()
251 ip_type = hash_type & CQE_RSS_HTYPE_IP; in mlx5e_xdp_rx_hash()
252 l4_type = FIELD_GET(CQE_RSS_HTYPE_L4, hash_type); in mlx5e_xdp_rx_hash()
/drivers/net/ethernet/mellanox/mlx4/
A Den_rx.c716 enum pkt_hash_types hash_type; in mlx4_en_process_rx_cq() local
882 hash_type = PKT_HASH_TYPE_L4; in mlx4_en_process_rx_cq()
893 hash_type = PKT_HASH_TYPE_L3; in mlx4_en_process_rx_cq()
899 hash_type = PKT_HASH_TYPE_L3; in mlx4_en_process_rx_cq()
906 hash_type); in mlx4_en_process_rx_cq()
/drivers/net/ethernet/intel/libie/
A Drx.c31 .hash_type = XDP_RSS_L3_##oip | \
/drivers/net/ethernet/google/gve/
A Dgve_rx_dqo.c436 enum pkt_hash_types hash_type = PKT_HASH_TYPE_L2; in gve_rx_skb_hash() local
439 hash_type = PKT_HASH_TYPE_L4; in gve_rx_skb_hash()
441 hash_type = PKT_HASH_TYPE_L3; in gve_rx_skb_hash()
443 skb_set_hash(skb, le32_to_cpu(compl_desc->hash), hash_type); in gve_rx_skb_hash()
/drivers/net/ethernet/netronome/nfp/nfd3/
A Ddp.c719 meta->hash_type = PKT_HASH_TYPE_L3; in nfp_nfd3_set_hash()
722 meta->hash_type = PKT_HASH_TYPE_L4; in nfp_nfd3_set_hash()
738 nfp_nfd3_set_hash(netdev, meta, get_unaligned_be32(&rx_hash->hash_type), in nfp_nfd3_set_hash_desc()
1095 skb_set_hash(skb, meta.hash, meta.hash_type); in nfp_nfd3_rx()
/drivers/net/ethernet/netronome/nfp/
A Dnfp_net.h258 u8 hash_type; member
276 __be32 hash_type; member
/drivers/net/dsa/qca/
A Dqca8k-common.c1081 if (info->hash_type != NETDEV_LAG_HASH_L2 && in qca8k_lag_can_offload()
1082 info->hash_type != NETDEV_LAG_HASH_L23) { in qca8k_lag_can_offload()
1101 switch (info->hash_type) { in qca8k_lag_setup_hash()
/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_txrx.c227 enum pkt_hash_types hash_type = PKT_HASH_TYPE_NONE; in otx2_set_rxhash() local
238 hash_type = PKT_HASH_TYPE_L4; in otx2_set_rxhash()
240 hash_type = PKT_HASH_TYPE_L3; in otx2_set_rxhash()
243 skb_set_hash(skb, hash, hash_type); in otx2_set_rxhash()
/drivers/net/ethernet/cavium/thunder/
A Dnicvf_main.c731 u8 hash_type; in nicvf_set_rxhash() local
740 hash_type = PKT_HASH_TYPE_L4; in nicvf_set_rxhash()
744 hash_type = PKT_HASH_TYPE_L3; in nicvf_set_rxhash()
748 hash_type = PKT_HASH_TYPE_NONE; in nicvf_set_rxhash()
752 skb_set_hash(skb, hash, hash_type); in nicvf_set_rxhash()
/drivers/net/ethernet/netronome/nfp/nfdk/
A Ddp.c732 meta->hash_type = PKT_HASH_TYPE_L3; in nfp_nfdk_set_hash()
735 meta->hash_type = PKT_HASH_TYPE_L4; in nfp_nfdk_set_hash()
1214 skb_set_hash(skb, meta.hash, meta.hash_type); in nfp_nfdk_rx()

Completed in 73 milliseconds

12