All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Xin Tian" <tianx@yunsilicon.com>
Cc: linux-rdma@vger.kernel.org
Subject: Re: [PATCH v2 07/11] net/xsc: add the ethernet netdev
Date: Fri, 27 Nov 2026 14:58:10 +0000	[thread overview]
Message-ID: <sashiko-outbox-237640@kernel.org> (raw)
In-Reply-To: <20261126145730.70868-8-tianx@yunsilicon.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] net/xsc: missing select AUXILIARY_BUS in Kconfig for XSC PCI
  and ETH
--

commit a8648ed654545f6dce03a1a5471a356b495435e2
Author: Xin Tian <tianx@yunsilicon.com>

net/xsc: add the ethernet netdev

This commit registers the Yunsilicon XSC ethernet auxiliary device and
driver, sets up the netdev, and programs its MAC address, MTU, and
open/close callbacks.

> diff --git a/drivers/net/ethernet/yunsilicon/xsc/net/Kconfig b/drivers/net/ethernet/yunsilicon/xsc/net/Kconfig
> new file mode 100644
> index 0000000000000..7428b26295b66
> --- /dev/null
> +++ b/drivers/net/ethernet/yunsilicon/xsc/net/Kconfig
> @@ -0,0 +1,17 @@
> +# SPDX-License-Identifier: GPL-2.0
> +# Copyright (C) 2021-2026, Shanghai Yunsilicon Technology Co., Ltd.
> +# All rights reserved.
> +# Yunsilicon driver configuration
> +#
> +
> +config YUNSILICON_XSC_ETH
> +	tristate "Yunsilicon XSC ethernet driver"
> +	depends on YUNSILICON_XSC_PCI
> +	depends on NET
> +	select PAGE_POOL

[Severity: Medium]
Should YUNSILICON_XSC_PCI (and YUNSILICON_XSC_ETH) select AUXILIARY_BUS?

This commit adds auxiliary device registration in xsc_pci (xsc_adev_add()
calling auxiliary_device_init() and auxiliary_device_add()) and auxiliary
driver registration in xsc_eth (module_auxiliary_driver()).  Because
AUXILIARY_BUS is a hidden Kconfig symbol without stubs when disabled,
configs enabling YUNSILICON_XSC_PCI or YUNSILICON_XSC_ETH without another
driver selecting AUXILIARY_BUS will fail to link with undefined references
to auxiliary_device_init(), __auxiliary_device_add(),
__auxiliary_driver_register(), and auxiliary_driver_unregister().

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261126145711.70868-1-tianx@yunsilicon.com?part=7

  reply	other threads:[~2026-11-27 14:58 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26 14:57 [PATCH v2 00/11] net/xsc: add the Yunsilicon XSC ethernet driver Xin Tian
2026-11-26 14:57 ` [PATCH v2 01/11] net/xsc: add Yunsilicon XSC ethernet PCI driver Xin Tian
2026-11-27 15:57   ` netdev-bot+sashiko
2026-11-28 17:32   ` Andrew Lunn
2026-12-01  9:48     ` Xin Tian
2026-11-29  2:53   ` Jason Xing
2026-11-26 14:57 ` [PATCH v2 02/11] net/xsc: add doorbell and cmdq MMIO accessors Xin Tian
2026-11-27 15:57   ` netdev-bot+sashiko
2026-11-29  5:47   ` Jason Xing
2026-12-01  9:16     ` Xin Tian
2026-11-26 14:57 ` [PATCH v2 03/11] net/xsc: add the command queue Xin Tian
2026-11-27 14:58   ` sashiko-bot
2026-11-27 15:57   ` netdev-bot+sashiko
2026-11-29  7:30   ` Jason Xing
2026-12-01  9:22     ` Xin Tian
2026-12-02  6:21       ` Jason Xing
2026-11-26 14:57 ` [PATCH v2 04/11] net/xsc: query HCA capabilities and reset function Xin Tian
2026-11-27 14:58   ` sashiko-bot
2026-11-27 15:57   ` netdev-bot+sashiko
2026-11-29  7:48   ` Jason Xing
2026-12-01  9:24     ` Xin Tian
2026-11-26 14:57 ` [PATCH v2 05/11] net/xsc: add event queues and MSI-X Xin Tian
2026-11-27 14:58   ` sashiko-bot
2026-11-27 15:57   ` netdev-bot+sashiko
2026-11-26 14:57 ` [PATCH v2 06/11] net/xsc: add CQ and QP helpers Xin Tian
2026-11-27 14:58   ` sashiko-bot
2026-11-27 15:57   ` netdev-bot+sashiko
2026-11-26 14:57 ` [PATCH v2 07/11] net/xsc: add the ethernet netdev Xin Tian
2026-11-27 14:58   ` sashiko-bot [this message]
2026-11-27 15:57   ` netdev-bot+sashiko
2026-11-28 17:49   ` Andrew Lunn
2026-12-01 10:06     ` Xin Tian
2026-11-26 14:57 ` [PATCH v2 08/11] net/xsc: add the single TX/RX channel Xin Tian
2026-11-27 14:58   ` sashiko-bot
2026-11-27 15:58   ` netdev-bot+sashiko
2026-11-26 14:57 ` [PATCH v2 09/11] net/xsc: report link state changes Xin Tian
2026-11-27 14:58   ` sashiko-bot
2026-11-27 15:58   ` netdev-bot+sashiko
2026-11-26 14:57 ` [PATCH v2 10/11] net/xsc: add the transmit path Xin Tian
2026-11-27 14:58   ` sashiko-bot
2026-11-27 15:58   ` netdev-bot+sashiko
2026-11-26 14:57 ` [PATCH v2 11/11] net/xsc: add the receive path Xin Tian
2026-11-27 14:58   ` sashiko-bot
2026-11-27 15:58   ` netdev-bot+sashiko
2026-11-27 14:58 ` [PATCH v2 00/11] net/xsc: add the Yunsilicon XSC ethernet driver sashiko-bot

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=sashiko-outbox-237640@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=tianx@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 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.