From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f193.google.com (mail-qk0-f193.google.com [209.85.220.193]) by dpdk.org (Postfix) with ESMTP id 19CF71B31A for ; Sun, 11 Feb 2018 20:30:34 +0100 (CET) Received: by mail-qk0-f193.google.com with SMTP id o7so1712235qkc.1 for ; Sun, 11 Feb 2018 11:30:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=TslHp1c8msqZr9CumpBFTBNZOwMGc1vBlNwGAtLcJGw=; b=GRnbQArzZi3t/CVV3Y5944tmV8oGbFIvTn0DTyUI2899TTR3a5ARMkbA19QXOxhJAr j1qCJVoVx3/6CDA8+FU9PXr5S63Y97k64Tvw5HP5YW+dbotk2oxzByOhN6m8XrpH3po6 lqcIIFW1X5qWf7aTAl5A+D/dLs5mEr+no53k4k0W/XnCH1lWOeAgmEnKtFsl9gJeTZrU Vw/4GbFz3hMjYVy56cCYd/0faB+Ac4P/v2sdCEcE7olxZ1VzWzCMATWNXM0sPbeM7Y4V yIGzhxiGQ3WL2h2o9oQS0Ba9hj3MVutl8vIbj4IUMb1lv8mO5aFlf9NoYgM6lt2hnCyS 9ljQ== 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:in-reply-to:user-agent; bh=TslHp1c8msqZr9CumpBFTBNZOwMGc1vBlNwGAtLcJGw=; b=CdFJ8mHP8LojwNHS1L5McsIhX53zNZBRqoc8AhbTptyKfEI9azPXn5SI+bk/lQBH7Z tFMSLPbHpXmAWcSSuSJZ/6EipJjdDgCsQ8BYCaOzcIiZtAQD4W7PQ3RJMLTwpWqQohO3 4/MhzcQZtAZ01/+mMHL0pZIKSiiY3cLtHyXpW2mKY/nbXZXtprs3VL4FeQNXGoEqTzcM bz4huW6K9LFjpDztBEONLQR6zFp8myeqroZLVo1YMcuoTJbmqrq/eZcbmcYw+Y/In8Gy FPgu5M0e3fiEvOhsGsf3oQgdpITNdN7498uATc6RM1a9zqu5iENXp/XpV2Il/+BMf0cN 8Eaw== X-Gm-Message-State: APf1xPCWSss2WXndJMycri/tIthSfhJectBGtKTaMYitg4zXt9mT9NFg uV02mMBpAZmChN9wLSVa5Yw= X-Google-Smtp-Source: AH8x225ONh9jqhCHxHYbIKxTMbavvqCUO2/X+K+wBwSKeuLPqm91wWAMsy/nNpEioviL35FhQbKOvQ== X-Received: by 10.55.157.76 with SMTP id g73mr3104225qke.107.1518377433199; Sun, 11 Feb 2018 11:30:33 -0800 (PST) Received: from localhost.localdomain ([168.194.163.120]) by smtp.gmail.com with ESMTPSA id q20sm687915qte.87.2018.02.11.11.30.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Feb 2018 11:30:32 -0800 (PST) Received: by localhost.localdomain (Postfix, from userid 1000) id 0E841180E61; Sun, 11 Feb 2018 17:30:30 -0200 (-02) Date: Sun, 11 Feb 2018 17:30:30 -0200 From: Marcelo Ricardo Leitner To: Ophir Munk Cc: dev@dpdk.org, Adrien Mazarguil , Moti Haimovsky , Thomas Monjalon , Olga Shern , Matan Azrad Message-ID: <20180211193029.GC8519@localhost.localdomain> References: <1518072954-19082-1-git-send-email-ophirmu@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1518072954-19082-1-git-send-email-ophirmu@mellanox.com> User-Agent: Mutt/1.9.1 (2017-09-22) Subject: Re: [dpdk-dev] [PATCH v1] doc: update mlx4 flow limitations 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: Sun, 11 Feb 2018 19:30:34 -0000 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. Marcelo