From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 78C0A1B1B8 for ; Wed, 24 Jan 2018 16:37:19 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2C2C622389; Wed, 24 Jan 2018 10:37:19 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 24 Jan 2018 10:37:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=hrKv6ZV55o0/xBJBJ lamGsEtkHGwchIbL6SlBcCpF2k=; b=pJ+mF3+C/kjWQTpkczNBtvsPr08JnwTQD sgLuHlpMefdMyFoqwrw27DxyrBvCSC6LEuqODENSm5v2rmWBT9DrhxKeFLcy4/r9 hqRZRETA8CtOc5IqEsaIQhlrUhJBb08OGq6olwgv5LW+TeWcU7dIA/YHDDIfWtVv aU517m8P94QHnxbUkPmcuUz3tWC5R+QEPmUjWXIpOouvYrsTJPE1/2cyFtEqmIJr ARZG18C9x7lweFeOmT+NvZBeMhcVZZa+XTjiBLgZbfhOtenhCpjBvXu8foIp5Yhp ebkq5ezWcJF0gJuYj7wHmquZiB0kqv7EVIhKLJ8y0AnlsBDsxhrbA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=hrKv6ZV55o0/xBJBJlamGsEtkHGwchIbL6SlBcCpF2k=; b=cxVRiUCW 3LW5IYzXU4E7IWhUtwixyx6mxEU7dxdKGrPij/lEeV7x5zxoJS6PxraMZkv6EUbf MdAlWtd4zGVU6ud2N8WnZfVS+HujTmM9a+MnlRiY4YPRDA4+a2yA4MgtJV3p2jUJ 7LwhkW3nONP/coGS8ZMVL4QFCIysl+XQzM15gelQFmsxeyKHRIMPEjWQ36ZviVCf qfRuef+Lb+rBJjuDTOnveTqoUhciuMlfLxZ2BnA0gNTKJYcXIiX13Ci2u2PKQbch UZwlFVtFbP71slmJrey2XykAhi4Q/PDfR1+h2pQgZ094gABUshktKX5TLepzMWSb P5m+s7OgJoRzHQ== X-ME-Sender: Received: from localhost.localdomain (unknown [115.150.27.206]) by mail.messagingengine.com (Postfix) with ESMTPA id 5BA4D7E1A2; Wed, 24 Jan 2018 10:37:17 -0500 (EST) From: Yuanhan Liu To: Jerin Jacob Cc: Sunil Kulkarni , dpdk stable Date: Wed, 24 Jan 2018 23:31:42 +0800 Message-Id: <1516808026-25523-34-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> References: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/thunderx: fix multi segment Tx function return' has been queued to LTS release 17.11.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2018 15:37:19 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 01/26/18. So please shout if anyone has objections. Thanks. --yliu --- >>From 0709630ae742ac3e527dc187940963f7aa83cf5d Mon Sep 17 00:00:00 2001 From: Jerin Jacob Date: Tue, 28 Nov 2017 18:52:38 +0530 Subject: [PATCH] net/thunderx: fix multi segment Tx function return [ upstream commit 42473d6782896bf6281d347f61cbcfaf8df17d0f ] multi segment version of tx burst function was not returning the actual number of packets sent out in PMD xmit function. Fixes: 1c421f18e0 ("net/thunderx: add single and multi-segment Tx") Signed-off-by: Jerin Jacob Signed-off-by: Sunil Kulkarni --- drivers/net/thunderx/nicvf_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/thunderx/nicvf_rxtx.c b/drivers/net/thunderx/nicvf_rxtx.c index e27776e..9d69cf4 100644 --- a/drivers/net/thunderx/nicvf_rxtx.c +++ b/drivers/net/thunderx/nicvf_rxtx.c @@ -252,7 +252,7 @@ nicvf_xmit_pkts_multiseg(void *tx_queue, struct rte_mbuf **tx_pkts, /* Inform HW to xmit the packets */ nicvf_addr_write(sq->sq_door, used_desc); - return nb_pkts; + return i; } static const uint32_t ptype_table[16][16] __rte_cache_aligned = { -- 2.7.4