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 87D79A046B for ; Thu, 25 Jul 2019 14:06:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 490CF1B9A5; Thu, 25 Jul 2019 14:06:11 +0200 (CEST) Received: from mail-vs1-f67.google.com (mail-vs1-f67.google.com [209.85.217.67]) by dpdk.org (Postfix) with ESMTP id 43E431B9A5 for ; Thu, 25 Jul 2019 14:06:09 +0200 (CEST) Received: by mail-vs1-f67.google.com with SMTP id m8so33608734vsj.0 for ; Thu, 25 Jul 2019 05:06:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=29dtEVPk/Nh8gRD43nj9SvH2+uRDLv3YomV8B96Vfbg=; b=MX+IQsWy3bCEm4UDQAAtffZYLjMf/BTGEZIhwcmVhVdSLMrz1Zsodw5FyG36JQ2tqk 8dMeOXYg+ga3IXaBuC8ZR7LX8p702n1E2dk6nviXjqrEnBOW+X3MJtuSl6Ox1FLMJ3uv h0zdbef4ZZtStRzUIak1bjR1DY9b27gQhGp4IVs7CQN26tNh+TicxhhAplQcp9DpTPUV SlVz2BaHBFkPVtLt5nrmV8qX6HmzS0kEwsHxrlHbCsa+DOML4ik6X3BCs/u9/jJKU9ED lVoDwOqLG/i7TAziayGc/yGZn7AwSB6+xR+kwzXMhNb2xlIena+CHm4VMS0mbAvwPjZH o6pQ== X-Gm-Message-State: APjAAAUvt1/cEIWtzoLmX3hxiFxe1duEF+fXpzlYXFMao9QQgDCCiTJ0 Yo4eEOIJDuVi8LJnfcu76SkASMsBYI1uKLy94nxheg== X-Google-Smtp-Source: APXvYqwS7bXbL0xYnyrgJyrNobaEcXhzYQXwnTHZ+36rCYGsOrmYCTb0n58QfnynNd6TgE1q8qvEN+FnWUxWeL68BPk= X-Received: by 2002:a67:e9ca:: with SMTP id q10mr24082055vso.105.1564056369250; Thu, 25 Jul 2019 05:06:09 -0700 (PDT) MIME-Version: 1.0 References: <1563969270-29669-1-git-send-email-david.marchand@redhat.com> <1564056260-18125-1-git-send-email-david.marchand@redhat.com> <1564056260-18125-4-git-send-email-david.marchand@redhat.com> In-Reply-To: <1564056260-18125-4-git-send-email-david.marchand@redhat.com> From: David Marchand Date: Thu, 25 Jul 2019 14:05:58 +0200 Message-ID: To: dev Cc: "Yigit, Ferruh" , dpdk stable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-stable] [PATCH v2 3/3] net/pcap: fix concurrent multiseg packet transmits 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 Thu, Jul 25, 2019 at 2:05 PM David Marchand wrote: > > 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). > > With this change, we won't support mono segment mbuf larger than 16k. Argh, should have removed this wrong comment... -- David Marchand