From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3E68C455C8; Mon, 8 Jul 2024 22:31:37 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2F7A940ED3; Mon, 8 Jul 2024 22:31:37 +0200 (CEST) Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) by mails.dpdk.org (Postfix) with ESMTP id 3967D40B99 for ; Mon, 8 Jul 2024 22:31:36 +0200 (CEST) Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-52ea79e6979so3602630e87.2 for ; Mon, 08 Jul 2024 13:31:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1720470695; x=1721075495; darn=dpdk.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=sMdJmNl3OoAnhACCkAC64tlEgiIC5eCMApTYw8qcrNA=; b=IPSVTw6JoMw+Sa67C0rNQN88ZB987f9QJKMDAQMOZrYORQ7/OwsPPtT9hb7VVsOpMV 3Uf02UPCfehCne5HnkuoSkEW/BXA6OsCQdI9HVAXRpH3Bbj1NCFp9QXg/8Dyw6ouX6JZ J0OP2xbUeFMufyGfywwDWRy1vtRPvCK6GfONg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720470695; x=1721075495; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sMdJmNl3OoAnhACCkAC64tlEgiIC5eCMApTYw8qcrNA=; b=D24uGJNK+HRMEJ9Rvuq8FWaDw8YPp1YhoxisgEP7uIRR5I9EaJHZnXHtMi10e2ZLF4 My/NrKaHbWD9gtYy27MmeOSrCh6otqFw3mCVuuzh/TnaoSiEb2UsRyrAi+SO6Lv89noE gqmgZG8mIG2GAdOlow1jTAEoCq7r8iXEHCu353elXE9iPD+qbVbFuPujtICiQtFExzyA 2SQ2+4Cnk3JWze5C1tZQK6x3HwyTC6BGiuWIlnDdjopDdRFs6142B2OmTk8tlAdLGkZq /PrgjpfN3e9SPleYjB2kxrNwx/Cyxjo0ycJvn70pHNKflQuGV1twh91HLRvssFV4lo1J p5Fw== X-Gm-Message-State: AOJu0YyMH3BXi3tCqFpYghU9kUfguFCCfzBW2MISn0Nx67v/rb1VYj0Q Zs08erRqx22/QQ2odE5b8ZXSDkWSsjznLUe1hQmiEw5SuS9coNThMojwT47g76hNmpdZ2r2uwx/ l8z2Cw66JZvX7k5GtqjmKgPDs80aHrKGg1Q0pT5BsHuDkkbUdMrJLo5kphXPfhbloUk0rR+RC1E Dv4bbN X-Google-Smtp-Source: AGHT+IEhLS6gZwtH10LMtjTbJulg8F6SY8KD2bLMh5qD+3NX/p5ZYqrY1qW4UHLMjoi81foRRfRH/g5iJyzjADISQeY= X-Received: by 2002:a19:3816:0:b0:52e:999b:7c01 with SMTP id 2adb3069b0e04-52eb99d4c83mr215633e87.48.1720470695360; Mon, 08 Jul 2024 13:31:35 -0700 (PDT) MIME-Version: 1.0 References: <20240617203448.97972-1-damodharam.ammepalli@broadcom.com> In-Reply-To: From: Damodharam Ammepalli Date: Mon, 8 Jul 2024 13:31:23 -0700 Message-ID: Subject: Re: [PATCH v3] ethdev: Add link_speed lanes support To: Ferruh Yigit Cc: dev@dpdk.org, huangdengdui@huawei.com, ajit.khaparde@broadcom.com, kalesh-anakkur.purayil@broadcom.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Fri, Jul 5, 2024 at 10:35=E2=80=AFAM Ferruh Yigit = wrote: > > On 6/17/2024 9:34 PM, Damodharam Ammepalli wrote: > > +/** > > + * @warning > > + * @b EXPERIMENTAL: this API may change, or be removed, without prior = notice > > + * > > + * Set speed lanes supported by the NIC. > > + * > > + * @param port_id > > + * The port identifier of the Ethernet device. > > + * @param speed_lanes > > + * speed_lanes a non-zero value of number lanes for this speeds. > > + * > > + * @return > > + * - (>=3D0) valid input and supported by driver or hardware. > > + * - (-ENOTSUP) if underlying hardware OR driver doesn't support. > > + * that operation. > > + * - (-EIO) if device is removed. > > + * - (-ENODEV) if port_id invalid. > > + */ > > +__rte_experimental > > +int rte_eth_speed_lanes_set(uint16_t port_id, uint32_t speed_lanes_cap= a); > > > > Doc build fails because of "@param speed_lanes": > > rte_ethdev.h:6971: > error: argument 'speed_lanes' of command @param is not found in the > argument list of > rte_eth_speed_lanes_set(uint16_t port_id, uint32_t speed_lanes_capa) > (warning treated as error, aborting now) Ack --=20 This electronic communication and the information and any files transmitted= =20 with it, or attached to it, are confidential and are intended solely for=20 the use of the individual or entity to whom it is addressed and may contain= =20 information that is confidential, legally privileged, protected by privacy= =20 laws, or otherwise restricted from disclosure to anyone else. If you are=20 not the intended recipient or the person responsible for delivering the=20 e-mail to the intended recipient, you are hereby notified that any use,=20 copying, distributing, dissemination, forwarding, printing, or copying of= =20 this e-mail is strictly prohibited. If you received this e-mail in error,= =20 please return the e-mail to the sender, delete it from your computer, and= =20 destroy any printed copy of it.