From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shahaf Shuler Subject: Re: [PATCH v1] doc: update mlx4 flow limitations Date: Mon, 12 Feb 2018 07:41:03 +0000 Message-ID: References: <1518072954-19082-1-git-send-email-ophirmu@mellanox.com> <20180211193029.GC8519@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" , Adrien Mazarguil , Mordechay Haimovsky , Thomas Monjalon , Olga Shern , "Matan Azrad" To: Marcelo Ricardo Leitner , Ophir Munk Return-path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0087.outbound.protection.outlook.com [104.47.0.87]) by dpdk.org (Postfix) with ESMTP id DA1BD1B30B for ; Mon, 12 Feb 2018 08:41:05 +0100 (CET) In-Reply-To: <20180211193029.GC8519@localhost.localdomain> 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" Hi Marcelo, Sunday, February 11, 2018 9:31 PM, Marcelo Ricardo: > On Thu, Feb 08, 2018 at 06:55:54AM +0000, Ophir Munk wrote: > > From: Moti Haimovsky > > > > This patch updates mlx4 documentation with flow configuration > > limitations imposed by NIC hardware and PMD implementation > > > > Signed-off-by: Ophir Munk > > --- > > doc/guides/nics/mlx4.rst | 77 > > ++++++++++++++++++++++++++++++++++++++++++++++++ > > 1 file changed, 77 insertions(+) > > > > diff --git a/doc/guides/nics/mlx4.rst b/doc/guides/nics/mlx4.rst index > > 98b9716..b81a875 100644 > > --- a/doc/guides/nics/mlx4.rst > > +++ b/doc/guides/nics/mlx4.rst > > @@ -515,3 +515,80 @@ devices managed by librte_pmd_mlx4. > > Port 3 Link Up - speed 40000 Mbps - full-duplex > > Done > > testpmd> > > + > > +Limitations > > +----------- > > + > > +Flow rules > > +~~~~~~~~~~ > > + > > +L2 (eth) > > +^^^^^^^^ > > + > > +- Can only use real destination MAC > > +- Source MAC is not taken into consideration > > + > > + For example using testpmd command - src mask must be > > + 00:00:00:00:00:00 otherwise the following command will fail > > + > > +.. code-block:: console > > + > > + testpmd> flow create 1 ingress pattern eth > > + src spec 00:16:3e:2b:e6:47 src mask FF:FF:FF:FF:FF:FF > > + / end actions drop / end > > + > > +- Supports only full MASK > > + > > + For example the following testpmd command will fail > > + > > +.. code-block:: console > > + > > + testpmd> flow create 1 ingress pattern eth > > + src spec 00:16:3e:2b:e6:47 > > + dst spec 4A:11:6C:FA:60:D0 dst mask FF:00:FF:FF:FF:00 > > + / end actions drop / end > > + > > + > > +- When configured to run in promiscuous or all-multicast modes does > > + not support additional rules > > +- Does not support the explicit exclusion of all multicast traffic > > +- Does not support partial VLAN TCI VID matching > > + > > +L3 (ipv4) > > +^^^^^^^^^ > > + > > +- Supports only 0 or full mask. Prerequisites: Need to have eth dst > > +spec >=20 > Plans on updating mlx5 guide with this info too? > AFAIK ConnectX-4 and 5 also have this limitation and it can save some hou= rs > of debugging. Which of the above limitations you encountered?=20 >=20 > Marcelo