DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
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 v8 00/28] [v8]drivers/net Add Support mucse N10 Pmd Driver
Date: Mon, 10 Feb 2025 10:43:28 -0800	[thread overview]
Message-ID: <20250210104328.5e376c7e@hermes.local> (raw)
In-Reply-To: <1739172415-48507-1-git-send-email-caowenbo@mucse.com>

On Mon, 10 Feb 2025 15:26:27 +0800
Wenbo Cao <caowenbo@mucse.com> wrote:

> For This patchset just to support the basic chip init work
> and user can just found the eth_dev, but can't control more.
> For Now just support 2*10g nic,the chip can support
> 2*10g,4*10g,4*1g,8*1g,8*10g.
> The Feature rx side can support rx-cksum-offload,rss,vlan-filter
> flow_clow,uncast_filter,mcast_filter,1588,Jumbo-frame
> The Feature tx side can support tx-cksum-offload,tso,vxlan-tso 
> flow director base on ntuple pattern of tcp/udp/ip/ eth_hdr->type
> for sriov is also support.
> 
> Because of the chip design defect, for multiple-port mode
> one pci-bdf will have multiple-port (max can have four ports)
> so this code must be care of one bdf init multiple-port.


Driver errors on most basic build (gcc-14 x86)

[2394/3266] Compiling C object drivers/net/rnp/base/librnp_base.a.p/rnp_mbx.c.o
../drivers/net/rnp/base/rnp_mbx.c: In function ‘rnp_write_mbx_pf’:
../drivers/net/rnp/base/rnp_mbx.c:323:51: warning: array subscript 64 is above array bounds of ‘struct rnp_mbx_sync[64]’ [-Warray-bounds=]
  323 |         struct rnp_mbx_sync *sync = &hw->mbx.syncs[mbx_id];
      |                                      ~~~~~~~~~~~~~^~~~~~~~
In file included from ../drivers/net/rnp/base/rnp_mbx.c:7:
../drivers/net/rnp/base/rnp_hw.h:57:29: note: while referencing ‘syncs’
   57 |         struct rnp_mbx_sync syncs[RNP_MBX_FW];
      |                             ^~~~~
../drivers/net/rnp/base/rnp_mbx.c: In function ‘rnp_read_mbx_pf’:
../drivers/net/rnp/base/rnp_mbx.c:282:51: warning: array subscript 64 is above array bounds of ‘struct rnp_mbx_sync[64]’ [-Warray-bounds=]
  282 |         struct rnp_mbx_sync *sync = &hw->mbx.syncs[mbx_id];
      |                                      ~~~~~~~~~~~~~^~~~~~~~
../drivers/net/rnp/base/rnp_hw.h:57:29: note: while referencing ‘syncs’
   57 |         struct rnp_mbx_sync syncs[RNP_MBX_FW];
      |                             ^~~~~
[3266/3266] Linking target app/dpdk-test

  parent reply	other threads:[~2025-02-10 19:04 UTC|newest]

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

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=20250210104328.5e376c7e@hermes.local \
    --to=stephen@networkplumber.org \
    --cc=andrew.rybchenko@oktetlabs.ru \
    --cc=caowenbo@mucse.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@amd.com \
    --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).