From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by dpdk.org (Postfix) with ESMTP id 413651DBF for ; Wed, 28 Feb 2018 15:10:19 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B0AAA4015198; Wed, 28 Feb 2018 14:10:18 +0000 (UTC) Received: from [10.72.12.137] (ovpn-12-137.pek2.redhat.com [10.72.12.137]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 297BC202699A; Wed, 28 Feb 2018 14:10:16 +0000 (UTC) To: Jianfeng Tan , dev@dpdk.org References: <1519464907-133452-1-git-send-email-jianfeng.tan@intel.com> From: Jason Wang Message-ID: <098ad68d-20af-7646-7be3-ea260333960b@redhat.com> Date: Wed, 28 Feb 2018 22:10:14 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1519464907-133452-1-git-send-email-jianfeng.tan@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Wed, 28 Feb 2018 14:10:18 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Wed, 28 Feb 2018 14:10:18 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'jasowang@redhat.com' RCPT:'' 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:10:19 -0000 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. Thanks