From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ananyev, Konstantin" Subject: Re: [PATCH v6 5/6] app/testpmd: enable TCP/IPv4, VxLAN and GRE GSO Date: Wed, 4 Oct 2017 16:26:59 +0000 Message-ID: <2601191342CEEE43887BDE71AB9772585FAA3F4D@IRSMSX103.ger.corp.intel.com> References: <1506636833-25851-1-git-send-email-mark.b.kavanagh@intel.com> <1506962749-106779-1-git-send-email-mark.b.kavanagh@intel.com> <1506962749-106779-6-git-send-email-mark.b.kavanagh@intel.com> <2601191342CEEE43887BDE71AB9772585FAA3E62@IRSMSX103.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "Hu, Jiayu" , "Tan, Jianfeng" , "Yigit, Ferruh" , "thomas@monjalon.net" To: "Kavanagh, Mark B" , "dev@dpdk.org" Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id B88651B6AE for ; Wed, 4 Oct 2017 18:27:32 +0200 (CEST) In-Reply-To: Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Kavanagh, Mark B > Sent: Wednesday, October 4, 2017 5:23 PM > To: Ananyev, Konstantin ; dev@dpdk.org > Cc: Hu, Jiayu ; Tan, Jianfeng ; Yigit, Ferruh ; thomas@monjalon.net > Subject: RE: [PATCH v6 5/6] app/testpmd: enable TCP/IPv4, VxLAN and GRE G= SO >=20 >=20 >=20 > >-----Original Message----- > >From: Ananyev, Konstantin > >Sent: Wednesday, October 4, 2017 4:09 PM > >To: Kavanagh, Mark B ; dev@dpdk.org > >Cc: Hu, Jiayu ; Tan, Jianfeng ; > >Yigit, Ferruh ; thomas@monjalon.net > >Subject: RE: [PATCH v6 5/6] app/testpmd: enable TCP/IPv4, VxLAN and GRE = GSO > > > > > > > >> -----Original Message----- > >> From: Kavanagh, Mark B > >> Sent: Monday, October 2, 2017 5:46 PM > >> To: dev@dpdk.org > >> Cc: Hu, Jiayu ; Tan, Jianfeng ; > >Ananyev, Konstantin ; Yigit, > >> Ferruh ; thomas@monjalon.net; Kavanagh, Mark B > > > >> Subject: [PATCH v6 5/6] app/testpmd: enable TCP/IPv4, VxLAN and GRE GS= O > >> > >> From: Jiayu Hu > >> > >> This patch adds GSO support to the csum forwarding engine. Oversized > >> packets transmitted over a GSO-enabled port will undergo segmentation > >> (with the exception of packet-types unsupported by the GSO library). > >> GSO support is disabled by default. > >> > >> GSO support may be toggled on a per-port basis, using the command: > >> > >> "set port gso on|off" > >> > >> The maximum packet length (including the packet header and payload) fo= r > >> GSO segments may be set with the command: > >> > >> "set gso segsz " > >> > >> Show GSO configuration for a given port with the command: > >> > >> "show port gso" > >> > >> Signed-off-by: Jiayu Hu > >> Signed-off-by: Mark Kavanagh > >> --- > >> app/test-pmd/cmdline.c | 178 > >++++++++++++++++++++++++++++ > >> app/test-pmd/config.c | 24 ++++ > >> app/test-pmd/csumonly.c | 69 ++++++++++- > >> app/test-pmd/testpmd.c | 13 ++ > >> app/test-pmd/testpmd.h | 10 ++ > >> doc/guides/testpmd_app_ug/testpmd_funcs.rst | 46 +++++++ > >> 6 files changed, 335 insertions(+), 5 deletions(-) > >> > >> diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c > >> index ccdf239..05b0ce8 100644 > >> --- a/app/test-pmd/cmdline.c > >> +++ b/app/test-pmd/cmdline.c > >> @@ -431,6 +431,17 @@ static void cmd_help_long_parsed(void *parsed_res= ult, > >> " Set max flow number and max packet number per-flow" > >> " for GRO.\n\n" > >> > >> + "set port (port_id) gso (on|off)" > >> + " Enable or disable Generic Segmentation Offload in" > >> + " csum forwarding engine.\n\n" > >> + > >> + "set gso segsz (length)\n" > >> + " Set max packet length for output GSO segments," > >> + " including packet header and payload.\n\n" > > > >Probably a good future improvement would be to allow user to specify gs= o_type > >too. >=20 > Would you like to see that change implemented in time for the 17.11 relea= se? I think that's too late for such change in 17.11. My thought was about 18.02 here. Konstantin