All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: liwencheng <liwencheng@phytium.com.cn>
Cc: dev@dpdk.org
Subject: Re: [PATCH v4 2/4] net/macb: add new poll mode driver
Date: Wed, 16 Apr 2025 09:34:02 -0700	[thread overview]
Message-ID: <20250416093402.0dd1609e@hermes.local> (raw)
In-Reply-To: <1743577136-119797-1-git-send-email-liwencheng@phytium.com.cn>

On Wed,  2 Apr 2025 06:58:56 +0000
liwencheng <liwencheng@phytium.com.cn> wrote:

> +
> +struct __rte_cache_aligned macb_rx_queue_stats {
> +	union {
> +		unsigned long first;
> +		unsigned long rx_packets;
> +	};
> +	unsigned long rx_bytes;
> +	unsigned long rx_dropped;
> +};
> +
> +struct __rte_cache_aligned macb_tx_queue_stats {
> +	unsigned long tx_packets;
> +	unsigned long tx_bytes;
> +	unsigned long tx_dropped;
> +	unsigned long tx_start_packets;
> +	unsigned long tx_start_bytes;
> +};
> +

Doesn't really matter, but most drivers use uint64_t for stats.

  parent reply	other threads:[~2025-04-16 16:38 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-02  6:58 [PATCH v4 2/4] net/macb: add new poll mode driver liwencheng
2025-04-03  1:43 ` Stephen Hemminger
2025-04-03  1:45 ` Stephen Hemminger
2025-04-07  6:38 ` [PATCH v5 " liwencheng
2025-04-08  6:20   ` [PATCH v6 1/3] " liwencheng
2025-04-16 16:38     ` Stephen Hemminger
2025-04-18  3:25     ` [PATCH v7 " Wencheng Li
2025-06-04  6:59       ` [PATCH v8 " Wencheng Li
2025-06-04 20:52         ` Stephen Hemminger
2025-06-06  9:06         ` [PATCH v9 " Wencheng Li
2025-06-06 15:38           ` Stephen Hemminger
2025-08-20  4:33           ` [PATCH v10 " Wencheng Li
2025-08-20  9:33             ` Ivan Malov
2025-10-24 16:25             ` Stephen Hemminger
2025-10-28  8:31             ` [PATCH v11 " Wencheng Li
2025-04-16 16:34 ` Stephen Hemminger [this message]
2025-04-16 16:34 ` [PATCH v4 2/4] " Stephen Hemminger
  -- strict thread matches above, loose matches on Subject: below --
2024-12-10  7:04 [PATCH v3 1/6] net/macb: add new driver Wencheng Li
2025-04-02  7:09 ` [PATCH v4 2/4] net/macb: add new poll mode driver liwencheng

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=20250416093402.0dd1609e@hermes.local \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.org \
    --cc=liwencheng@phytium.com.cn \
    /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.