[dpdk-dev] How to shut down flow control in DPDK ?

chen_lp chen_lp at neusoft.com
Thu Jan 16 01:52:26 CET 2014


Hi,
I want to shut down flow control in DPDK,
I only kwon the function rte_eth_dev_flow_ctrl_set(uint8_t port_id,
struct rte_eth_fc_conf *fc_conf) can do this.
But I don't kwon how config the struct rte_eth_fc_conf.
I try config it like that :

static struct rte_eth_fc_conf fc_conf={
.high_water=100,
.low_water=10,
.pause_time=1,
.send_xon=0,
.mode=RTE_FC_NONE,
};

But other card which we link to can still able to control the speed of
our tx.


---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please 
immediately notify the sender by return e-mail, and delete the original message and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------


More information about the dev mailing list