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 403AE43D26; Fri, 22 Mar 2024 23:26:47 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0E584402A7; Fri, 22 Mar 2024 23:26:47 +0100 (CET) Received: from mail-qv1-f44.google.com (mail-qv1-f44.google.com [209.85.219.44]) by mails.dpdk.org (Postfix) with ESMTP id 3223140284 for ; Fri, 22 Mar 2024 23:26:46 +0100 (CET) Received: by mail-qv1-f44.google.com with SMTP id 6a1803df08f44-6918781a913so21769216d6.3 for ; Fri, 22 Mar 2024 15:26:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1711146404; x=1711751204; darn=dpdk.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=UtzdP2sk5D8wKMvkGom7w4zrPtFnd+qqzs7P46y+GC8=; b=b11Hosxf2q1KQGHYxtNEQ4xUMYR6477p65u41SAN+T3PFqIYBiUmYuLpXDYzF7WqK8 DFzAjBITNRXBQ/QTY6NnAr6Wu2kPOPFhVaX5V1avczXbg7EbeDcUJRkLBxQrjSylEsge 5Ak8U0sfj4pkCWnd28Q9v+Vd6cOhbpGiRgsCY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711146404; x=1711751204; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=UtzdP2sk5D8wKMvkGom7w4zrPtFnd+qqzs7P46y+GC8=; b=vc9SWamYVUDA4XULW0i5E2SagwBA6/yntZC0JlmtXTgsj3M5bFvh6YjmEmOT/PxvRN 4EgR8vPcsYFa+lZ/seTOdxN4RfkzMqYL63Yly1GT5n412zM8A7b076RdrDbgD7IE3NXf GUWOJWU0/FAH3qg0cmS0UCo+xBWvIhr3bBZSO+cBalqaBmMHPlb9HUA8AfXrNsOp/kEf 39Z6mKFetdG3I/RftsUJFYGjRQIamhhs33M8TTOtkByXS/OBm/SKeyl9WZe9crMjz2ph Xow330l0Dk7u0O1Djlcg8ue9Yfu6/GrzkIS77vtRbPIeAaIsxxryU7NiqBkgA8LingGb 016g== X-Gm-Message-State: AOJu0YyXXQ5nI9t1IohvaIxqowoEmcgs8WM8jDugiQbAar408NdjvGS1 UrOQwOGbW/dpGorlRnqUIXV+9g05YRccdC3Q9LMd5VZT2zF7XIxSfuvMshMYyJdlmOrVDM+k+Bk +pTLvupW8LJDcVTNAKX/nZ/VaSz1ZOLff2q1z6CkqEoQm0WqzksUjKzG2RWJRpFnAPwdPgRO3Tc yVl31MWAlQkXjPU4gin5fssKt5miDoUQa3hrntHg== X-Google-Smtp-Source: AGHT+IEmwC9hhgpcBb5Tl+Pj5skm8bZsT2m8pHjD9ZrFAqUuzda70qMaZMESjzHh0mo1T05DYGaO9Q== X-Received: by 2002:a05:6214:410:b0:696:36dc:4278 with SMTP id z16-20020a056214041000b0069636dc4278mr729109qvx.33.1711146404589; Fri, 22 Mar 2024 15:26:44 -0700 (PDT) Received: from dhcp-10-193-55-224.dhcp.broadcom.net ([192.19.224.250]) by smtp.gmail.com with ESMTPSA id mx17-20020a0562142e1100b0069679a663e6sm57003qvb.21.2024.03.22.15.26.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 15:26:44 -0700 (PDT) From: Damodharam Ammepalli To: dev@dpdk.org Subject: [RFC 0/2] Add support for link speed lanes Date: Fri, 22 Mar 2024 15:25:41 -0700 Message-Id: <20240322222543.23548-1-damodharam.ammepalli@broadcom.com> X-Mailer: git-send-email 2.39.3 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000a0452706144751ea" 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 --000000000000a0452706144751ea Content-Type: text/plain; charset="US-ASCII" BRCM576xx NIC modules support speeds with different lanes configuration. This is an alternate proposal to https://patchwork.dpdk.org/project/dpdk/list/?series=31593 Please provide your review. Broadcom driver patches will follow. Damodharam Ammepalli (2): lib/ethdev: Add link_speed lanes support into rte lib testpmd: Add speed lanes to testpmd config and show command app/test-pmd/cmdline.c | 142 +++++++++++++++++++++++++++++++++++++ app/test-pmd/config.c | 13 ++-- lib/ethdev/ethdev_driver.h | 49 +++++++++++++ lib/ethdev/rte_ethdev.c | 26 +++++++ lib/ethdev/rte_ethdev.h | 52 ++++++++++++++ lib/ethdev/version.map | 2 + 6 files changed, 280 insertions(+), 4 deletions(-) -- 2.39.3 -- This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it. --000000000000a0452706144751ea Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIQhQYJKoZIhvcNAQcCoIIQdjCCEHICAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0BBwGg gg3cMIIFDTCCA/WgAwIBAgIQeEqpED+lv77edQixNJMdADANBgkqhkiG9w0BAQsFADBMMSAwHgYD VQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEGA1UEChMKR2xvYmFsU2lnbjETMBEGA1UE AxMKR2xvYmFsU2lnbjAeFw0yMDA5MTYwMDAwMDBaFw0yODA5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