Searched refs:wqe_req (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/microsoft/mana/ |
D | gdma_main.c | 1024 static u32 mana_gd_write_client_oob(const struct gdma_wqe_request *wqe_req, in mana_gd_write_client_oob() argument 1029 bool oob_in_sgl = !!(wqe_req->flags & GDMA_WR_OOB_IN_SGL); in mana_gd_write_client_oob() 1030 bool pad_data = !!(wqe_req->flags & GDMA_WR_PAD_BY_SGE0); in mana_gd_write_client_oob() 1035 header->num_sge = wqe_req->num_sge; in mana_gd_write_client_oob() 1039 WARN_ON_ONCE(!pad_data || wqe_req->num_sge < 2); in mana_gd_write_client_oob() 1044 header->last_vbytes = wqe_req->sgl[0].size; in mana_gd_write_client_oob() 1048 header->client_data_unit = wqe_req->client_data_unit; in mana_gd_write_client_oob() 1056 if (wqe_req->inline_oob_data && wqe_req->inline_oob_size > 0) { in mana_gd_write_client_oob() 1057 memcpy(ptr, wqe_req->inline_oob_data, wqe_req->inline_oob_size); in mana_gd_write_client_oob() 1059 if (client_oob_size > wqe_req->inline_oob_size) in mana_gd_write_client_oob() [all …]
|
D | hw_channel.c | 92 memset(&req->wqe_req, 0, sizeof(struct gdma_wqe_request)); in mana_hwc_post_rx_wqe() 93 req->wqe_req.sgl = sge; in mana_hwc_post_rx_wqe() 94 req->wqe_req.num_sge = 1; in mana_hwc_post_rx_wqe() 95 req->wqe_req.client_data_unit = 0; in mana_hwc_post_rx_wqe() 97 err = mana_gd_post_and_ring(hwc_rxq->gdma_wq, &req->wqe_req, NULL); in mana_hwc_post_rx_wqe() 559 memset(&req->wqe_req, 0, sizeof(struct gdma_wqe_request)); in mana_hwc_post_tx_wqe() 560 req->wqe_req.sgl = sge; in mana_hwc_post_tx_wqe() 561 req->wqe_req.num_sge = 1; in mana_hwc_post_tx_wqe() 562 req->wqe_req.inline_oob_size = sizeof(struct hwc_tx_oob); in mana_hwc_post_tx_wqe() 563 req->wqe_req.inline_oob_data = tx_oob; in mana_hwc_post_tx_wqe() [all …]
|
D | mana_en.c | 100 tp->wqe_req.sgl[sg_i].address = da; in mana_add_sge() 101 tp->wqe_req.sgl[sg_i].mem_key = gpa_mkey; in mana_add_sge() 102 tp->wqe_req.sgl[sg_i].size = sge_len; in mana_add_sge() 269 pkg.wqe_req.inline_oob_size = sizeof(struct mana_tx_short_oob); in mana_start_xmit() 274 pkg.wqe_req.inline_oob_size = sizeof(struct mana_tx_oob); in mana_start_xmit() 280 pkg.wqe_req.inline_oob_data = &pkg.tx_oob; in mana_start_xmit() 281 pkg.wqe_req.flags = 0; in mana_start_xmit() 282 pkg.wqe_req.client_data_unit = 0; in mana_start_xmit() 284 pkg.wqe_req.num_sge = 1 + skb_shinfo(skb)->nr_frags; in mana_start_xmit() 298 pkg.wqe_req.num_sge = num_sge; in mana_start_xmit() [all …]
|
/Linux-v6.6/include/net/mana/ |
D | hw_channel.h | 107 struct gdma_wqe_request wqe_req; member
|
D | mana.h | 283 struct gdma_wqe_request wqe_req; member 758 struct gdma_wqe_request wqe_req; member
|
D | gdma.h | 840 const struct gdma_wqe_request *wqe_req,
|