DPDK patches and discussions
 help / color / mirror / Atom feed
From: "11" <caowenbo@mucse.com>
To: "'Stephen Hemminger'" <stephen@networkplumber.org>
Cc: <thomas@monjalon.net>, <dev@dpdk.org>, <ferruh.yigit@amd.com>,
	<andrew.rybchenko@oktetlabs.ru>, <yaojun@mucse.com>
Subject: RE: [PATCH v9 04/28] net/rnp: support mailbox basic operate
Date: Wed, 12 Feb 2025 10:54:20 +0800	[thread overview]
Message-ID: <87250201494D281A+001701db7cf9$6b2242f0$4166c8d0$@mucse.com> (raw)
In-Reply-To: <20250211072406.59f15101@hermes.local>

Hi Stephen,

This flag add will ignore some warning error ?
> +error_cflags = ['-Wno-unused-value',
> +        '-Wno-unused-but-set-variable',
> +        '-Wno-unused-parameter',
> +        ]

Regards Wenbo

> -----Original Message-----
> From: Stephen Hemminger <stephen@networkplumber.org>
> Sent: 2025年2月11日 23:24
> To: Wenbo Cao <caowenbo@mucse.com>
> Cc: thomas@monjalon.net; dev@dpdk.org; ferruh.yigit@amd.com;
> andrew.rybchenko@oktetlabs.ru; yaojun@mucse.com
> Subject: Re: [PATCH v9 04/28] net/rnp: support mailbox basic operate
> 
> On Tue, 11 Feb 2025 16:49:54 +0800
> Wenbo Cao <caowenbo@mucse.com> wrote:
> 
> > diff --git a/drivers/net/rnp/base/meson.build
> > b/drivers/net/rnp/base/meson.build
> > new file mode 100644
> > index 0000000000..9ea88c3bff
> > --- /dev/null
> > +++ b/drivers/net/rnp/base/meson.build
> > @@ -0,0 +1,22 @@
> > +# SPDX-License-Identifier: BSD-3-Clause # Copyright(C) 2023 Mucse IC
> > +Design Ltd.
> > +
> > +sources = [
> > +        'rnp_mbx.c',
> > +]
> > +
> > +error_cflags = ['-Wno-unused-value',
> > +        '-Wno-unused-but-set-variable',
> > +        '-Wno-unused-parameter',
> > +        ]
> 
> Put the first item on new line, meson is like python and similar style
applies.
> It is disappointing that base code is so messy that you have to disable
warnings.
> 
> > +c_args = cflags
> > +foreach flag: error_cflags
> > +    if cc.has_argument(flag)
> > +        c_args += flag
> > +    endif
> > +endforeach



  reply	other threads:[~2025-02-12  2:54 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-11  8:49 [PATCH v9 00/28] [v9]drivers/net Add Support mucse N10 Pmd Driver Wenbo Cao
2025-02-11  8:49 ` [PATCH v9 01/28] net/rnp: add skeleton Wenbo Cao
2025-02-11  8:49 ` [PATCH v9 02/28] net/rnp: add ethdev probe and remove Wenbo Cao
2025-02-11  8:49 ` [PATCH v9 03/28] net/rnp: add log Wenbo Cao
2025-02-11  8:49 ` [PATCH v9 04/28] net/rnp: support mailbox basic operate Wenbo Cao
2025-02-11 15:24   ` Stephen Hemminger
2025-02-12  2:54     ` 11 [this message]
2025-02-11 15:31   ` Stephen Hemminger
2025-02-11  8:49 ` [PATCH v9 05/28] net/rnp: add device init and uninit Wenbo Cao
2025-02-11  8:49 ` [PATCH v9 06/28] net/rnp: add get device information operation Wenbo Cao
2025-02-11  8:49 ` [PATCH v9 07/28] net/rnp: add support MAC promisc mode Wenbo Cao
2025-02-11  8:49 ` [PATCH v9 08/28] net/rnp: add queue setup and release operations Wenbo Cao
2025-02-11 15:22   ` Stephen Hemminger
2025-02-11 16:02   ` Stephen Hemminger
2025-02-12  1:50     ` 11
2025-02-11 16:03   ` Stephen Hemminger
2025-02-11  8:49 ` [PATCH v9 09/28] net/rnp: add queue stop and start operations Wenbo Cao
2025-02-11  8:50 ` [PATCH v9 10/28] net/rnp: add support device start stop operations Wenbo Cao
2025-02-11  8:50 ` [PATCH v9 11/28] net/rnp: add RSS support operations Wenbo Cao
2025-02-11  8:50 ` [PATCH v9 12/28] net/rnp: add support link update operations Wenbo Cao
2025-02-11 15:35   ` Stephen Hemminger
2025-02-12  3:21     ` 11
2025-02-11  8:50 ` [PATCH v9 13/28] net/rnp: add support link setup operations Wenbo Cao
2025-02-11  8:50 ` [PATCH v9 14/28] net/rnp: add Rx burst simple support Wenbo Cao
2025-02-11  8:50 ` [PATCH v9 15/28] net/rnp: add Tx " Wenbo Cao
2025-02-11  8:50 ` [PATCH v9 16/28] net/rnp: add MTU set operation Wenbo Cao
2025-02-11  8:50 ` [PATCH v9 17/28] net/rnp: add Rx scatter segment version Wenbo Cao
2025-02-11  8:50 ` [PATCH v9 18/28] net/rnp: add Tx multiple " Wenbo Cao
2025-02-11  8:50 ` [PATCH v9 19/28] net/rnp: add support basic stats operation Wenbo Cao
2025-02-11  8:50 ` [PATCH v9 20/28] net/rnp: add support xstats operation Wenbo Cao
2025-02-11  8:50 ` [PATCH v9 21/28] net/rnp: add unicast MAC filter operation Wenbo Cao
2025-02-11  8:50 ` [PATCH v9 22/28] net/rnp: add supported packet types Wenbo Cao
2025-02-11  8:50 ` [PATCH v9 23/28] net/rnp: add support Rx checksum offload Wenbo Cao
2025-02-11  8:50 ` [PATCH v9 24/28] net/rnp: add support Tx TSO offload Wenbo Cao
2025-02-11  8:50 ` [PATCH v9 25/28] net/rnp: support VLAN offloads Wenbo Cao
2025-02-11  8:50 ` [PATCH v9 26/28] net/rnp: add support VLAN filters operations Wenbo Cao
2025-02-11  8:50 ` [PATCH v9 27/28] net/rnp: add queue info operation Wenbo Cao
2025-02-11  8:50 ` [PATCH v9 28/28] net/rnp: support Rx/Tx burst mode info Wenbo Cao
2025-02-11 14:56 ` [PATCH v9 00/28] [v9]drivers/net Add Support mucse N10 Pmd Driver Stephen Hemminger
2025-02-11 15:18   ` 11
2025-02-11 16:16     ` Stephen Hemminger

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='87250201494D281A+001701db7cf9$6b2242f0$4166c8d0$@mucse.com' \
    --to=caowenbo@mucse.com \
    --cc=andrew.rybchenko@oktetlabs.ru \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@amd.com \
    --cc=stephen@networkplumber.org \
    --cc=thomas@monjalon.net \
    --cc=yaojun@mucse.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).