From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] examples/ip_fragmentation: support bigger packets Date: Wed, 19 Dec 2018 22:30:56 +0100 Message-ID: <1896936.vBC4Qs7ps3@xps> References: <1544703399-32621-1-git-send-email-noae@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Noa Ezra To: "konstantin.ananyev@intel.com" Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 3FE7A1B56E for ; Wed, 19 Dec 2018 22:30:59 +0100 (CET) In-Reply-To: <1544703399-32621-1-git-send-email-noae@mellanox.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 13/12/2018 13:17, Noa Ezra: > Adding MTU and mbuf size configuration to the application's command > line, in order to be able to receive all packet sizes by the NIC and > DPDK application. > The maximum transmission unit (MTU) is the largest size packet in > bytes that can be sent on the network, therefore before adding MTU > parameter, the NIC could not receive packets larger than 1500 bytes, > which is the default MTU size. > The mbuf is the memory buffer that contains the packet. Before adding > mbuf parameter, the DPDK application could not receive packets larger > than 2KB, which is the default mbuf size. > > Signed-off-by: Noa Ezra > --- > doc/guides/sample_app_ug/ip_frag.rst | 18 ++++++++- > examples/ip_fragmentation/main.c | 77 +++++++++++++++++++++++++++++++++--- > 2 files changed, 88 insertions(+), 7 deletions(-) Konstantin, any comment please?