From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 31699A0559; Mon, 16 Mar 2020 08:53:02 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 47CF925D9; Mon, 16 Mar 2020 08:53:01 +0100 (CET) Received: from mail1.bemta25.messagelabs.com (mail1.bemta25.messagelabs.com [195.245.230.65]) by dpdk.org (Postfix) with ESMTP id 51923CF3 for ; Mon, 16 Mar 2020 08:53:00 +0100 (CET) Received: from [100.112.197.160] (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits)) by server-1.bemta.az-b.eu-west-1.aws.symcld.net id 71/FA-25131-B503F6E5; Mon, 16 Mar 2020 07:52:59 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrAJsWRWlGSWpSXmKPExsUi9LZnk260QX6 cwZYNPBbvPm1ncmD0+LVgKWsAYxRrZl5SfkUCa8ahw2/YC94GVex58om5gXGPTxcjFwejwFJm iVm/FrBCOMdYJA7u3swI4WxmlPj35jc7iMMisJlZYvGFd0wgjpDAPCaJL8vesXQxcgI57xglH pwUBbHZBFQlVhydBhYXEVCUmD5xMhuILSygL/Fg42tmiLiJROP/PewQtp7Ext3HWUFsFqDe+V Pmgdm8AmkS7Qefg81hFBCT+H5qDROIzSwgLnHryXwwW0JAQGLJnvPMELaoxMvH/1gh6kMkrs/ sZ4GIK0lsvNjODmHLSlya380IYfsC3X8HytaRmDxzDlANB5BdKnFiaiFEWE3ixpsOqPEyElvf bgSHioTAShaJ3y8WMkP8nizRd/IG1D1yEqt6H7LANDy4sZ0NouEPi8THlv0sEM5eRomZ704yQ WxTkfh3qHICo/YsJL9B2HkSr27PZp0FDgtBiZMzn7BAxHUkFuz+xAZha0ssW/iaGcY+c+AxE7 L4Akb2VYwWSUWZ6RkluYmZObqGBga6hoZGuoaW5rqG5uZ6iVW6SXqppbrlqcUluoZ6ieXFesW Vuck5KXp5qSWbGIGJKqXg6MYdjOeWv9c7xCjJwaQkyit3PDdOiC8pP6UyI7E4I76oNCe1+BCj DAeHkgTvbt38OCHBotT01Iq0zBxg0oRJS3DwKInwSoCkeYsLEnOLM9MhUqcYXTkmvJy7iJnj3 c/FQPLjqiVA8juYvPkeSAqx5OXnpUqJ85rpATULgDRnlObBjYYl/EuMslLCvIwMDAxCPAWpRb mZJajyrxjFORiVhHlDQabwZOaVwF3wCug4JqDj3HdngxxXkoiQkmpgSklqTbo3tTl87q7nDac 2LXvXvi/RccNWF08Z53DRu0x7fc+emVgp0abz+uTjol3WLU9PH/lyz3T9lNX9bjw8z1OtJzx3 XTS742iztpjC3obWLLv/r3LKn/oXPXndmnjw6Hzz4lLbx/u2XGvS3Pjt6sW/D6drzmd5fFT5j UeNzNybX5Zlt8pxPWC6cvfCWblb4QstP3tK9b7R+sBl4cAid34dy+S70hO6/zH8TZrWoLv0xm fuZ8k7u8Kb6yscpNapSidE+TjZeNcsWrFx8r6a0qe83wqOff3kWevLtmbZIVe+ZK7kp796fjk pKDtsWi3qLzDzK5PWCgcJpnimMztC5y9K13kYbd0vqMfTffJGgRJLcUaioRZzUXEiAN8P+bRz BAAA X-Env-Sender: AsafSi@Radware.com X-Msg-Ref: server-13.tower-281.messagelabs.com!1584345177!99807!1 X-Originating-IP: [18.237.140.178] X-SYMC-ESS-Client-Auth: mailfrom-relay-check=pass X-StarScan-Received: X-StarScan-Version: 9.50.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 5168 invoked from network); 16 Mar 2020 07:52:58 -0000 Received: from p01c.mail.dlp.protect.symantec.com (HELO mail.ds.dlp.protect.symantec.com) (18.237.140.178) by server-13.tower-281.messagelabs.com with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 16 Mar 2020 07:52:58 -0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D+kEVOxdS3+THLTckVLAdQcYPEBfTZB6e3c3zzSGrVfSgxzqOG77D8epDN5AAcvLs6+aTNsn6aIO029PSUjhYNCIgSX34avi4wZt8nf8UDg+wmVi/E3h4r7tyvHrAnr9dRBdppjjYtAiqJw8CQeZko4xu1nsNFu9k3E1K2x+FZnyDxASHPOsQQfZC7q+0BFnRONmp1gnbLj8I3MBc318N4qnbXWAv+1lD7vHQH4AJBgCcEBhSXhwD90O/2RnIMe9WrTyRS6PVj3rWVuykfI8aiDG6G/yqB5ig1q1YJ3hF22yeLd0klHBsBN3OPr4DT02ejaoe873iHADtnGlq43Y+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YtfG8gBapggoLle53hws/j6bnaNFOlQAXTcqjqkfThM=; b=CtTSiUTng0FENyjKCrAayk8/wBEhBl4smpyP38vbo6a0qB+GjzM89a/b4GIaVhDpj4N7Ikx4tA+SJgwRppZ9Q484jXUEN56MHy8yOkfFLYtuX/AnYApWNNTrrhQ4esNKF8h91rsP1UlggpaRfM3V8JkZyNFG2KWNx7yTaqX22xWJhP8L7iytJuVrf0wtAxaDL+pC17YJ3kyt4l6v+mEuHwYpaOieubklvDiNe9wHnNgTkVftxwGcBXiT9rGVJTurYJJss0/NiC/4dlE0W518YXAwMxRjPPwK9uwbOFwkYWvTB7+yMffs+WcRZp94O4atGaJhWeLkSy2gvbEKW2MfkA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=radware.com; dmarc=pass action=none header.from=radware.com; dkim=pass header.d=radware.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=radwareil.onmicrosoft.com; s=selector1-radwareil-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YtfG8gBapggoLle53hws/j6bnaNFOlQAXTcqjqkfThM=; b=S+IxVbm6qz4FOY+oK9b/eFE3COexhSKHLPphfB9h8qQdX88UycfwbmLXbT0BcXigyGWG1Yh5B2H3kaZUEisgs11mpEZuOJkuCCTpULpebgS/fo0n5i/Cz/JIMS/YKaB1norWQyhYwPfEimpunO1zQ4llQXmG70lTQVx6r/ZqwDw= Received: from AM0PR0102MB3105.eurprd01.prod.exchangelabs.com (52.133.46.144) by AM0PR0102MB3570.eurprd01.prod.exchangelabs.com (52.133.40.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.22; Mon, 16 Mar 2020 07:52:54 +0000 Received: from AM0PR0102MB3105.eurprd01.prod.exchangelabs.com ([fe80::11a1:a891:8dda:4763]) by AM0PR0102MB3105.eurprd01.prod.exchangelabs.com ([fe80::11a1:a891:8dda:4763%5]) with mapi id 15.20.2814.021; Mon, 16 Mar 2020 07:52:54 +0000 From: Asaf Sinai To: "dev@dpdk.org" Thread-Topic: API for number of lanes in transceiver Thread-Index: AdX7ZG1bfRqJ4bUkR9WGXCyjqydCgQ== Date: Mon, 16 Mar 2020 07:52:54 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.115.180.11] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: df61bbfd-c7c1-4f25-a7ea-08d7c97f08f9 x-ms-traffictypediagnostic: AM0PR0102MB3570: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 03449D5DD1 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(376002)(39860400002)(346002)(396003)(136003)(366004)(199004)(4744005)(478600001)(33656002)(2906002)(5660300002)(21615005)(316002)(86362001)(6506007)(8936002)(76116006)(81166006)(66946007)(81156014)(66556008)(64756008)(66476007)(66446008)(8676002)(9326002)(52536014)(9686003)(55016002)(71200400001)(6916009)(26005)(186003)(861006)(7696005)(131040200001); DIR:OUT; SFP:1102; SCL:1; SRVR:AM0PR0102MB3570; H:AM0PR0102MB3105.eurprd01.prod.exchangelabs.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; received-spf: None (protection.outlook.com: Radware.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: edetLmBsLMbtko+OO8jy68IQ2Ufx2X3zT5eRO0qMqdJZkVbX6b+gvWQFvvNvp7vDmr3YxQmkXzaL942n5z7i1KFxt+Tk6zsLNWSrlAsYIITLqlhfTzZViK7LHpT7BZHVZJpyHoccbx35W/4OUculuJYwYCRSqh9KZY/ILUd1O/H2JpzAPkvXyq7MZtgacaAR1nIO2AjyVtFnqkf0TZIEkETvyOeA2PwCEYTfwvWJ746vU18897rN+wfYOzR5uTDqxGF4wOcuRqSJK5iX7Cmv7PF4OKFsNPQuIKuz+N9FKOnbXAWbZIGZyi2FeEaXhaPob1WBp5umL2Hz6AAiA0e9aCOsToh0i4W8oWn9LLXXj2mycR64HbpWyftWvpoRB1z1XLpQOOn3AFnhOEEuVI4w4IYwClRVXiBg2zqUcqjZdgC2ZSnbDYFenomV78Txe4RAyvpeym5i+nOT1gfLevDjYeZWBTg6c5iJdQlalLO27vliuOt3dum2IGA1jS8UmZTZCuClaxhzkyjjKaH09fzpc0/VPRCsI5yNbVdKFtw9foZwNClVNNbb/Xe6KX6/IKX+LpirF9bF1c8gV81Cuof49A== x-ms-exchange-antispam-messagedata: mZnZ7vRRhvTUkVye3jCysRlSGJNNVM1m5RpCIdDg4gXj+A34FMGYNLuwAzNBF9/N5hKUN/KZba7ZkA852QZU8PlDZNADBnkWrWJwEA1tpL2OCR1Z532tUWLtSKng+F8iRnMZ8/aF4RR1/F7UbJsEjg== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: radware.com X-MS-Exchange-CrossTenant-Network-Message-Id: df61bbfd-c7c1-4f25-a7ea-08d7c97f08f9 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Mar 2020 07:52:54.3404 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 6ae4e000-b5d0-4f48-a766-402d46119b76 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: JJipVBdbnYvyu9EG5/fFKFgkFA2/1w4XmDYuIleM4MvZH/4nuZ1dFfzi132geMt/NJROazp1sYW11FMAa+3X5g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0102MB3570 X-CFilter-Loop: Reflected Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] API for number of lanes in transceiver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, Could not find API for getting number of lanes in transceiver (e1000/ixgbe/= i40e/mlx5 drivers). Is there such API? We currently use hard-coded values, according to the various SFF standards = (8074, 8431, 8436, 8636, etc.). Thanks, Asaf [Radware] Asaf Sinai ND SW Engineer Email: asafsi@radware.com T:+972-72-3917050 M:+972-50-6518541 F:+972-3-6488662 [Check out the latest and greatest from Radware] www.radware.com [Blog] [https://www.radware.com/images/signatur= e/linkedin.jpg] [https://www.ra= dware.com/images/signature/twitter.jpg] [you= tube] Confidentiality note: This message, and any attachments to it, contains pri= vileged/confidential information of RADWARE Ltd./RADWARE Inc. and may not b= e disclosed, used, copied, or transmitted in any form or by any means witho= ut prior written permission from RADWARE. If you are not the intended recip= ient, delete the message and any attachments from your system without readi= ng or copying it, and kindly notify the sender by e-mail. Thank you. P Please consider your environmental responsibility before printing this e-= mail