[dpdk-dev] [PATCH] net/fm10k: fix Rx descriptor read timing

2016-07-05 Thread Bruce Richardson
On Tue, Jul 05, 2016 at 10:43:42AM +0100, Bruce Richardson wrote: > On Mon, Jul 04, 2016 at 03:51:08PM +0800, Wang Xiao W wrote: > > We find that when traffic is light, a few amount of packets will be > > wrongly parsed (e.g. packet type), however this issue will not happen > > when traffic is

[dpdk-dev] [PATCH] net/fm10k: fix Rx descriptor read timing

2016-07-05 Thread Bruce Richardson
On Mon, Jul 04, 2016 at 03:51:08PM +0800, Wang Xiao W wrote: > We find that when traffic is light, a few amount of packets will be > wrongly parsed (e.g. packet type), however this issue will not happen > when traffic is heavy. > > The root cause is some fields in fm10k_rx_desc are read at wrong

[dpdk-dev] [PATCH] net/fm10k: fix Rx descriptor read timing

2016-07-04 Thread Wang Xiao W
We find that when traffic is light, a few amount of packets will be wrongly parsed (e.g. packet type), however this issue will not happen when traffic is heavy. The root cause is some fields in fm10k_rx_desc are read at wrong timing. When the input speed is slower than software's capability,