From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id CB3972215E; Wed, 19 Dec 2018 16:30:58 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 19 Dec 2018 16:30:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=2Dq4RsfdlEpyiYC7Bhq8BBvjwGsoUtzlKO22OecnZyQ=; b=QKpdhX82CUj9 zn3f7a4GRq0VmxuLHnZD3MB+PCVbhLn50kvZDqFxtTaS3WBiKMDSCUKUKNCkYeLc tn3AD/a6Zk1mu1aVhqnLtobiTLQPSELfYdP9GtUwCcBvMVPbC4fEl1sywE+G3Mti IMzyAzw4OIqqZn+Z7+riPFbqpItxRfU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=2Dq4RsfdlEpyiYC7Bhq8BBvjwGsoUtzlKO22OecnZ yQ=; b=PxWEEkvIqdhBZFCvjzt1jeDUJ+qFTWwVLzoiOC34z95e01jsOk6jdU+9F 3/2WaK1WR3v8mXjFhQSuRGMjWyVJ7QaJukgMUX4tqRfeoRljnYHzuQkd1QwkbKZr rSkEIypTPGHveJmwxOsIM7ig8xZu4Poni7NDXWIsZrrO3G2zmWr2B8G9YmedZ9dZ qvHY4POzq4efPNMXJ7EPdc0bvaUWKfiaJIklgKOTaIyXpfm2WrD3sSF3YBwTAMVq pNOCEDxprlekVqP+VbdkKZxlPL/1KAkmGllvZeEYipHu4QriQ7S/i/4S95hXMFI5 FflU3doS3aRCrohUI9zJ9LRGsVw+g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtkedrudejtddgudehtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecu fedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkf gjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhn uceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukfhppeejjedrudefgedrvd dtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr lhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 52CD6100B8; Wed, 19 Dec 2018 16:30:57 -0500 (EST) From: Thomas Monjalon To: "konstantin.ananyev@intel.com" Cc: dev@dpdk.org, Noa Ezra Date: Wed, 19 Dec 2018 22:30:56 +0100 Message-ID: <1896936.vBC4Qs7ps3@xps> In-Reply-To: <1544703399-32621-1-git-send-email-noae@mellanox.com> References: <1544703399-32621-1-git-send-email-noae@mellanox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] examples/ip_fragmentation: support bigger packets X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2018 21:30:59 -0000 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?