Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/erdma/
H A Derdma_main.c382 #define ERDMA_GET_CAP(name, cap) FIELD_GET(ERDMA_CMD_DEV_CAP_##name##_MASK, cap) macro
397 dev->attrs.max_cqe = 1 << ERDMA_GET_CAP(MAX_CQE, cap0); in erdma_dev_attrs_init()
398 dev->attrs.max_mr_size = 1ULL << ERDMA_GET_CAP(MAX_MR_SIZE, cap0); in erdma_dev_attrs_init()
399 dev->attrs.max_mw = 1 << ERDMA_GET_CAP(MAX_MW, cap1); in erdma_dev_attrs_init()
400 dev->attrs.max_recv_wr = 1 << ERDMA_GET_CAP(MAX_RECV_WR, cap0); in erdma_dev_attrs_init()
401 dev->attrs.local_dma_key = ERDMA_GET_CAP(DMA_LOCAL_KEY, cap1); in erdma_dev_attrs_init()
402 dev->attrs.cc = ERDMA_GET_CAP(DEFAULT_CC, cap1); in erdma_dev_attrs_init()
403 dev->attrs.max_qp = ERDMA_NQP_PER_QBLOCK * ERDMA_GET_CAP(QBLOCK, cap1); in erdma_dev_attrs_init()
406 dev->attrs.cap_flags = ERDMA_GET_CAP(FLAGS, cap0); in erdma_dev_attrs_init()