net/ice: update writeback policy to reduce latency
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Fri, 23 Oct 2020 20:22:00 +0000 (13:22 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:02 +0000 (23:35 +0100)
commit8b20510a042aee6681c33c20bb076b53cb354708
tree19b5c369c780731db9b7f098c449619e9b27f29c
parentead06572bd8f439928c834658c4b5fd7deea0f12
net/ice: update writeback policy to reduce latency

Just like iavf, setting the value to 2us allows for generally good
streaming packet performance while keeping latency down, and
generally keeps the performance of the PF and VF interfaces similar.

The previous value of 0x10 was making latency on a single packet
receive be as much as 16us.

Fixes: 65dfc889d86b ("net/ice: support Rx queue interruption")
Cc: stable@dpdk.org
Reported-by: Brian Johnson <brian.johnson@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_ethdev.c