mbox

[v1,0/5] fix RX data buffer size

Message ID 20230414035151.1377726-1-wenjun1.wu@intel.com (mailing list archive)
Headers

Message

Wenjun Wu April 14, 2023, 3:51 a.m. UTC
  This patch set fixes RX data buffer size in ice, i40e, iavf and idpf driver.

1. Limit the maximum buffer size to no more than 16K - 128.
2. Align max buffer size to 128, or replace RTE_ALIGN with
RTE_ALIGN_FLOOR according to [1].

[1] Commit c9c45beb1b97 ("net/iavf: fix Rx queue buffer size alignment")

Wenjun Wu (5):
  net/i40e: fix RX data buffer size
  net/ice: fix RX data buffer size
  net/iavf: fix RX data buffer size
  net/idpf: fix RX data buffer size
  net/cpfl: fix RX data buffer size

 drivers/common/idpf/idpf_common_rxtx.h | 3 +++
 drivers/net/cpfl/cpfl_rxtx.c           | 3 ++-
 drivers/net/i40e/i40e_rxtx.c           | 2 ++
 drivers/net/i40e/i40e_rxtx.h           | 3 +++
 drivers/net/iavf/iavf_rxtx.c           | 1 +
 drivers/net/iavf/iavf_rxtx.h           | 3 +++
 drivers/net/ice/ice_dcf_ethdev.c       | 3 ++-
 drivers/net/ice/ice_rxtx.c             | 3 ++-
 drivers/net/ice/ice_rxtx.h             | 3 +++
 drivers/net/idpf/idpf_rxtx.c           | 6 ++++--
 10 files changed, 25 insertions(+), 5 deletions(-)