net/i40e all packets dropped after rte_eth_dev_flow_ctrl_set
https://bugs.dpdk.org/show_bug.cgi?id=1138
Bug ID: 1138
Summary: net/i40e all packets dropped after
rte_eth_dev_flow_ctrl_set
Product: DPDK
Version: 21.11
Hardware: All
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: ethdev
Assignee: [email protected]
Reporter: [email protected]Target Milestone: ---
My program call rte_eth_dev_flow_ctrl_set after rte_eth_dev_start. I found that x710 dropped all packets(rx_dropped_packets in xstats).
I have used testpmd to confirm the problem:
app/test-pmd/testpmd.c +10 -0
@@ -2928,6 +2928,16 @@ struct extmem_param {continue ; } + { +struct rte_eth_fc_conf fc_conf = { + .autoneg =0 , + .mode =RTE_FC_NONE , + }; + +if (!rte_eth_dev_flow_ctrl_set (pi, &fc_conf)) +printf ("set port %d flow ctrl\n" , pi); + } +if (port->port_status ==RTE_PORT_HANDLING ) port->port_status =RTE_PORT_STARTED ;else
If I stop and start the port again, packet will be received as good.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.