[dpdk-dev] [PATCH v5 07/11] net/octeontx_ep: added tx queue setup and release

Ferruh Yigit ferruh.yigit at intel.com
Thu Jan 28 17:57:17 CET 2021


On 1/28/2021 3:22 PM, Nalla Pradeep wrote:
> Transmit queue setup involves allocating memory for the command queue
> considering tx descriptor count and initializing data structure
> representing the queue. Transmit queue release function frees the
> command queue.
> 
> Signed-off-by: Nalla Pradeep <pnalla at marvell.com>

<...>

> @@ -275,12 +357,16 @@ struct otx_ep_device {
>   	uint64_t tx_offloads;
>   };
>   
> +int otx_ep_setup_iqs(struct otx_ep_device *otx_ep, uint32_t iq_no,
> +		     int num_descs, unsigned int socket_id);
> +int otx_ep_delete_iqs(struct otx_ep_device *otx_ep, uint32_t iq_no);
> +
>   int otx_ep_setup_oqs(struct otx_ep_device *otx_ep, int oq_no, int num_descs,
>   		     int desc_size, struct rte_mempool *mpool,
>   		     unsigned int socket_id);
>   int otx_ep_delete_oqs(struct otx_ep_device *otx_ep, uint32_t oq_no);
> -#define OTX_EP_MAX_PKT_SZ 64000U
>   
> +#define OTX_EP_MAX_PKT_SZ 64000U

Can you please fix above where it is introduced at first place?


More information about the dev mailing list