From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id 383051B1BB for ; Fri, 20 Oct 2017 14:45:31 +0200 (CEST) Received: by mail-wm0-f44.google.com with SMTP id q132so22280994wmd.2 for ; Fri, 20 Oct 2017 05:45:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=gkh0+zonBJlo6J5gIYqU33ZuJCQPhWkRf7Ew7ZDKr/s=; b=FcmabE5G3JB4yEaxYBTGAgBgdPWibI5PxIYXRnP1ueS6o+8urjzj3GD+vkQW+9W8Eq rUB3201eanQG7v37kbLWO6TSfuAo3nHCwvGeEU3iXhfNb8vMrZBzY9k3GRe3TOWpP63Y zA3hr03lshFZGmdERbCkDllRs9MOkmon297p6QgtTMRBbuzLO3HOtEKC2iHT628xq7LA VA1/Ec2l3JoCjuq5KPqnEYZ3PckZah8w3nZeF2q/gMTUeJ89bMcYEcS1qEz+rI8z0TC3 qeZ+n1oZQ1PKYZtf3n2v5bDJqAPFX6wNRbjacX+rgOiv5kwDXYAuWtpRWCc2oqhGeR19 rGkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=gkh0+zonBJlo6J5gIYqU33ZuJCQPhWkRf7Ew7ZDKr/s=; b=oebfB+vWwgahn++O0pUQHkOEAw+0wDHiWd6flvN6K/iuJso9/cjPmFAY93zRoeClRs TEdCpOBNDP8jmXrlDbUCPLAnOQa3SFHxLA+EfLSGV62hq6xCz/KleYfUbMica7/H/XGO Zl+WShiwJfNa7vB6JuUUiXReBCyDLsqy5AB5iyfIKa5JvMQDwuE5in78ikmMyEDaCTMh O6LzHkIUI0iIo+6Pqz4hO88wDw8i4OWkqCB4HhnEUV14spYFW01UBZTs2lfznvQ0c/QK q05KjHKbbxOojVgngSmWssnaQPkDsq5ZQlM0OHjfR56luGJ1ZVxHPpjObMl8GYEC0ISu f4eQ== X-Gm-Message-State: AMCzsaW1ImOFQas5mSvOXsha/haDfE7qkuOyw53uELz35A10S/O2NGvp cF6heVm2x3Vsw+a7pNS8jPZuYmL8ew== X-Google-Smtp-Source: ABhQp+T0NVKoa3as7NCgD3bGLPuLPN4abOsmiohvXRYZY+t5k3omsBsbLP0Vv+HU4pwhK+tIR1H7zg== X-Received: by 10.80.196.79 with SMTP id w15mr6219620edf.261.1508503530800; Fri, 20 Oct 2017 05:45:30 -0700 (PDT) Received: from laranjeiro-vm (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id e14sm1120761edk.95.2017.10.20.05.45.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Oct 2017 05:45:30 -0700 (PDT) From: "=?iso-8859-1?Q?N=E9lio?= Laranjeiro" X-Google-Original-From: =?iso-8859-1?Q?N=E9lio?= Laranjeiro Date: Fri, 20 Oct 2017 14:45:18 +0200 To: Adrien Mazarguil Cc: Ferruh Yigit , dev@dpdk.org Message-ID: <20171020124518.czsvwoqrj6ukhkiy@laranjeiro-vm> References: <1508503129-6298-1-git-send-email-adrien.mazarguil@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1508503129-6298-1-git-send-email-adrien.mazarguil@6wind.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH] net/mlx4: fix restriction on TCP/UDP flow rules 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: Fri, 20 Oct 2017 12:45:31 -0000 On Fri, Oct 20, 2017 at 02:39:58PM +0200, Adrien Mazarguil wrote: > The code as currently written requires TCP/UDP source and destination ports > to be always specified. > > No such restriction is enforced by hardware; all TCP and UDP traffic can be > matched by providing an empty mask for these fields. > > Fixes: 680d5280c20b ("net/mlx4: refactor flow item validation code") > > Signed-off-by: Adrien Mazarguil Acked-by: Nelio Laranjeiro -- Nélio Laranjeiro 6WIND