From: Ferruh Yigit Subject: Re: [PATCH v2 3/3] net/af_packet: get 'framesz' from the iface's MTU Date: Tue, 27 Nov 2018 17:45:41 +0000 Message-ID: <03e8ddf0-7c5f-1cf4-c68a-76f5de4a87a0@intel.com> References: <1542707697-175836-1-git-send-email-tiago.lam@intel.com> <1542709592-215007-1-git-send-email-tiago.lam@intel.com> <1542709592-215007-3-git-send-email-tiago.lam@intel.com> <59e1bdba-331b-e337-56e7-dc4f52057d56@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Tiago Lam , dev@dpdk.org To: linville@tuxdriver.com Return-path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id D61AA1B42D for ; Tue, 27 Nov 2018 18:45:43 +0100 (CET) In-Reply-To: <59e1bdba-331b-e337-56e7-dc4f52057d56@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 11/27/2018 5:43 PM, Ferruh Yigit wrote: > On 11/20/2018 10:26 AM, Tiago Lam wrote: >> Use the underlying MTU to calculate the framsize to be used for the mmap >> RINGs. This is to make it more flexible on deployments with different >> MTU requirements, instead of using a pre-defined value of 2048B. > > This behavior change should be documented in af_packet documentation which is > missing unfortunately. > Would you able to introduce the initial/basic af_packet doc to at least to > document device argument? If not please let me know, I can work on it. Hi John W., Is there any chance you can work on an af_packet driver documentation on DPDK as a maintainer of the PMD? Thanks, ferruh > >> >> If a 'framsz' option is provided, that value is used instead and the MTU >> of the underlying interface is ignored. >> >> Signed-off-by: Tiago Lam <...>