Thank you Bhanu for reviewing and testing it.
Regards _Sugesh > -----Original Message----- > From: Bodireddy, Bhanuprakash > Sent: Thursday, July 28, 2016 4:54 PM > To: Chandran, Sugesh <[email protected]>; [email protected]; > [email protected] > Subject: RE: [PATCH v2] netdev-dpdk: Add Flow Control support. > > >-----Original Message----- > >From: Chandran, Sugesh > >Sent: Thursday, July 28, 2016 4:30 PM > >To: [email protected]; Bodireddy, Bhanuprakash > ><[email protected]>; [email protected] > >Cc: Chandran, Sugesh <[email protected]> > >Subject: [PATCH v2] netdev-dpdk: Add Flow Control support. > > > >Add support for flow-control(mac control frame) to DPDK enabled physical > >port types. By default, the flow-control is OFF on both rx and tx side. > >The flow control can be enabled/disabled either when adding a port to OVS > or > >at run time. > > > >For eg: > >To enable flow control support at tx side while adding a port, add the 'tx- > flow- > >ctrl' option to the 'ovs-vsctl add-port' command-line as below. > > > > 'ovs-vsctl add-port br0 dpdk0 -- \ > > set Interface dpdk0 type=dpdk options:tx-flow-ctrl=true' > > > >Similarly to enable rx flow control, > > 'ovs-vsctl add-port br0 dpdk0 -- \ > > set Interface dpdk0 type=dpdk options:rx-flow-ctrl=true' > > > >And to enable the flow control auto-negotiation, 'ovs-vsctl add-port br0 > >dpdk0 -- \ > > set Interface dpdk0 type=dpdk options:flow-ctrl-autoneg=true' > > > >To turn ON the tx flow control at run time(After the port is being added to > >OVS), the command-line input will be, 'ovs-vsctl set Interface dpdk0 > >options:tx-flow-ctrl=true' > > > >The flow control parameters can be turned off by setting 'false' to the > >respective parameter. To dsiable the flow control at tx side, 'ovs-vsctl set > >Interface dpdk0 options:tx-flow-ctrl=false' > > > >Signed-off-by: Sugesh Chandran <[email protected]> > > LGTM, I tested it and can apply the rx flow control setting even when the > interface is transmitting. > Acked-by: Bhanuprakash Bodireddy <[email protected]> > > Regards, > Bhanu Prakash. _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
