https://bugs.dpdk.org/show_bug.cgi?id=227
Bug ID: 227 Summary: Flow control mode on mac Intel Corporation I350 Gigabit Network Connection (rev 01) issues Product: DPDK Version: 18.11 Hardware: x86 OS: Linux Status: CONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: aleksey.rogoz...@infotecs.ru Target Milestone: --- Hi all. Faced with the problem of changing the flow control mode on the Intel Corporation I350 Gigabit Network Connection (rev 01). In the following snippet, the code that sets the flow control mode. ..... // setup flow control struct rte_eth_fc_conf fc_conf; if( 0 != rte_eth_dev_flow_ctrl_get( port, &fc_conf ) ) { printf( "cannot get flow ctrl parameters\n" ); } else { printf( "current flow control mode %d\n", fc_conf.mode ); fc_conf.mode = RTE_FC_NONE; printf( "new flow control mode %d\n", fc_conf.mode ); if( 0 != rte_eth_dev_flow_ctrl_set( port, &fc_conf ) ) { printf( "bad flow contrl parameter\n" ); } if( 0 != rte_eth_dev_flow_ctrl_get( port, &fc_conf ) ) { printf( "cannot get flow ctrl parameters\n" ); } printf( "after setup flow control mode %d\n", fc_conf.mode ); } ..... Below is the output that was generated. ..... current flow control mode 1 new flow control mode 0 after setup flow control mode 1 ..... >From this it follows that the flow control mode has not been changed. Also the fact that the MAC has not changed the flow control mode is confirmed by the fact that the MAC reduces the packet transmission rate when receiving pause frames. -- You are receiving this mail because: You are the assignee for the bug.