DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 227] Flow control mode on mac Intel Corporation I350 Gigabit Network Connection (rev 01) issues
@ 2019-03-15 13:46 bugzilla
  2019-03-15 13:46 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2019-03-15 13:46 UTC (permalink / raw)
  To: dev

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.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 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-15 13:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-15 13:46 [dpdk-dev] [Bug 227] Flow control mode on mac Intel Corporation I350 Gigabit Network Connection (rev 01) issues bugzilla
2019-03-15 13:46 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).