DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Zhang, Qi Z" <qi.z.zhang@intel.com>
To: "Wu, Wenjun1" <wenjun1.wu@intel.com>,
	"dev@dpdk.org" <dev@dpdk.org>,
	"Zhang, Yuying" <yuying.zhang@intel.com>,
	"Xing, Beilei" <beilei.xing@intel.com>,
	"Wu, Jingjing" <jingjing.wu@intel.com>,
	"Yang, Qiming" <qiming.yang@intel.com>
Subject: RE: [PATCH v2 0/5] fix Rx data buffer size
Date: Wed, 26 Apr 2023 02:50:51 +0000	[thread overview]
Message-ID: <DM4PR11MB5994B1F1FA237F5A8430A92FD7659@DM4PR11MB5994.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20230414054744.1399735-1-wenjun1.wu@intel.com>



> -----Original Message-----
> From: Wu, Wenjun1 <wenjun1.wu@intel.com>
> Sent: Friday, April 14, 2023 1:48 PM
> To: dev@dpdk.org; Zhang, Yuying <yuying.zhang@intel.com>; Xing, Beilei
> <beilei.xing@intel.com>; Wu, Jingjing <jingjing.wu@intel.com>; Yang,
> Qiming <qiming.yang@intel.com>; Zhang, Qi Z <qi.z.zhang@intel.com>
> Cc: Wu, Wenjun1 <wenjun1.wu@intel.com>
> Subject: [PATCH v2 0/5] fix Rx data buffer size
> 
> 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.

Confirmed with author, this target to align with hardware spec, added related explanation in commit log.

> 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")
> 
> ---
> v2: fix commit log
> 
> 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(-)
> 
> --
> 2.34.1

Acked-by: Qi Zhang <qi.z.zhang@intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi


      parent reply	other threads:[~2023-04-26  2:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-14  3:51 [PATCH v1 0/5] fix RX " Wenjun Wu
2023-04-14  3:51 ` [PATCH v1 1/5] net/i40e: " Wenjun Wu
2023-04-14  3:51 ` [PATCH v1 2/5] net/ice: " Wenjun Wu
2023-04-14  3:51 ` [PATCH v1 3/5] net/iavf: " Wenjun Wu
2023-04-14  3:51 ` [PATCH v1 4/5] net/idpf: " Wenjun Wu
2023-04-14  3:51 ` [PATCH v1 5/5] net/cpfl: " Wenjun Wu
2023-04-14  5:47 ` [PATCH v2 0/5] fix Rx " Wenjun Wu
2023-04-14  5:47   ` [PATCH v2 1/5] net/i40e: " Wenjun Wu
2023-04-14  5:47   ` [PATCH v2 2/5] net/ice: " Wenjun Wu
2023-04-14  5:47   ` [PATCH v2 3/5] net/iavf: " Wenjun Wu
2023-04-14  5:47   ` [PATCH v2 4/5] net/idpf: " Wenjun Wu
2023-04-14  5:47   ` [PATCH v2 5/5] net/cpfl: " Wenjun Wu
2023-04-26  2:50   ` Zhang, Qi Z [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM4PR11MB5994B1F1FA237F5A8430A92FD7659@DM4PR11MB5994.namprd11.prod.outlook.com \
    --to=qi.z.zhang@intel.com \
    --cc=beilei.xing@intel.com \
    --cc=dev@dpdk.org \
    --cc=jingjing.wu@intel.com \
    --cc=qiming.yang@intel.com \
    --cc=wenjun1.wu@intel.com \
    --cc=yuying.zhang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).