net/iavf: fix performance drop after port reset
authorLeyi Rong <leyi.rong@intel.com>
Thu, 12 Nov 2020 05:51:54 +0000 (13:51 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Nov 2020 18:43:26 +0000 (19:43 +0100)
commit63b7be7870c1eef53808f796f815b9b34ba36325
tree481c1b2af6ef74dfd4e248ee56febe81b982882e
parent55384497feb4aa17cc7eed35dbe0a1a4788c9cdc
net/iavf: fix performance drop after port reset

Needs to reset rxq->rxrearm_start to 0 when reset_rx_queue(),
otherwise, the random value of rxrearm_start will cause performance drop
due to L3 contested accesses.

Fixes: 69dd4c3d0898 ("net/avf: enable queue and device")
Cc: stable@dpdk.org
Signed-off-by: Leyi Rong <leyi.rong@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_rxtx.c