[dpdk-dev] [PATCH] examples/l3fwd-power: fix inappropiate Rx queue count method
De Lara Guarch, Pablo
pablo.de.lara.guarch at intel.com
Fri Nov 4 13:23:17 CET 2016
> -----Original Message-----
> From: De Lara Guarch, Pablo
> Sent: Friday, November 04, 2016 12:04 AM
> To: dev at dpdk.org
> Cc: De Lara Guarch, Pablo
> Subject: [PATCH] examples/l3fwd-power: fix inappropiate Rx queue count
> Since commit b4f3c136a179 ("net/ixgbe: support checksum flags in SSE vector
> when HW IP Checksum is enabled, the RX vector function is available to use.
> In case of L3fwd-power, since it is enabled, the RX vector function
> was not used, but after this commit, it is. This has affected the way
> to calculate how full an RX queue is, using rte_eth_rx_descriptor done
> function, making the frequency to be at maximum, even when the frequency
> is very low.
> This commit reverts the way to know how full a queue is to the
> previous way, using rte_eth_rx_queue_count(), making it work for both
> vector and scalar RX functions.
> Fixes: b451aa39db31 ("examples/l3fwd-power: use DD bit rather than RX
> queue count")
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
NACK, after doing some more tests with other drivers, this solution does not work.
Will send a documentation patch instead.
More information about the dev