Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/hinic/base/
H A Dhinic_pmd_api_cmd.c43 #undef SIZE_8BYTES
45 #define SIZE_8BYTES(size) (ALIGN((u32)(size), 8U) >> 3) macro
186 ctrl |= HINIC_API_CMD_CELL_CTRL_SET(SIZE_8BYTES(cell_len), CELL_LEN) | in prepare_cell_ctrl()
/f-stack/dpdk/drivers/net/hinic/
H A Dhinic_pmd_ethdev.h22 #define SIZE_8BYTES(size) (ALIGN((u32)(size), 8) >> 3) macro
H A Dhinic_pmd_rx.c277 RQ_CTRL_SET(SIZE_8BYTES(sizeof(*ctrl)), LEN) | in hinic_prepare_rq_wqe()
278 RQ_CTRL_SET(SIZE_8BYTES(sizeof(*cqe_sect)), COMPLETE_LEN) | in hinic_prepare_rq_wqe()
279 RQ_CTRL_SET(SIZE_8BYTES(sizeof(*buf_desc)), BUFDESC_SECT_LEN) | in hinic_prepare_rq_wqe()
H A Dhinic_pmd_tx.c41 #define HINIC_BUF_DESC_SIZE(nr_descs) (SIZE_8BYTES(((u32)nr_descs) << 4))
425 ctrl_size = SIZE_8BYTES(sizeof(struct hinic_sq_ctrl)); in hinic_fill_sq_wqe_header()
426 task_size = SIZE_8BYTES(sizeof(struct hinic_sq_task)); in hinic_fill_sq_wqe_header()