| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_lag.c | 190 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()
|
| /linux/certs/ |
| H A D | blacklist.c | 148 enum blacklist_hash_type hash_type) in get_raw_hash() argument 154 switch (hash_type) { in get_raw_hash() 206 enum blacklist_hash_type hash_type) in mark_hash_blacklisted() argument 211 buffer = get_raw_hash(hash, hash_len, hash_type); in mark_hash_blacklisted() 226 enum blacklist_hash_type hash_type) in is_hash_blacklisted() argument 232 buffer = get_raw_hash(hash, hash_len, hash_type); in is_hash_blacklisted()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_xdp.c | 481 enum xdp_rss_hash_type hash_type = 0; in bnxt_xdp_rx_hash() local 498 hash_type |= XDP_RSS_TYPE_L3_IPV6; in bnxt_xdp_rx_hash() 500 hash_type |= XDP_RSS_TYPE_L3_IPV4; in bnxt_xdp_rx_hash() 505 hash_type |= XDP_RSS_L4 | XDP_RSS_L4_TCP; in bnxt_xdp_rx_hash() 508 hash_type |= XDP_RSS_L4 | XDP_RSS_L4_UDP; in bnxt_xdp_rx_hash() 511 hash_type |= XDP_RSS_L4 | XDP_RSS_L4_ICMP; in bnxt_xdp_rx_hash() 520 hash_type |= XDP_RSS_TYPE_L3_IPV6; in bnxt_xdp_rx_hash() 522 hash_type |= XDP_RSS_TYPE_L3_IPV4; in bnxt_xdp_rx_hash() 525 hash_type |= XDP_RSS_L4; in bnxt_xdp_rx_hash() 528 *rss_type = hash_type; in bnxt_xdp_rx_hash()
|
| /linux/include/keys/ |
| H A D | system_keyring.h | 78 enum blacklist_hash_type hash_type); 80 enum blacklist_hash_type hash_type); 84 enum blacklist_hash_type hash_type) in is_hash_blacklisted() argument
|
| /linux/drivers/crypto/bcm/ |
| H A D | spu.h | 86 enum hash_type { enum 130 enum hash_type type; 238 enum hash_type spum_hash_type(u32 src_sent); 240 enum hash_type htype);
|
| H A D | spu2.h | 189 enum hash_type spu2_hash_type(u32 src_sent); 191 enum hash_type htype);
|
| H A D | cipher.h | 374 enum hash_type (*spu_hash_type)(u32 src_sent); 376 enum hash_type);
|
| /linux/drivers/net/ethernet/intel/libeth/ |
| H A D | rx.c | 263 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()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
| H A D | port_sel.h | 36 enum netdev_lag_hash hash_type, u8 *ports); 40 enum netdev_lag_hash hash_type, in mlx5_lag_port_sel_create() argument
|
| /linux/drivers/crypto/cavium/cpt/ |
| H A D | cptvf_algs.h | 52 u64 hash_type:4; member 68 u64 hash_type:4;
|
| /linux/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_port.c | 888 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()
|
| /linux/drivers/net/ethernet/netronome/nfp/flower/ |
| H A D | lag_conf.c | 579 (lag_upper_info->hash_type != NETDEV_LAG_HASH_L34 && in nfp_fl_lag_changeupper_event() 580 lag_upper_info->hash_type != NETDEV_LAG_HASH_E34 && in nfp_fl_lag_changeupper_event() 581 lag_upper_info->hash_type != NETDEV_LAG_HASH_UNKNOWN))) { in nfp_fl_lag_changeupper_event() 586 lag_upper_info->hash_type); in nfp_fl_lag_changeupper_event()
|
| /linux/fs/smb/server/ |
| H A D | xattr.h | 94 __u16 hash_type; /* hash type */ member
|
| H A D | ndr.c | 425 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/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_bond.h | 72 enum netdev_lag_hash hash_type; member
|
| H A D | hns_roce_bond.c | 668 bond_info->hash_type > NETDEV_LAG_HASH_L23) in is_bond_setting_supported() 685 bond_grp->hash_type = bond_upper_info->hash_type; in upper_event_setting()
|
| /linux/drivers/net/ethernet/intel/ice/virt/ |
| H A D | rss.c | 378 ice_vc_rss_hash_update(struct ice_hw *hw, struct ice_vsi *vsi, u8 hash_type) in ice_vc_rss_hash_update() argument 392 hash_type); in ice_vc_rss_hash_update() 1572 u8 hash_type; in ice_vc_handle_rss_cfg() local 1611 hash_type = add ? ICE_AQ_VSI_Q_OPT_RSS_HASH_XOR : in ice_vc_handle_rss_cfg() 1614 ret = ice_vc_rss_hash_update(hw, vsi, hash_type); in ice_vc_handle_rss_cfg() 1620 hash_type = add ? ICE_AQ_VSI_Q_OPT_RSS_HASH_SYM_TPLZ : in ice_vc_handle_rss_cfg() 1622 ret = ice_vc_rss_hash_update(hw, vsi, hash_type); in ice_vc_handle_rss_cfg()
|
| /linux/drivers/crypto/cavium/nitrox/ |
| H A D | nitrox_req.h | 159 u64 hash_type : 4; member 169 u64 hash_type : 4;
|
| /linux/drivers/net/ethernet/intel/libie/ |
| H A D | rx.c | 31 .hash_type = XDP_RSS_L3_##oip | \
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | xdp.c | 243 u32 hash_type, l4_type, ip_type, lookup; in mlx5e_xdp_rx_hash() local 250 hash_type = cqe->rss_hash_type; in mlx5e_xdp_rx_hash() 252 ip_type = hash_type & CQE_RSS_HTYPE_IP; in mlx5e_xdp_rx_hash() 253 l4_type = FIELD_GET(CQE_RSS_HTYPE_L4, hash_type); in mlx5e_xdp_rx_hash()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | en_rx.c | 718 enum pkt_hash_types hash_type; in mlx4_en_process_rx_cq() local 884 hash_type = PKT_HASH_TYPE_L4; in mlx4_en_process_rx_cq() 895 hash_type = PKT_HASH_TYPE_L3; in mlx4_en_process_rx_cq() 901 hash_type = PKT_HASH_TYPE_L3; in mlx4_en_process_rx_cq() 908 hash_type); in mlx4_en_process_rx_cq()
|
| /linux/include/net/libeth/ |
| H A D | rx.h | 204 enum xdp_rss_hash_type hash_type:16; member
|
| /linux/security/integrity/ |
| H A D | integrity.h | 111 __u8 hash_type; /* xattr type [enum evm_ima_xattr_type] */ 110 __u8 hash_type; /* xattr type [enum evm_ima_xattr_type] */ global() member
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net.h | 258 u8 hash_type; member 276 __be32 hash_type; member
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_txrx.c | 227 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()
|