From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) by dpdk.org (Postfix) with ESMTP id 4916A255 for ; Fri, 11 Sep 2015 20:45:28 +0200 (CEST) Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t8BIjQAQ001015 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 11 Sep 2015 18:45:26 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t8BIjPNI020157 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 11 Sep 2015 18:45:26 GMT Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by userv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t8BIjPeb028805; Fri, 11 Sep 2015 18:45:25 GMT MIME-Version: 1.0 Message-ID: <7050d5b8-8044-4ca3-babd-8513bd3f881a@default> Date: Fri, 11 Sep 2015 11:45:22 -0700 (PDT) From: Navneet Rao Sender: Navneet Rao To: Jan Fruhbauer , dev@dpdk.org References: <55E97655.9060709@invea.com> In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 14.0.7155.0 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] testpmd - configuration of the fdir filter X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2015 18:45:28 -0000 I'm getting a fdir filter programming error after I do this -- =20 =20 ./testpmd -c ffffffff -n 4 -- -i --pkt-filter-mode=3Dperfect --rxq=3D2 --tx= q=3D2 --portmask=3D0x3 --nb-ports=3D2 --disable-rss =20 testpmd> port stop all testpmd> flow_director_mask 0 vlan 0xefff src_mask 255.255.255.255 FFFF:= FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF 0xFFFF dst_mask 255.255.255.255 FFFF:FFF= F:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF 0xFFFF testpmd> flow_director_filter 0 add flow ipv4-udp src 192.168.10.100 dst= 192.168.10.101 vlan 0x1 flexbytes (0x00,0x00) fwd queue 1 fd_id 1 PMD: fdir_write_perfect_filter_82599(): Rx Queue=3D1 hash=3D10529 PMD: fdir_write_perfect_filter_82599(): Timeout writing flow director fi= lter. PMD: ixgbe_add_del_fdir_filter(): Fail to add FDIR filter! flow director programming error: (Connection timed out) =20 =20 Any ideas? Debug? =20 Thanks -Navneet =20 =20 =20 =20 -----Original Message----- From: Navneet Rao=20 Sent: Wednesday, September 09, 2015 10:26 AM To: Jan Fruhbauer Subject: RE: [dpdk-dev] testpmd - configuration of the fdir filter =20 Hello Jan: =20 Please let me know if you were able to figure this out... I am also running into similar issues!!! =20 Thanks -Navneet =20 =20 -----Original Message----- From: Jan Fruhbauer [mailto:fruhbauer@invea.com]=20 Sent: Friday, September 04, 2015 3:46 AM To: HYPERLINK "mailto:dev@dpdk.org"dev@dpdk.org Subject: [dpdk-dev] testpmd - configuration of the fdir filter =20 Hi, =20 I want to use the fdir filtering on a NIC based on the Intel 82599. I have = tested the testpmd application. I configured masks and added a filter but t= he fdir filter never matched any packet. I even tried different masks and f= ilters (with/without ports, TCP/UDP flow, IP prefixes, ...), but it never w= orked. Here is an example of commands I used during testing: =20 ./testpmd -c 0xff -n 2 -- -i --rxq=3D2 --txq=3D2 --pkt-filter-mode=3Dperfec= t --portmask=3D0x3 --nb-ports=3D2 --disable-rss testpmd> port stop 0 testpmd> flow_director_mask 0 vlan 0x0000 src_mask 255.255.255.255 FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF 0xFFFF dst_mask 255.255.255.255 FFF= F:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF 0xFFFF testpmd> flow_director_flex_mask 0 flow all (0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) testpmd> port start 0 testpmd> flow_director_filter 0 add flow ipv4-tcp src 1.0.0.1 1 dst 2.0.0.1 1 vlan 0x0 flexbytes (0x00,0x00) fwd queue 1 fd_id 1 testpmd> start =20 Then I sent generated traffic (simple packets with ethernet/IP/TCP headers) with parametrs I specified in the flow_director_filter to the NIC = port 0 and all packets arrived to the queue 0. =20 Please, could you advise me what I am doing wrong? Maybe some other configu= ration I didn't notice? =20 Regards, Jan =20