mbox series

[v5,0/2] eal: add WC store functions

Message ID 1594038600-22914-1-git-send-email-radu.nicolau@intel.com (mailing list archive)
Headers
Series eal: add WC store functions |

Message

Radu Nicolau July 6, 2020, 12:29 p.m. UTC
  Implement 2 new functions that will enable write combining
stores depending on architecture. The functions are provided
as a generic stub and a x86 specific implementation.

The reason to implement these functions is to improve performance
by reducing the overhead associated with regular mmio writes when
updating the hardware queue tails and doorbells.

With this patch set the I40E PMD is updated to use the write
combining store functions with other PMDs to follow.

Radu Nicolau (2):
  eal: add WC store functions
  net/i40e: use WC store to update queue tail registers

 drivers/net/i40e/base/i40e_osdep.h      |  5 +++
 drivers/net/i40e/i40e_rxtx.c            |  8 ++---
 drivers/net/i40e/i40e_rxtx_vec_avx2.c   |  4 +--
 drivers/net/i40e/i40e_rxtx_vec_sse.c    |  4 +--
 lib/librte_eal/include/generic/rte_io.h | 48 ++++++++++++++++++++++++++++
 lib/librte_eal/x86/include/rte_io.h     | 56 +++++++++++++++++++++++++++++++++
 6 files changed, 117 insertions(+), 8 deletions(-)