From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 1C0414CA9 for ; Wed, 28 Feb 2018 15:54:00 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Feb 2018 06:53:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,406,1515484800"; d="scan'208";a="20991181" Received: from tanjianf-mobl.ccr.corp.intel.com (HELO [10.255.25.28]) ([10.255.25.28]) by fmsmga008.fm.intel.com with ESMTP; 28 Feb 2018 06:53:57 -0800 To: Jason Wang , dev@dpdk.org References: <1519464907-133452-1-git-send-email-jianfeng.tan@intel.com> <098ad68d-20af-7646-7be3-ea260333960b@redhat.com> From: "Tan, Jianfeng" Cc: stephen@networkplumber.org, Bruce Richardson , Tiwei Bie Message-ID: Date: Wed, 28 Feb 2018 22:53:56 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <098ad68d-20af-7646-7be3-ea260333960b@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [RFC] testpmd: handle UFO 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, 28 Feb 2018 14:54:01 -0000 Hi Jason, On 2/28/2018 10:10 PM, Jason Wang wrote: > > > On 2018年02月24日 17:35, Jianfeng Tan wrote: >> Mostly likely, we will make UFO as a kind of GSO engine. >> >> For short term, we can just call APIs in librte_ip_frag to fragment. >> >> To test: >> >> 1. start testpmd with two vhost port. >> $ set fwd csum >> $ start >> >> 2. start vm0 connected to vhost0; >> $ ifconfig xxx 1.1.1.1/24 up >> $ ethtool -K xxx ufo on >> >> 3. start vm1 connected to vhost1; >> $ ifconfig xxx 1.1.1.2/24 up >> $ ethtool -K xxx ufo on >> $ (Fill a large file named 1.txt) >> $ cat 1.txt | socat - udp-sendto:1.1.1.1:5000 > > Just a reminder, UFO was completely removed upstream. > Thank you for the information. Saw the deprecation patch at Linux v4.16-rc3, wonder what "version+" counts "merden kernels" in "modern kernels will no longer generate UFO skbs"? And this is mostly for stock VMs with old kernels to help the migration from kernel vswitch to user space vswitch. Will other OSes generate UFO packets, FreeBSD, Windows? Anyone can provide such information? Thanks, Jianfeng