netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: "Xin Tian" <tianx@yunsilicon.com>
Cc: <netdev@vger.kernel.org>, <leon@kernel.org>,
	<andrew+netdev@lunn.ch>, <pabeni@redhat.com>,
	<edumazet@google.com>, <davem@davemloft.net>,
	<jeff.johnson@oss.qualcomm.com>, <przemyslaw.kitszel@intel.com>,
	<weihg@yunsilicon.com>, <wanry@yunsilicon.com>,
	<horms@kernel.org>, <parthiban.veerasooran@microchip.com>,
	<masahiroy@kernel.org>
Subject: Re: [PATCH net-next v6 00/14] xsc: ADD Yunsilicon XSC Ethernet Driver
Date: Thu, 27 Feb 2025 08:23:16 -0800	[thread overview]
Message-ID: <20250227082316.5bd669a3@kernel.org> (raw)
In-Reply-To: <20250227082558.151093-1-tianx@yunsilicon.com>

On Thu, 27 Feb 2025 16:26:36 +0800 Xin Tian wrote:
> The patch series adds the xsc driver, which will support the YunSilicon
> MS/MC/MV series of network cards. These network cards offer support for
> high-speed Ethernet and RDMA networking, with speeds of up to 200Gbps.
> 
> The Ethernet functionality is implemented by two modules. One is a
> PCI driver(xsc_pci), which provides PCIe configuration,
> CMDQ service (communication with firmware), interrupt handling,
> hardware resource management, and other services, while offering
> common interfaces for Ethernet and future InfiniBand drivers to
> utilize hardware resources. The other is an Ethernet driver(xsc_eth),
> which handles Ethernet interface configuration and data
> transmission/reception.
> 
> - Patches 1-7 implement the PCI driver
> - Patches 8-14 implement the Ethernet driver
> 
> This submission is the first phase, which includes the PF-based Ethernet
> transmit and receive functionality. Once this is merged, we will submit
> additional patches to implement support for other features, such as SR-IOV,
> ethtool support, and a new RDMA driver.

drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:525:14-15: WARNING: *_pool_zalloc should be used for mailbox -> buf, instead of *_pool_alloc/memset
drivers/net/ethernet/yunsilicon/xsc/pci/hw.c:40:17-24: WARNING: vzalloc should be used for board_info [ i ], instead of vmalloc/memset
drivers/net/ethernet/yunsilicon/xsc/net/main.c:1946:21-22: WARNING kvmalloc is used to allocate this memory at line 1933
drivers/net/ethernet/yunsilicon/xsc/net/main.c:1968:22-28: ERROR: adapter is NULL but dereferenced.
drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_tx.c:284:14-21: WARNING: Unsigned expression compared with zero: num_dma < 0
-- 
pw-bot: cr

  parent reply	other threads:[~2025-02-27 16:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-27  8:26 [PATCH net-next v6 00/14] xsc: ADD Yunsilicon XSC Ethernet Driver Xin Tian
2025-02-27  8:26 ` [PATCH net-next v6 01/14] xsc: Add xsc driver basic framework Xin Tian
2025-02-27  8:26 ` [PATCH net-next v6 02/14] xsc: Enable command queue Xin Tian
2025-02-27  8:26 ` [PATCH net-next v6 03/14] xsc: Add hardware setup APIs Xin Tian
2025-02-27  8:26 ` [PATCH net-next v6 04/14] xsc: Add qp and cq management Xin Tian
2025-02-27  8:26 ` [PATCH net-next v6 05/14] xsc: Add eq and alloc Xin Tian
2025-02-27  8:26 ` [PATCH net-next v6 06/14] xsc: Init pci irq Xin Tian
2025-02-27  8:26 ` [PATCH net-next v6 07/14] xsc: Init auxiliary device Xin Tian
2025-02-27  8:26 ` [PATCH net-next v6 08/14] xsc: Add ethernet interface Xin Tian
2025-02-27  8:26 ` [PATCH net-next v6 09/14] xsc: Init net device Xin Tian
2025-02-27  8:26 ` [PATCH net-next v6 10/14] xsc: Add eth needed qp and cq apis Xin Tian
2025-02-27  8:26 ` [PATCH net-next v6 11/14] xsc: ndo_open and ndo_stop Xin Tian
2025-02-27  8:26 ` [PATCH net-next v6 12/14] xsc: Add ndo_start_xmit Xin Tian
2025-02-27  8:26 ` [PATCH net-next v6 13/14] xsc: Add eth reception data path Xin Tian
2025-02-27  8:26 ` [PATCH net-next v6 14/14] xsc: add ndo_get_stats64 Xin Tian
2025-02-27 16:23 ` Jakub Kicinski [this message]
2025-02-28 13:43   ` [PATCH net-next v6 00/14] xsc: ADD Yunsilicon XSC Ethernet Driver Xin Tian

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=20250227082316.5bd669a3@kernel.org \
    --to=kuba@kernel.org \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=jeff.johnson@oss.qualcomm.com \
    --cc=leon@kernel.org \
    --cc=masahiroy@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=parthiban.veerasooran@microchip.com \
    --cc=przemyslaw.kitszel@intel.com \
    --cc=tianx@yunsilicon.com \
    --cc=wanry@yunsilicon.com \
    --cc=weihg@yunsilicon.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).