netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
To: Tushar Vyavahare <tushar.vyavahare@intel.com>
Cc: <bpf@vger.kernel.org>, <netdev@vger.kernel.org>,
	<bjorn@kernel.org>, <magnus.karlsson@intel.com>,
	<jonathan.lemon@gmail.com>, <davem@davemloft.net>,
	<kuba@kernel.org>, <pabeni@redhat.com>, <ast@kernel.org>,
	<daniel@iogearbox.net>, <tirthendu.sarkar@intel.com>
Subject: Re: [PATCH bpf-next v2 0/2] selftests/xsk: Enhance traffic validation and batch size support
Date: Mon, 1 Jul 2024 18:28:37 +0200	[thread overview]
Message-ID: <ZoLZNfZjzyWEQCyy@boxer> (raw)
In-Reply-To: <20240627043548.221724-1-tushar.vyavahare@intel.com>

On Thu, Jun 27, 2024 at 04:35:46AM +0000, Tushar Vyavahare wrote:
> This patch series introduces enhancements to xsk selftests, focusing on
> dynamic batch size configurations and robust traffic validation.
> 
> Patch 1/2: Robust traffic validation post-ring size adjustment
> 
> - Fixed the flow in HW_SW_MIN_RING_SIZE and HW_SW_MAX_RING_SIZE test cases
>   to validate Tx/Rx traffic by checking the return value of
>   set_ring_size(), preventing premature test termination.
> 
> Patch 2/2: Dynamic batch size configuration
> 
> - Overcomes the 2K batch size limit by introducing dynamic adjustments for
>   fill_size and comp_size.
> - Update HW_SW_MAX_RING_SIZE test case that evaluates the maximum ring
>   sizes for AF_XDP, ensuring its reliability under maximum ring utilization.
> 
> Ensure the xsk selftests patches improve overall reliability and
> efficiency, allowing the system to handle larger batch sizes and
> effectively validate traffic after configuration changes.

v1..v2 diff?

> 
> Tushar Vyavahare (2):
>   selftests/xsk: Ensure traffic validation proceeds after ring size
>     adjustment in xskxceiver
>   selftests/xsk: Enhance batch size support with dynamic configurations
> 
>  tools/testing/selftests/bpf/xskxceiver.c | 40 +++++++++++++++++-------
>  tools/testing/selftests/bpf/xskxceiver.h |  2 ++
>  2 files changed, 31 insertions(+), 11 deletions(-)
> 
> -- 
> 2.34.1
> 
> 

      parent reply	other threads:[~2024-07-01 16:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-27  4:35 [PATCH bpf-next v2 0/2] selftests/xsk: Enhance traffic validation and batch size support Tushar Vyavahare
2024-06-27  4:35 ` [PATCH bpf-next v2 1/2] selftests/xsk: Ensure traffic validation proceeds after ring size adjustment in xskxceiver Tushar Vyavahare
2024-07-01 16:27   ` Maciej Fijalkowski
2024-06-27  4:35 ` [PATCH bpf-next v2 2/2] selftests/xsk: Enhance batch size support with dynamic configurations Tushar Vyavahare
2024-07-01 16:40   ` Maciej Fijalkowski
2024-07-01 16:28 ` Maciej Fijalkowski [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=ZoLZNfZjzyWEQCyy@boxer \
    --to=maciej.fijalkowski@intel.com \
    --cc=ast@kernel.org \
    --cc=bjorn@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=jonathan.lemon@gmail.com \
    --cc=kuba@kernel.org \
    --cc=magnus.karlsson@intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=tirthendu.sarkar@intel.com \
    --cc=tushar.vyavahare@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).