From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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=IAH9exMU5MckN6JfU4KpSnODPpJ8fzUFtJOpKboYfrQ=; b=GcYFqIfHXWEGq5iZFNng7sY4FfK6Ft6stsSzbbuZa8aAsejIGr8HBUSY7TR3WgzNCZ XGhmhQa+T8fVtYE2Te3LpJeCpEjvtnjw/kQDjxPApwNwbYxLEzL5PzcoURu33YrVIYbK 8q2DWWXp2ZDgrAe2AqK8vvyeEQ5pYKG7Rf+W1MvTDtzZ/jhMWt0VFvinYqAPKRt3u4pd 0cCQEN4iPbvKP+e0mPjzJ/ess3p/5kVkn1TGH/JzEOGEipnhJAtGMuW0nSPdrJ1WcZ2T S37MvOHlIGlxg2HsoB6VL46DRUjCSnBOFHPvZcHDTlmpZwkgWMfyb1VUGfCOsomJzOxQ tu4g== 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=IAH9exMU5MckN6JfU4KpSnODPpJ8fzUFtJOpKboYfrQ=; b=EmG0hPdjQjpd1z+hiPOsD8eFHPh4C9KmsTJoyNoQ4o54OLTTD5rdYcP0vs9ecDoChf xFF0jlwwL674EC9PBiJ/U6WoytDqJaSVIooIYCQVaXtICqY++bwMBJ5MbbvNFaz0CpYC bEuCWOZV5z5KmoiXOF1tAVpVvBvpq2JNDEIQek5C5m98e174SXT2V1umSYp67B8ZXZMy KBmFhfYZEANEFQe5EcJ0NIjTUgwuf3lIC2kewKdkk/a46bmwL7LxOe2+OWZ3DtdRA4Je hZ4/RFcwbDjzS0FsXdChCm3YU6g+i32RZhyguKC6B6KyknRRrk78rsso4f/EEEfYMKc6 eX1w== X-Gm-Message-State: APf1xPC6ptdv6lfrQPAA2FOd1y7gcXNpfJ7Bz9jNI5U/o32DI1/GArnb MHcfGRVbqp4ZV9cNbm0ty5o= X-Google-Smtp-Source: AH8x226oMJWL/jR90C4IsfdZjS3oJOISIDEUso5Wc1oWbumJl8DCl1pUgpdPpFWV8AkOxUE2vmQipw== X-Received: by 10.200.7.3 with SMTP id g3mr18382189qth.77.1518439542009; Mon, 12 Feb 2018 04:45:42 -0800 (PST) Received: from localhost.localdomain ([177.10.56.96]) by smtp.gmail.com with ESMTPSA id q52sm6311692qtc.18.2018.02.12.04.45.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 12 Feb 2018 04:45:41 -0800 (PST) Received: by localhost.localdomain (Postfix, from userid 1000) id F21E21813D6; Mon, 12 Feb 2018 10:45:38 -0200 (-02) Date: Mon, 12 Feb 2018 10:45:38 -0200 From: Marcelo Ricardo Leitner To: Shahaf Shuler Cc: Ophir Munk , "dev@dpdk.org" , Adrien Mazarguil , Mordechay Haimovsky , Thomas Monjalon , Olga Shern , Matan Azrad 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 Content-Disposition: inline In-Reply-To: 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: Mon, 12 Feb 2018 12:45:43 -0000 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 >