All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Bruce Richardson <bruce.richardson@intel.com>
Cc: dev@dpdk.org, stable@dpdk.org
Subject: Re: [PATCH v2] app/testpmd: use burst IO for IEEE1588 forwarding
Date: Mon, 23 Nov 2026 08:50:50 -0800	[thread overview]
Message-ID: <20261123085050.75d472c2@phoenix.local> (raw)
In-Reply-To: <20261123122626.2253504-1-bruce.richardson@intel.com>

On Mon, 23 Nov 2026 12:26:26 +0000
Bruce Richardson <bruce.richardson@intel.com> wrote:

Since only called here:
>  static bool
> -ieee1588_packet_fwd(struct fwd_stream *fs)
> +ieee1588_process_packet(struct fwd_stream *fs, struct rte_mbuf *mb)
>  {

Make it void not bool

and drop the cast.

> +static bool
> +ieee1588_packet_fwd(struct fwd_stream *fs)
> +{
> +	struct rte_mbuf *pkts_burst[MAX_PKT_BURST];
> +
> +	const uint16_t nb_rx = common_fwd_stream_receive(fs, pkts_burst, nb_pkt_per_burst);
> +	for (uint16_t i = 0; i < nb_rx; i++)
> +		(void)ieee1588_process_packet(fs, pkts_burst[i]);

  reply	other threads:[~2026-11-23 16:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-18 15:11 [PATCH] app/test-pmd: use burst IO for IEEE1588 forwarding Bruce Richardson
2026-11-22 17:44 ` Stephen Hemminger
2026-11-23 12:26 ` [PATCH v2] app/testpmd: " Bruce Richardson
2026-11-23 16:50   ` Stephen Hemminger [this message]
2026-11-23 16:53     ` Bruce Richardson
2026-11-23 18:38       ` Stephen Hemminger
2026-11-26 13:51 ` [PATCH v3] " Bruce Richardson

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=20261123085050.75d472c2@phoenix.local \
    --to=stephen@networkplumber.org \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=stable@dpdk.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.