From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id ADB3BA2E8D for ; Thu, 5 Sep 2019 18:08:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 60E3E1EF8C; Thu, 5 Sep 2019 18:08:53 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 5490C1EF8C for ; Thu, 5 Sep 2019 18:08:52 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id ABC39308219F for ; Thu, 5 Sep 2019 16:08:51 +0000 (UTC) Received: from [10.36.117.52] (ovpn-117-52.ams2.redhat.com [10.36.117.52]) by smtp.corp.redhat.com (Postfix) with ESMTP id AC6BD60C18; Thu, 5 Sep 2019 16:08:48 +0000 (UTC) To: David Marchand , stable@dpdk.org References: <1567683366-6140-1-git-send-email-david.marchand@redhat.com> From: Kevin Traynor Message-ID: Date: Thu, 5 Sep 2019 17:08:47 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <1567683366-6140-1-git-send-email-david.marchand@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.47]); Thu, 05 Sep 2019 16:08:51 +0000 (UTC) Subject: Re: [dpdk-stable] [PATCH 18.11] net/pcap: fix concurrent multiseg Tx 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: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On 05/09/2019 12:36, David Marchand wrote: > [ upstream commit fbbbf553f268b94d6dbe491a31d1f0c8d227465f ] > > Two cores can send multi segment packets on two different pcap ports. > Because of this, we can't have one single buffer to linearize packets. > > Use rte_pktmbuf_read() to copy the packet into a buffer on the stack > and remove eth_pcap_gather_data() when necessary (if the mbuf is > contiguous, rte_pktmbuf_read() just points at the buffer address). > > Fixes: 6db141c91e1f ("pcap: support jumbo frames") > > Signed-off-by: David Marchand > Acked-by: Ferruh Yigit Thanks David, added into the queue for push to stable branch next week. Kevin.