Home
last modified time | relevance | path

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

/drivers/infiniband/ulp/iser/
Diser_initiator.c239 iser_conn->rx_descs = kmalloc_array(iser_conn->num_rx_descs, in iser_alloc_rx_descriptors()
242 if (!iser_conn->rx_descs) in iser_alloc_rx_descriptors()
245 rx_desc = iser_conn->rx_descs; in iser_alloc_rx_descriptors()
264 rx_desc = iser_conn->rx_descs; in iser_alloc_rx_descriptors()
268 kfree(iser_conn->rx_descs); in iser_alloc_rx_descriptors()
269 iser_conn->rx_descs = NULL; in iser_alloc_rx_descriptors()
288 rx_desc = iser_conn->rx_descs; in iser_free_rx_descriptors()
292 kfree(iser_conn->rx_descs); in iser_free_rx_descriptors()
294 iser_conn->rx_descs = NULL; in iser_free_rx_descriptors()
325 err = iser_post_recvm(iser_conn, &iser_conn->rx_descs[i]); in iser_post_rx_bufs()
[all …]
Discsi_iser.h419 struct iser_rx_desc *rx_descs; member
Diser_verbs.c409 if (iser_conn->rx_descs) in iser_free_ib_conn_res()
/drivers/net/ethernet/
Dec_bhf.c139 struct rx_desc *rx_descs; member
207 struct rx_desc *desc = &priv->rx_descs[priv->rx_dnext]; in ec_bhf_process_rx()
233 desc = &priv->rx_descs[priv->rx_dnext]; in ec_bhf_process_rx()
374 priv->rx_descs = (struct rx_desc *)priv->rx_buf.buf; in ec_bhf_setup_rx_descs()
378 struct rx_desc *desc = &priv->rx_descs[i]; in ec_bhf_setup_rx_descs()
/drivers/net/wan/
Dwanxl.c64 desc_t rx_descs[RX_QUEUE_LENGTH]; member
211 while (desc = &card->status->rx_descs[card->rx_in], in wanxl_rx_intr()
522 card->status->rx_descs[i].address, in wanxl_pci_remove_one()
702 card->status->rx_descs[i].address = in wanxl_pci_init_one()
/drivers/infiniband/ulp/isert/
Dib_isert.c158 isert_conn->rx_descs = kcalloc(ISERT_QP_MAX_RECV_DTOS, in isert_alloc_rx_descriptors()
161 if (!isert_conn->rx_descs) in isert_alloc_rx_descriptors()
164 rx_desc = isert_conn->rx_descs; in isert_alloc_rx_descriptors()
184 rx_desc = isert_conn->rx_descs; in isert_alloc_rx_descriptors()
189 kfree(isert_conn->rx_descs); in isert_alloc_rx_descriptors()
190 isert_conn->rx_descs = NULL; in isert_alloc_rx_descriptors()
202 if (!isert_conn->rx_descs) in isert_free_rx_descriptors()
205 rx_desc = isert_conn->rx_descs; in isert_free_rx_descriptors()
211 kfree(isert_conn->rx_descs); in isert_free_rx_descriptors()
212 isert_conn->rx_descs = NULL; in isert_free_rx_descriptors()
[all …]
Dib_isert.h174 struct iser_rx_desc *rx_descs; member
/drivers/net/ethernet/altera/
Daltera_tse_main.c255 unsigned int rx_descs = priv->rx_ring_size; in alloc_init_skbufs() local
261 priv->rx_ring = kcalloc(rx_descs, sizeof(struct tse_buffer), in alloc_init_skbufs()
276 for (i = 0; i < rx_descs; i++) { in alloc_init_skbufs()
300 unsigned int rx_descs = priv->rx_ring_size; in free_skbufs() local
305 for (i = 0; i < rx_descs; i++) in free_skbufs()