[PATCH 12/14] common/cnxk: update mode param for link speed

Stephen Hemminger stephen at networkplumber.org
Thu Sep 17 18:17:41 CEST 2026


On Thu, 17 Sep 2026 12:40:14 +0530
Rahul Bhansali <rbhansali at marvell.com> wrote:

> From: Alok Mishra <almishra at marvell.com>
> 
> Populate mode for kernels that uses args.mode for link speed
> update.
> 
> Signed-off-by: Alok Mishra <almishra at marvell.com>
> ---


Patch 12/14 common/cnxk: update mode param for link speed
---------------------------------------------------------
Warning: args.mode keeps only one advertised mode.
  req->args.mode = plt_ctz64(link_info->advertising);
- With autoneg, nix_link_advertising_get() ORs in one bit per
  requested speed.
- mode therefore carries only the lowest one.
- args.multimode and args.mode_baseidx are left unset.

Warning: the commit log does not mention the new rsp->status
propagation from mbox_process_msg_tmo().


More information about the dev mailing list