From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail5.wrs.com (mail5.windriver.com [192.103.53.11]) by dpdk.org (Postfix) with ESMTP id 5A97B2C23 for ; Sun, 26 Feb 2017 23:18:49 +0100 (CET) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id v1QMIlJo032387 (version=TLSv1 cipher=AES128-SHA bits=128 verify=OK) for ; Sun, 26 Feb 2017 14:18:48 -0800 Received: from ALA-MBC.corp.ad.wrs.com ([fe80::fcbe:9b7:1141:89a1]) by ALA-HCA.corp.ad.wrs.com ([147.11.189.40]) with mapi id 14.03.0294.000; Sun, 26 Feb 2017 14:18:47 -0800 From: "Legacy, Allain" To: "YIGIT, FERRUH" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 12/15] net/avp: packet transmit functions Thread-Index: AQHSkGRRqgUUMYh/vk+bYumJpdDZvqF72qWQ Date: Sun, 26 Feb 2017 22:18:46 +0000 Message-ID: <70A7408C6E1BFB41B192A929744D85238A7575B4@ALA-MBC.corp.ad.wrs.com> References: <1487985795-136044-1-git-send-email-allain.legacy@windriver.com> <1488136143-116389-1-git-send-email-allain.legacy@windriver.com> <1488136143-116389-13-git-send-email-allain.legacy@windriver.com> In-Reply-To: <1488136143-116389-13-git-send-email-allain.legacy@windriver.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [128.224.140.166] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 12/15] net/avp: packet transmit functions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2017 22:18:49 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Allain Legacy > Sent: Sunday, February 26, 2017 2:09 PM > To: YIGIT, FERRUH > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v2 12/15] net/avp: packet transmit functions >=20 > Adds support for packet transmit functions so that an application can sen= d > packets to the host application via an AVP device queue. Both the simple > and scattered functions are supported. >=20 > Signed-off-by: Allain Legacy > Signed-off-by: Matt Peters > --- > drivers/net/avp/avp_ethdev.c | 419 > +++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 419 insertions(+) >=20 > 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 function= s. While creating this patchset (v2) the stats commit was accidentally squ= ashed. I will restore it on the next iteration.=20