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 236DC11F5 for ; Fri, 14 Apr 2017 11:22:11 +0200 (CEST) Received: by mail-wm0-f44.google.com with SMTP id o81so127040290wmb.1 for ; Fri, 14 Apr 2017 02:22:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=bxgUEMjfNtrfMDFkTNeAYDXeoUKNr50HAh8JsIsj0eo=; b=ebeVp2MmnradTOk6ZMUil/SU6sGGNeBQJAEfl7Ja1xF8yQHTTr3ta+ziH30k/ONvnM 0QnsoUtsZoDwrUzDc4to7XkaZgYmA/tVTXpNk1+7wGP65dXXhvt7kaiei9iXGzlUoFl4 Y9Ch+DkN+/k4j142ttHEKdhWzslujYZK9U9tPIyv4l2BwmYt8VraBaoupvobfPQEcMKE AuPwz7Za95jFCT+oxvUJ/Oq3bquaTIWS7wbEEUhn1Z7bWW5Su6+WUObvq/HNEZQSMAAT +D7951pikcGOR2EwfOaskthCAi/D8jWTwGaDB9Kqw3ENFtbRqoZCa7jOHen+UaePkPTr lSWw== 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; bh=bxgUEMjfNtrfMDFkTNeAYDXeoUKNr50HAh8JsIsj0eo=; b=ocRfew+iK7Pr5639fLEulkg+c+rRwKadnrse7pXj3B+3QsDDuUldxs6JTCGHvnAEg3 J/D3q0s89lbELiNaEQ5knWDpbd131+uesKOPXH+uvI7BsI+M7b7uWEHgAt3Q9SRE1/f5 00qmqLKdqxB2ulNo6+Lym5qhfZmPRy16s3jMPoAtz8oIpU91SltM4My/eKXXtNT6gwYX cuVr2wm/Csa4dvmyr7ZoJum9DrXYP72rMzO0Xj9YaqAIUVZ9b+vuPTIRTKRGyJSNcC4/ /c/BDudcHMGI5YhlsgHTyzPrBAU8XckPyEfxepaozu2OioDtW87sOxHyW5hFZ+CuJUFL zM6g== X-Gm-Message-State: AN3rC/4JpFtPDUyd7p8CVRQZNOwi511xD+dk+y8Y/0pgRAmAHSmh55Ah Gfn5f6tFUT7v/TVU X-Received: by 10.28.127.139 with SMTP id a133mr7306380wmd.84.1492161730730; Fri, 14 Apr 2017 02:22:10 -0700 (PDT) Received: from 6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id u9sm13746507wme.8.2017.04.14.02.22.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Apr 2017 02:22:10 -0700 (PDT) Date: Fri, 14 Apr 2017 11:22:02 +0200 From: Adrien Mazarguil To: Tetsuro Nakamura Cc: users@dpdk.org, Wenzhuo Lu Message-ID: <20170414092202.GJ3790@6wind.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [dpdk-users] using rte_flow via tespmd with Intel X552 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Apr 2017 09:22:11 -0000 Hi Tetsuro, On Thu, Apr 13, 2017 at 10:18:28AM +0900, Tetsuro Nakamura wrote: > Hi All, > > I'm now trying to use simple L2 function with "Generic Flow API (rte_flow)" > using testpmd in dpdk-17.02, > but it doesn't work with the error below. > > ----------- > $sudo ./dpdk-17.02/x86_64-native-linuxapp-gcc/app/testpmd -l 0-3 -n 4 -- -i > --portmask=0x3 --nb-cores=2 > > testpmd> flow validate 0 ingress pattern eth / eth dst is a0:36:9f:78:30:26 > / end actions drop / end > Caught error type 9 (specific pattern item): cause: 0x7ffd225adc88, Not > supported by L2 tunnel filter > testpmd> flow validate 0 ingress pattern eth / eth dst is a0:36:9f:78:30:26 > / end actions queue index 0 / end > Caught error type 9 (specific pattern item): cause: 0x7ffd225adc88, Not > supported by L2 tunnel filter > ----------- > > I tried several other flows and got the same error. > I'm using Intel X552 NIC. The firmware-version is 0x800003e7. > > ----------- > $ sudo ethtool -i rename6 > driver: ixgbe > version: 5.0.4 > firmware-version: 0x800003e7 > expansion-rom-version: > bus-info: 0000:03:00.0 > supports-statistics: yes > supports-test: yes > supports-eeprom-access: yes > supports-register-dump: yes > supports-priv-flags: no > ----------- > > My question is, > am I missing some additional settings to do ? > Should I use another firmware version ? > # DPDK 17.02 official release note says the tested firmware version was > 0x800001cf. > # My version, 0x800003e7 is newer, isn't it? > > I don't think the NIC does't support such simple L2 functions. > But if it doesn't, are there any documents that tell us which NIC supports > which flow rules in rte_flow? > Could you tell me what flows I can try with Intel X552 NIC? > > Thank you and best regards, > > Tetsuro Nakamura, NTT I'm not familiar with ixgbe but this issue reminds me of this thread [1], particularly the following comment: "the rte_flow_error returned was not very useful for it does return the error of the last tried filter-type (L2 tunnel in ixgbe), and not the error of the filter-type that my setup should use (flow director)" CC'ing Wenzhuo, I think this issue is present in 17.02, has it been fixed since? [1] http://dpdk.org/ml/archives/dev/2017-March/059928.html -- Adrien Mazarguil 6WIND