From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f169.google.com (mail-wr0-f169.google.com [209.85.128.169]) by dpdk.org (Postfix) with ESMTP id 7CC0D7CE8 for ; Wed, 18 Apr 2018 08:59:46 +0200 (CEST) Received: by mail-wr0-f169.google.com with SMTP id q6-v6so1656235wrd.6 for ; Tue, 17 Apr 2018 23:59:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=d+GsfnE1I98MEfHLL710yQN8YvaCFuMxPejfiMoc0RU=; b=Ou9kNN/LtUTiPMJE7HUVjAk/ULRvGFXe4Qs+uy7PTalBAH8fUooG/iTn2a4rfsPQYt c865fbaaxisVrGkL81Xl3DyL0oVMEAaomCoMbv+79WFbOcr8eFN19V8bpkaijM55hJqi 4s9iApIK72RHAKQJr812+GivrCEmgsjP8+xpAohnFQ7DFI80GprEhMUIAtzsNR57hQeq M5pDutg/6fqpNvbijhYfWrdTNg341bYQIBm/Xqh9u61D5Egwhv3dybKqYBd0+gCm1tBU Pc6XqzvGjgJSyfGxQqVLNoqC+UBOBeUuK5RDCWE3Y0dD0afort0OdrupdTkm2iV+Pe+l kYXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=d+GsfnE1I98MEfHLL710yQN8YvaCFuMxPejfiMoc0RU=; b=CbScWgUIxQRPfZuHZNwWFX7FVjZZP9FWC4Pk7fiYbOV2JiHsvlJkAsjvdwpjmTSLaD gDepTPt2GqPYfb3dbnY990gCp50UTMmb5Kjnl/NwGmrQ0v/bDWiN4OhF25dhcjecMlVi SsklSWl/ZXgmj6MOhmBGSXI8NuaH6KHmiVOxlSa+IFcQ7jxc63W0RaUKUA+9RiKoeRCE Eap5lV+OoRfW0D3FH4twmT65GpgaPrnub/eA2IYK7yv/+QveOLxXulWAwUKElb9vrDuT dqijTg1fL8n6lKu4UrPYfSaJr8IjCfaeAqOfJ/+OYsRXnYF7SNZcIQB6OwlwJz9BqJ/R EI8w== X-Gm-Message-State: ALQs6tBRgP5hwEzsPojWvqG4dTDbP/kr7UeEH3D/SRhMDp6jjE/wA5uL jP6aLp2X9yPHWe9eAnnZJPxl X-Google-Smtp-Source: AIpwx4/8c+bYKshjtyyA4gKsWqbNlZtqCQr1p+xQLxLP7oLRUwINlg9DPOrCOEacKIB20usqx9SePQ== X-Received: by 10.28.69.68 with SMTP id s65mr752857wma.25.1524034786282; Tue, 17 Apr 2018 23:59:46 -0700 (PDT) Received: from laranjeiro-vm.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id u138sm1039553wmu.24.2018.04.17.23.59.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Apr 2018 23:59:45 -0700 (PDT) Date: Wed, 18 Apr 2018 09:00:20 +0200 From: =?iso-8859-1?Q?N=E9lio?= Laranjeiro To: Xueming Li Cc: Shahaf Shuler , dev@dpdk.org Message-ID: <20180418070020.2lirhrqmgnoir44m@laranjeiro-vm.dev.6wind.com> References: <20180413112023.106420-1-xuemingl@mellanox.com> <20180417151436.161374-12-xuemingl@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180417151436.161374-12-xuemingl@mellanox.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH v4 11/11] doc: update mlx5 guide on tunnel offloading 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, 18 Apr 2018 06:59:46 -0000 On Tue, Apr 17, 2018 at 11:14:36PM +0800, Xueming Li wrote: > Remove tunnel limitations, add new hardware tunnel offload features. > > Signed-off-by: Xueming Li > --- > doc/guides/nics/features/default.ini | 1 + > doc/guides/nics/features/mlx5.ini | 3 +++ > doc/guides/nics/mlx5.rst | 22 ++++++++++++++++++++-- > 3 files changed, 24 insertions(+), 2 deletions(-) > > diff --git a/doc/guides/nics/features/default.ini b/doc/guides/nics/features/default.ini > index dae2ad776..49be81450 100644 > --- a/doc/guides/nics/features/default.ini > +++ b/doc/guides/nics/features/default.ini > @@ -29,6 +29,7 @@ Multicast MAC filter = > RSS hash = > RSS key update = > RSS reta update = > +Inner RSS = > VMDq = > SR-IOV = > DCB = > diff --git a/doc/guides/nics/features/mlx5.ini b/doc/guides/nics/features/mlx5.ini > index f8ce08770..e75b14bdc 100644 > --- a/doc/guides/nics/features/mlx5.ini > +++ b/doc/guides/nics/features/mlx5.ini > @@ -21,6 +21,7 @@ Multicast MAC filter = Y > RSS hash = Y > RSS key update = Y > RSS reta update = Y > +Inner RSS = Y > SR-IOV = Y > VLAN filter = Y > Flow director = Y > @@ -30,6 +31,8 @@ VLAN offload = Y > L3 checksum offload = Y > L4 checksum offload = Y > Timestamp offload = Y > +Inner L3 checksum = Y > +Inner L4 checksum = Y > Packet type parsing = Y > Rx descriptor status = Y > Tx descriptor status = Y > diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst > index c28c83278..51590b0a3 100644 > --- a/doc/guides/nics/mlx5.rst > +++ b/doc/guides/nics/mlx5.rst > @@ -74,12 +74,12 @@ Features > - RX interrupts. > - Statistics query including Basic, Extended and per queue. > - Rx HW timestamp. > +- Tunnel types: VXLAN, L3 VXLAN, VXLAN-GPE, GRE, MPLS-in-GRE, MPLS-in-UDP. > +- Tunnel HW offloads: packet type, inner/outer RSS, IP and UDP checksum verification. > > Limitations > ----------- > > -- Inner RSS for VXLAN frames is not supported yet. > -- Hardware checksum RX offloads for VXLAN inner header are not supported yet. > - For secondary process: > > - Forked secondary process not supported. > @@ -327,6 +327,24 @@ Run-time configuration > > Enabled by default, valid only on VF devices ignored otherwise. > > +Firmware configuration > +~~~~~~~~~~~~~~~~~~~~~~ > + > +- L3 VXLAN and VXLAN-GPE destination UDP port > + > + .. code-block:: console > + > + mlxconfig -d set IP_OVER_VXLAN_EN=1 > + mlxconfig -d set IP_OVER_VXLAN_PORT= > + > + Verify configurations are set: > + > + .. code-block:: console > + > + mlxconfig -d query | grep IP_OVER_VXLAN > + IP_OVER_VXLAN_EN True(1) > + IP_OVER_VXLAN_PORT 4790 > + > Prerequisites > ------------- > > -- > 2.13.3 The documentation modification related to the L3 VXLAN should be in the same patch as the code in mlx5. Thanks, -- Nélio Laranjeiro 6WIND