From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla@dpdk.org
Subject: [Bug 227] Flow control mode on mac Intel Corporation
I350 Gigabit Network Connection (rev 01) issues
Date: Fri, 15 Mar 2019 13:46:50 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
To: dev@dpdk.org
Return-path:
List-Id: DPDK patches and discussions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dev-bounces@dpdk.org
Sender: "dev"
https://bugs.dpdk.org/show_bug.cgi?id=3D227
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.Rogozhin@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 snip=
pet,
the code that sets the flow control mode.
.....
// setup flow control
struct rte_eth_fc_conf fc_conf;
if( 0 !=3D 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 =3D RTE_FC_NONE;
printf( "new flow control mode %d\n", fc_conf.mode );
if( 0 !=3D rte_eth_dev_flow_ctrl_set( port, &fc_conf ) )
{
printf( "bad flow contrl parameter\n" );
}
if( 0 !=3D 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 confirm=
ed
by the fact that the MAC reduces the packet transmission rate when receiving
pause frames.
--=20
You are receiving this mail because:
You are the assignee for the bug.=