From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.31.37]) by dpdk.org (Postfix) with ESMTP id BCBFC8E91 for ; Wed, 4 Nov 2015 11:17:25 +0100 (CET) Received: from [87.172.149.111] (helo=nb-martin.allegro) by smtprelay03.ispgateway.de with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1Ztv6y-0000Mm-Il; Wed, 04 Nov 2015 11:16:12 +0100 To: "Zhang, Helin" , "dev@dpdk.org" From: Martin Weiser X-Enigmail-Draft-Status: N1010 Message-ID: <5639DB34.2070500@allegro-packets.com> Date: Wed, 4 Nov 2015 11:17:24 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Df-Sender: bWFydGluLndlaXNlckBhbGxlZ3JvLXBhY2tldHMuY29t Subject: [dpdk-dev] i40e: disabling flow control makes XL710 NIC discard all packets 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: Wed, 04 Nov 2015 10:17:25 -0000 Hi Helin, I have been doing some tests with the current DPDK master to see if the issues we had with performance and statistics have improved. In our own applications we usually disable flow control using the following code: struct rte_eth_fc_conf fc_conf =3D { .mode =3D RTE_FC_NONE }; int ret =3D rte_eth_dev_flow_ctrl_set(port_id, &fc_conf); In DPDK 2.1 this did not cause any problems with XL710 NICs but with the current master the NIC will not receive any packets and they are all counted in ierrors and imissed. The return value of rte_eth_dev_flow_ctrl_set does not indicate an error so it seems like something is going wrong here. Regards, Martin