public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Paolo Abeni <pabeni@redhat.com>
To: Fan Gong <gongfan1@huawei.com>,
	Zhu Yikai <zhuyikai1@h-partners.com>,
	netdev@vger.kernel.org, "David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Simon Horman <horms@kernel.org>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	Markus.Elfring@web.de, pavan.chebbi@broadcom.com
Cc: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org,
	luosifu <luosifu@huawei.com>, Xin Guo <guoxin09@huawei.com>,
	Shen Chenyang <shenchenyang1@hisilicon.com>,
	Zhou Shuai <zhoushuai28@huawei.com>, Wu Like <wulike1@huawei.com>,
	Shi Jing <shijing34@huawei.com>,
	Luo Yang <luoyang82@h-partners.com>,
	Meny Yossefi <meny.yossefi@huawei.com>,
	Gur Stavi <gur.stavi@huawei.com>
Subject: Re: [PATCH net-next v02 2/6] hinic3: Add PF management interfaces
Date: Tue, 21 Oct 2025 11:25:00 +0200	[thread overview]
Message-ID: <c2534ab3-a843-43db-9447-19954467e2ed@redhat.com> (raw)
In-Reply-To: <8ad645360ce86569ec9c2c6532441352c06bc44a.1760685059.git.zhuyikai1@h-partners.com>

On 10/17/25 10:30 AM, Fan Gong wrote:
> diff --git a/drivers/net/ethernet/huawei/hinic3/hinic3_hwdev.h b/drivers/net/ethernet/huawei/hinic3/hinic3_hwdev.h
> index 78cface6ddd7..58c0c0b55097 100644
> --- a/drivers/net/ethernet/huawei/hinic3/hinic3_hwdev.h
> +++ b/drivers/net/ethernet/huawei/hinic3/hinic3_hwdev.h
> @@ -39,24 +39,25 @@ struct hinic3_pcidev {
>  };
>  
>  struct hinic3_hwdev {
> -	struct hinic3_pcidev        *adapter;
> -	struct pci_dev              *pdev;
> -	struct device               *dev;
> -	int                         dev_id;
> -	struct hinic3_hwif          *hwif;
> -	struct hinic3_cfg_mgmt_info *cfg_mgmt;
> -	struct hinic3_aeqs          *aeqs;
> -	struct hinic3_ceqs          *ceqs;
> -	struct hinic3_mbox          *mbox;
> -	struct hinic3_cmdqs         *cmdqs;
> -	struct delayed_work         sync_time_task;
> -	struct workqueue_struct     *workq;
> -	/* protect channel init and uninit */
> -	spinlock_t                  channel_lock;
> -	u64                         features[COMM_MAX_FEATURE_QWORD];
> -	u32                         wq_page_size;
> -	u8                          max_cmdq;
> -	ulong                       func_state;
> +	struct hinic3_pcidev         *adapter;
> +	struct pci_dev               *pdev;
> +	struct device                *dev;
> +	int                          dev_id;
> +	struct hinic3_hwif           *hwif;
> +	struct hinic3_cfg_mgmt_info  *cfg_mgmt;
> +	struct hinic3_aeqs           *aeqs;
> +	struct hinic3_ceqs           *ceqs;
> +	struct hinic3_mbox           *mbox;
> +	struct hinic3_msg_pf_to_mgmt *pf_to_mgmt;
> +	struct hinic3_cmdqs          *cmdqs;
> +	struct delayed_work          sync_time_task;
> +	struct workqueue_struct      *workq;
> +	/* protect hwdev channel init and uninit */
> +	spinlock_t                   channel_lock;
> +	u64                          features[COMM_MAX_FEATURE_QWORD];
> +	u32                          wq_page_size;
> +	u8                           max_cmdq;
> +	ulong                        func_state;

The above is a nice way to hide a single line addition. Please either
avoid the reformatting entirely (preferred) or do the re-indentation in
a separate pre-req patch.

/P


  reply	other threads:[~2025-10-21  9:25 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-17  8:30 [PATCH net-next v02 0/6] net: hinic3: PF initialization Fan Gong
2025-10-17  8:30 ` [PATCH net-next v02 1/6] hinic3: Add PF framework Fan Gong
2025-10-21  9:16   ` Paolo Abeni
2025-10-17  8:30 ` [PATCH net-next v02 2/6] hinic3: Add PF management interfaces Fan Gong
2025-10-21  9:25   ` Paolo Abeni [this message]
2025-10-17  8:30 ` [PATCH net-next v02 3/6] hinic3: Add NIC configuration ops Fan Gong
2025-10-21 10:02   ` Paolo Abeni
2025-10-17  8:30 ` [PATCH net-next v02 4/6] hinic3: Add mac filter ops Fan Gong
2025-10-17 11:51   ` Markus Elfring
2025-10-20  1:29     ` Fan Gong
2025-10-21 10:16   ` Paolo Abeni
2025-10-17  8:30 ` [PATCH net-next v02 5/6] hinic3: Add netdev register interfaces Fan Gong
2025-10-17  8:30 ` [PATCH net-next v02 6/6] hinic3: Fix netif_queue_set_napi queue_index parameter passing error Fan Gong
2025-10-21 10:22   ` Paolo Abeni

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=c2534ab3-a843-43db-9447-19954467e2ed@redhat.com \
    --to=pabeni@redhat.com \
    --cc=Markus.Elfring@web.de \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=gongfan1@huawei.com \
    --cc=guoxin09@huawei.com \
    --cc=gur.stavi@huawei.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luosifu@huawei.com \
    --cc=luoyang82@h-partners.com \
    --cc=meny.yossefi@huawei.com \
    --cc=netdev@vger.kernel.org \
    --cc=pavan.chebbi@broadcom.com \
    --cc=shenchenyang1@hisilicon.com \
    --cc=shijing34@huawei.com \
    --cc=wulike1@huawei.com \
    --cc=zhoushuai28@huawei.com \
    --cc=zhuyikai1@h-partners.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