[dpdk-dev] i40e: disabling flow control makes XL710 NIC discard all packets

2015-11-05 Thread Martin Weiser
Hi Helin, I did some more testing and it seems like the issue is triggered when the 'high_water' and 'low_water' fields of the 'rte_eth_fc_conf' structure are set to 0 (like in my initial code example). The following example does not trigger the issue: struct rte_eth_fc_conf fc_conf; rte_eth_dev_

[dpdk-dev] i40e: disabling flow control makes XL710 NIC discard all packets

2015-11-04 Thread Zhang, Helin
Hi Martin Thank you very much for reporting the issue! Could you help to add more detailed steps and other information? We will try to reproduce what have seen in our lab, and then debug. Regards, Helin > -Original Message- > From: Martin Weiser [mailto:martin.weiser at allegro-packets.c

[dpdk-dev] i40e: disabling flow control makes XL710 NIC discard all packets

2015-11-04 Thread Martin Weiser
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 = { .mode = RTE_FC_NONE }; int ret = rte_