From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from delivery.mailspamprotection.com (delivery.mailspamprotection.com [184.154.208.36]) by dpdk.org (Postfix) with ESMTP id C17B0235 for ; Tue, 26 Feb 2019 14:52:37 +0100 (CET) Received: from ns1.es18.siteground.eu ([37.60.250.193] helo=es18.siteground.eu) by se6.mailspamprotection.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1gyd9s-0005Ol-39; Tue, 26 Feb 2019 07:52:35 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=filipjaniszewski.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=V6VdeHFIGfMR7utdX284SkdL3YH3FqPNbFFGUaCYZig=; b=jvvGeDJnGUiwePzAXnfp6QGSfY Fz+hGpO+OKnNKp6D6xEDMm4m+37X3jrbQpv+C4QxFOAHgQl9Emn0Ni7tm53b4nFgPFaoWM4YNYqnd 0/GRc1wUJxSFGpqd+1lc5RXvwo/4OTXLHwyawXMBOs9QnIy2Cn+hha0TuW1NJoeSAFQath2T14SrC asbegFBlHvHu9lX1id/2iMGEqi3keMyqIMeNAk30c2PAY91dMqHge3GKAZjRRR36AqXkhpp4FTlpc 9DAoC+baScj/PkKivFKM5ypO7PSbfzaecrXXuFuzZ0Bsy1je//IPMPhMkz1ctUuybhfdZ4oTN/NCx JzI/XFIw==; Received: from [89.64.173.160] (port=38100 helo=localhost.localdomain) by es18.siteground.eu with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_34-9f6032f-XX) (envelope-from ) id 1gyd9q-0000ag-PE; Tue, 26 Feb 2019 14:52:30 +0100 To: Rami Rosen Cc: "users@dpdk.org" References: <6a0871c4-c884-b61a-e1fc-4752531a4a2f@filipjaniszewski.com> From: Filip Janiszewski Message-ID: Date: Tue, 26 Feb 2019 14:52:30 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: 37.60.250.193 X-SpamExperts-Domain: es18.siteground.eu X-SpamExperts-Username: 37.60.250.193 Authentication-Results: mailspamprotection.com; auth=pass smtp.auth=37.60.250.193@es18.siteground.eu X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.04) X-Recommended-Action: accept X-Filter-ID: EX5BVjFpneJeBchSMxfU5t0XRbj8SXXouMnS+Ar1K/F602E9L7XzfQH6nu9C/Fh9KJzpNe6xgvOx q3u0UDjvO/HgfYHNbHMZNn8uVEcaq0gb+AqrGmQQcz4ixHfKcCsMqv8A3IleAKV25S8A4hqkAoJL M0i5ZAms0EHrvcCaVIMEIDWdotJ7jYS1Xm4wf2i7tRwL/kREQ7yvfrqAETGFmFcaX5BOcJm3tImz /D02RCUu//nzk76lak4ojODbJHHEHwLF+7LAUW0punjE4+XCAiJ/pEpjSOPvcS0K+AhfyoSlrSS0 fOiU9O1ORZHe1ORqYSVLZvpS1kfaFtfjDudEZAMNwzSRr9TIm+vd5LtfSQMNa8sh5qcKvYnsSa35 QuNHGAFJ+4Vi0UkThksNRn9ICrsGOlWN3pRsVlO7BnVTW2964Bn/xFW1Emq7hJ1ivG4zukmd9wS3 TgOUAKXMmP2Nlqf2DNGP0n3HGosnygm28SP9hzvcC9WHTdL2y0kPKFsQeA6scZZwpzkCo4WoBCri 0gDAVE0LDqavceS6CUDOisguC54qR0DXEHm1B53l7yqVVzAFWiDMirclXJp1oBKOouidX4Ts4xdG +C13IyWeZaKt1/id8RRRBLOTk36scGimeVCNalFqetlKDP/rQHzM7xuXSTP225Zle6btp6hEH59N +GexdZ58vH9EssKvvZn4VaDrik4fiMgKLi2enPUJDH7FMEP7qu/SPchpJyDbwRE7P1quDtp86hRV Bo77uuViolsjsKmEpxnUW3Jcsko0PrE8eE9A1b+cthrSSS2pEcfm50YjvGNn3s3M2vWqR2efKC6w HSGGAcD5hWLVwhNTLYsEMysPur9wmiDBurOy6iSVi7mjjEL2SlA9qXhzazmzs7s3T7E6W05I1ycv b4ZU+N9o59cM6qtWWPPnz0I//5XX/Mp9cNid/SvZuLdq8VgoUV8ShebT8U8Xw9HTDfreWZBctMKK Gr7UW+abLI0J238qh6yfkXwqJrCRXYUh1YDrdLe11NKTA+JH4xuOSs8ucgNB8zFwqLHgp8Rw3SVX teRSoTE2v39zKLN72C6LMWVlYXsY7pPpudi7bULX4gWpY5PWzCAF99oTFEGQzm0y0S3TV0IKNdUB YEAlOVmg0AeqTWgMhWeRR1AfHEhZki7BEvY4ocfmWv3Fe9Iziczdq+A= X-Report-Abuse-To: spam@quarantine1.mailspamprotection.com Subject: Re: [dpdk-users] testpmd and jumbo frames X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2019 13:52:38 -0000 Hi Rami, The part that I forgot to clarify is that I need to test the chaining of mbufs while sending/receiving JF, so I would like to left unchanged the mbuf size and trigger a JF transmission by means of chaining the segments, do you think this is possible with testpmd? Thanks Il 26/02/19 14:09, Rami Rosen ha scritto: > Hi, Filip > I believe that the --max-pkt-len=9600 has an effect of setting the > DEV_RX_OFFLOAD_JUMBO_FRAME flag, and not setting the mbuf seg size. If > you want to set > the mbuf segment size, you need to use the "--mbuf-size" testpmd parameter. > For example, add "--mbuf-size=10000" and then try "set txpkts 9036" > from the testpmd cli > > Regards, > Rami Rosen > > On Tue, 26 Feb 2019 at 08:49, Filip Janiszewski > wrote: >> >> Hi, >> >> Can someone suggest the proper configuration required to test jumbo >> frames along with scatter mode using testpmd? >> >> I'm running the tool as follow: >> >> . >> sudo ./testpmd -l 0-3 -n 4 -- -i --max-pkt-len=9600 --enable-scatter >> --txd=512 --rxd=512 --forward-mode=flowgen >> . >> >> then attempting to set the packet length: >> >> . >> testpmd> set txpkts 9036 >> length[0]=9036 > mbuf_data_size=2176 - give up >> . >> >> According to the documentation >> (https://doc.dpdk.org/guides/testpmd_app_ug/run_app.html), the option >> txpkts should configure: >> >> . >> Set TX segment sizes or total packet length. Valid for tx-only and >> flowgen forwarding modes. >> . >> >> So I was expecting to be able to set the packet length in this way, but >> somehow it doesn't work and when I hit start the packets have always a >> length of 60 bytes: >> >> . >> src=00:01:02:03:04:00 - dst=00:01:02:03:04:01 - type=0x0800 - length=60 >> - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: >> L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - Send queue=0x0 >> . >> >> I've attempted to set the queue capabilities (scatter and JF) by hand with: >> >> . >> testpmd> port config 1 rx_offload scatter on >> testpmd> port config 1 rx_offload jumbo_frame on >> . >> >> (repeated for both port) but this doesn't helped, so, how do I test a >> card using testpmd with packets bigger than 2176? >> >> Thanks >> >> -- >> BR, Filip >> +48 666 369 823 -- BR, Filip +48 666 369 823