From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Weiser Subject: i40e: disabling flow control makes XL710 NIC discard all packets Date: Wed, 4 Nov 2015 11:17:24 +0100 Message-ID: <5639DB34.2070500@allegro-packets.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable To: "Zhang, Helin" , "dev@dpdk.org" 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) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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