Home
last modified time | relevance | path

Searched refs:eqe_size (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Deq.c107 u8 eqe_size) in get_eqe() argument
110 unsigned long offset = (entry & (eq->nent - 1)) * eqe_size; in get_eqe()
510 int eqe_size = dev->caps.eqe_size; in mlx4_eq_int() local
512 while ((eqe = next_eqe_sw(eq, dev->caps.eqe_factor, eqe_size))) { in mlx4_eq_int()
987 npages = PAGE_ALIGN(eq->nent * dev->caps.eqe_size) / PAGE_SIZE; in mlx4_create_eq()
1096 int npages = PAGE_ALIGN(dev->caps.eqe_size * eq->nent) / PAGE_SIZE; in mlx4_free_eq()
Dfw.h204 u16 eqe_size; /* For use only when EQE stride feature enabled */ member
Dfw.c1935 dev->caps.eqe_size = 64; in mlx4_INIT_HCA()
1938 dev->caps.eqe_size = 32; in mlx4_INIT_HCA()
1953 dev->caps.eqe_size = cache_line_size(); in mlx4_INIT_HCA()
1956 MLX4_PUT(inbox, (u8)((ilog2(dev->caps.eqe_size) - 5) << 4 | in mlx4_INIT_HCA()
1957 (ilog2(dev->caps.eqe_size) - 5)), in mlx4_INIT_HCA()
2180 param->eqe_size = 1 << (((byte_field & in mlx4_QUERY_HCA()
Dmain.c1042 dev->caps.eqe_size = 64; in mlx4_slave_cap()
1045 dev->caps.eqe_size = 32; in mlx4_slave_cap()
1057 dev->caps.eqe_size = hca_param->eqe_size; in mlx4_slave_cap()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c4087 int npages = (PAGE_ALIGN(eq->eqe_size * eq->entries) + in hns_roce_v1_free_eq()
4142 num_bas = (PAGE_ALIGN(eq->entries * eq->eqe_size) + in hns_roce_v1_create_eq()
4145 if ((eq->entries * eq->eqe_size) > HNS_ROCE_BA_SIZE) { in hns_roce_v1_create_eq()
4147 (eq->entries * eq->eqe_size), HNS_ROCE_BA_SIZE, in hns_roce_v1_create_eq()
4253 eq->eqe_size = HNS_ROCE_CEQE_SIZE; in hns_roce_v1_init_eq_table()
4263 eq->eqe_size = HNS_ROCE_AEQE_SIZE; in hns_roce_v1_init_eq_table()
Dhns_roce_hw_v2.c5484 eq->eqe_size); in next_aeqe_sw_v2()
5584 eq->eqe_size); in next_ceqe_sw_v2()
5869 eq->eqe_size == HNS_ROCE_V3_EQE_SIZE ? 1 : 0); in config_eqc()
5885 buf_attr.region[0].size = eq->entries * eq->eqe_size; in alloc_eq_buf()
6061 eq->eqe_size = hr_dev->caps.ceqe_size; in hns_roce_v2_init_eq_table()
6070 eq->eqe_size = hr_dev->caps.aeqe_size; in hns_roce_v2_init_eq_table()
Dhns_roce_device.h734 int eqe_size; member
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_sli4.h537 uint32_t eqe_size; member
/kernel/linux/linux-5.10/include/linux/mlx4/
Ddevice.h617 u32 eqe_size; member