[dpdk-dev] [PATCH v2 12/15] net/avp: packet transmit functions

Legacy, Allain Allain.Legacy at windriver.com
Sun Feb 26 23:18:46 CET 2017


> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Allain Legacy
> Sent: Sunday, February 26, 2017 2:09 PM
> To: YIGIT, FERRUH
> Cc: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH v2 12/15] net/avp: packet transmit functions
> 
> Adds support for packet transmit functions so that an application can send
> packets to the host application via an AVP device queue.  Both the simple
> and scattered functions are supported.
> 
> Signed-off-by: Allain Legacy <allain.legacy at windriver.com>
> Signed-off-by: Matt Peters <matt.peters at windriver.com>
> ---
>  drivers/net/avp/avp_ethdev.c | 419
> +++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 419 insertions(+)
> 
> diff --git a/drivers/net/avp/avp_ethdev.c b/drivers/net/avp/avp_ethdev.c
> index cd0b0c0..514e27d 100644
> --- a/drivers/net/avp/avp_ethdev.c
> +++ b/drivers/net/avp/avp_ethdev.c
> @@ -92,12 +92,28 @@ static uint16_t avp_recv_scattered_pkts(void
> *rx_queue,
>  static uint16_t avp_recv_pkts(void *rx_queue,
>  			      struct rte_mbuf **rx_pkts,
>  			      uint16_t nb_pkts);
> +
> +static uint16_t avp_xmit_scattered_pkts(void *tx_queue,
> +					struct rte_mbuf **tx_pkts,
> +					uint16_t nb_pkts);
> +
> +static uint16_t avp_xmit_pkts(void *tx_queue,
> +			      struct rte_mbuf **tx_pkts,
> +			      uint16_t nb_pkts);
> +
>  static void avp_dev_rx_queue_release(void *rxq);
>  static void avp_dev_tx_queue_release(void *txq);
> +
> +static void avp_dev_stats_get(struct rte_eth_dev *dev,
> +			      struct rte_eth_stats *stats);
> +static void avp_dev_stats_reset(struct rte_eth_dev *dev);
> +
> +

The previous patchset (v1) included a separate patch for the stats functions.  While creating this patchset (v2) the stats commit was accidentally squashed.  I will restore it on the next iteration. 




More information about the dev mailing list