Re: [PATCH v1 3/5] net/zxdh: add support set link speed get autoneg stats

Stephen Hemminger
2025-12-31T19:28:29Z

On Sat, 20 Dec 2025 14:15:19 +0800
Junlong Wang <wang.junlong1@zte.com.cn> wrote:

> diff --git a/drivers/net/zxdh/zxdh_ethdev_ops.c b/drivers/net/zxdh/zxdh_ethdev_ops.c
> index cabf81107e..8fb315eeac 100644
> --- a/drivers/net/zxdh/zxdh_ethdev_ops.c
> +++ b/drivers/net/zxdh/zxdh_ethdev_ops.c
> @@ -307,7 +307,7 @@ zxdh_link_info_get(struct rte_eth_dev *dev, struct rte_eth_link *link)
> }
>
> link->link_speed = ZXDH_GET(link_info_msg, link_msg_addr, speed);
> - link->link_autoneg = ZXDH_GET(link_info_msg, link_msg_addr, autoneg);
> + // link->link_autoneg = ZXDH_GET(link_info_msg, link_msg_addr, autoneg);

Do not use C++ style comments.
Do not comment out code, remove it.