From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from delivery.mailspamprotection.com (delivery.mailspamprotection.com [108.178.24.170]) by dpdk.org (Postfix) with ESMTP id 4E7FD239 for ; Tue, 26 Feb 2019 07:49:39 +0100 (CET) Received: from ns1.es18.siteground.eu ([37.60.250.193] helo=es18.siteground.eu) by se3.mailspamprotection.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1gyWYY-0008t9-9k for users@dpdk.org; Tue, 26 Feb 2019 00:49:38 -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: MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=y4Dp1j8fuhS8t+mS82zEv93Fz6gwHQeb/jdVaNCWZqY=; b=VD0W4CAprmHK2q8dTLffhZouLQ 6123Rt2YxAR9aVKxUdy8SNYgCwqx1Ta/J0RWjeVLZzxdO7PhvNHSv/Ztgrk34ptb9DF3PFQ92M3HU B7YDfk1Pq9vQ6KZaAReGTgPj/cZlnTrA+1kX3yCNxvWXmkrpGpjX1Yjbm1xQH/y4uqfy+F+/Q/zpK 8Z/TYioVd986IcqBb/YddwdMEOm5umu3quG7lmQPArZDDHviL/dGMEEFfUHhhS+Ay687wM1S04Thw vPTzHMg0TGh3fBlFMu3ho/ZMYoq6QLtLPHw3i4w79EHCxAUFUjx9euODWI5dWdqurF5rNfaV6DIvr tYyaFJxg==; Received: from [89.64.173.160] (port=56682 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 1gyWYX-0006eq-36 for users@dpdk.org; Tue, 26 Feb 2019 07:49:33 +0100 To: "users@dpdk.org" From: Filip Janiszewski Message-ID: <6a0871c4-c884-b61a-e1fc-4752531a4a2f@filipjaniszewski.com> Date: Tue, 26 Feb 2019 07:49:32 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 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.07) X-Recommended-Action: accept X-Filter-ID: EX5BVjFpneJeBchSMxfU5vrsbRjQZ+d57S4L5VSXHJl602E9L7XzfQH6nu9C/Fh9KJzpNe6xgvOx q3u0UDjvO1v+PcEVtX7KZY7H5dkGCkxVjyn5UrUp4n4yKOOaq9AxKGMoNxQNWfa+JRMXS5v3plDj fzzJ6O8jiVhZi+WiYeCsScX6I9Dl5i6VrUM1b/j5UkKLmtZb26ZOBNZRVM8aKeM0SnoZX29Ppjgp pjrn+Yq1umcuh1GvkHLZ8OnZHyNWPMpNXxpZuiYRs23iVM0elyiH1+ntxr00hn81KleQJQ+Py4pL zcBjxmjH72ILbiTFKPGp/DIIBivDZ+qRALOR3IWfOYTdHK+DIp6SWjAcPxjNdMc0+tLrm/OM2ZNN 7xVKXvDuFGkOuRGwqhSPI4i0mE7ORMeWjWZXIFUBbQIaxIo93SsS4aMXJmiJ2G0eb5ahlbDFGdMZ ORWs51tC2DIbMynb08gY7Z9WGbWn9uGQ9nE7ewl4g2tpBYo5PepVWtf5e3KKC/am0SSdnvIEkFKi CUWk9qjCPHj1p0MEjRB6kxXL1dQzbDGk/AKdxeY/WW00IwWlx5GOTYwpXYPNM1TcHMgHRT9ECLff buvAPf38z5zCw+nZjK4e+QY/WA2SrH/D+/YTAUzIKEDhdJQDEmx2LY8zlF0NuV2x3dbZ9Yap7kaK TkqNTmfIXTDQjES/cfAgBJt09RtfY0jfl26yqVDqrRMCmPOYNtu9U1P0PUiSA1CDPFytuHyCRAEK JNmMsV0OFS3j1CL0MCFwBsMTHyeaweTU5hCKmg0HvFcvqfVW7HGsHaGRbkv0i/cE9eg6RnHh5HDM G1jnOMNkkY91frKIelHy4A1GDh4BjJHk5pSlfEVGbGQH/hvcskRuIZpEVkpjcQul2DFAbVQ25gCb M+p+bc3nbw3qUx3nrgnxDIe1R1Eai8lITf0h/EL6RdOFfhWCOjIS2sRkljbb0V8yFyPFYPOvZuSq z72ZUJpUnrU91lNvSkhDfFRNluiqVRX3kqZrvzBmgWOpVgHABM8iVVdczDEPiNSX+/t4ouUI77Yp oPs8F/IJRA8ZF8C5AnJBxSFDr6AeYKj2k4CPZZebokP6BRSzT3e/vErSojFNgZ+z2eBr1XnruN+a 229WXkyXzpy1 X-Report-Abuse-To: spam@quarantine1.mailspamprotection.com Subject: [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 06:49:39 -0000 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