Searched refs:dma_size (Results 1 – 3 of 3) sorted by relevance
| /dpdk/drivers/net/bnx2x/ |
| H A D | bnx2x_rxtx.c | 55 uint32_t dma_size; in bnx2x_dev_rx_queue_setup() local 90 dma_size = rxq->nb_rx_desc * sizeof(struct eth_rx_bd); in bnx2x_dev_rx_queue_setup() 91 dma = ring_dma_zone_reserve(dev, "hw_ring", queue_idx, dma_size, socket_id); in bnx2x_dev_rx_queue_setup() 99 memset((void *)rxq->rx_ring, 0, dma_size); in bnx2x_dev_rx_queue_setup() 109 dma_size = rxq->nb_rx_desc * sizeof(struct bnx2x_rx_entry); in bnx2x_dev_rx_queue_setup() 110 rxq->sw_ring = rte_zmalloc_socket("sw_ring", dma_size, in bnx2x_dev_rx_queue_setup() 138 dma_size = BNX2X_RX_CHAIN_PAGE_SZ * rxq->nb_cq_pages; in bnx2x_dev_rx_queue_setup() 139 dma = ring_dma_zone_reserve(dev, "bnx2x_rcq", queue_idx, dma_size, socket_id); in bnx2x_dev_rx_queue_setup()
|
| /dpdk/drivers/net/bnxt/tf_core/ |
| H A D | tf_msg.c | 393 int dma_size; in tf_msg_session_resc_qcaps() local 399 rc = tf_msg_alloc_dma_buf(&qcaps_buf, dma_size); in tf_msg_session_resc_qcaps() 471 int dma_size; in tf_msg_session_resc_alloc() local 496 rc = tf_msg_alloc_dma_buf(&req_buf, dma_size); in tf_msg_session_resc_alloc() 500 dma_size = size * sizeof(struct tf_rm_resc_entry); in tf_msg_session_resc_alloc() 501 rc = tf_msg_alloc_dma_buf(&resv_buf, dma_size); in tf_msg_session_resc_alloc() 578 int dma_size; in tf_msg_session_resc_info() local 603 rc = tf_msg_alloc_dma_buf(&req_buf, dma_size); in tf_msg_session_resc_info() 608 rc = tf_msg_alloc_dma_buf(&resv_buf, dma_size); in tf_msg_session_resc_info() 681 int dma_size; in tf_msg_session_resc_flush() local [all …]
|
| /dpdk/drivers/net/nfp/ |
| H A D | nfp_rxtx.c | 888 int pkt_size, dma_size; in nfp_net_xmit_pkts() local 967 dma_size = pkt->data_len; in nfp_net_xmit_pkts() 973 txds->dma_len = dma_size; in nfp_net_xmit_pkts() 984 pkt_size -= dma_size; in nfp_net_xmit_pkts()
|