[dpdk-dev] [PATCH] ethdev: fix checking for tx_free_thresh

2015-07-06 Thread Thomas Monjalon
> > This parameter is not consistent between the drivers: some use it as > > rte_eth_tx_burst() requires, some release buffers when the number of free > > descriptors drop below this value. > > Let's use it as most fast-path code does, which is the latter, and update > > comments throughout the cod

[dpdk-dev] [PATCH] ethdev: fix checking for tx_free_thresh

2015-06-25 Thread Ananyev, Konstantin
> -Original Message- > From: Zoltan Kiss [mailto:zoltan.kiss at linaro.org] > Sent: Tuesday, June 23, 2015 7:43 PM > To: dev at dpdk.org > Cc: Zoltan Kiss; Ananyev, Konstantin > Subject: [PATCH] ethdev: fix checking for tx_free_thresh > > This parameter is not consistent between the driv

[dpdk-dev] [PATCH] ethdev: fix checking for tx_free_thresh

2015-06-23 Thread Zoltan Kiss
This parameter is not consistent between the drivers: some use it as rte_eth_tx_burst() requires, some release buffers when the number of free descriptors drop below this value. Let's use it as most fast-path code does, which is the latter, and update comments throughout the code to reflect that.