From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Ricardo Leitner Subject: Re: [PATCH v1] doc: update mlx4 flow limitations Date: Mon, 12 Feb 2018 10:45:38 -0200 Message-ID: <20180212124538.GD8519@localhost.localdomain> 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 Cc: Ophir Munk , "dev@dpdk.org" , Adrien Mazarguil , Mordechay Haimovsky , Thomas Monjalon , Olga Shern , Matan Azrad To: Shahaf Shuler Return-path: Received: from mail-qt0-f195.google.com (mail-qt0-f195.google.com [209.85.216.195]) by dpdk.org (Postfix) with ESMTP id C460A1B346 for ; Mon, 12 Feb 2018 13:45:42 +0100 (CET) Received: by mail-qt0-f195.google.com with SMTP id i8so18716947qtj.9 for ; Mon, 12 Feb 2018 04:45:42 -0800 (PST) Content-Disposition: inline In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, Feb 12, 2018 at 07:41:03AM +0000, Shahaf Shuler wrote: > 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 > > > > Plans on updating mlx5 guide with this info too? > > AFAIK ConnectX-4 and 5 also have this limitation and it can save some hours > > of debugging. > > Which of the above limitations you encountered? The need to have eth dst specified. > > > > > Marcelo >