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 51ED6A034C; Wed, 27 Apr 2022 16:21:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F35AF40E78; Wed, 27 Apr 2022 16:21:03 +0200 (CEST) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20134.outbound.protection.outlook.com [40.107.2.134]) by mails.dpdk.org (Postfix) with ESMTP id 2F36E40691 for ; Wed, 27 Apr 2022 16:21:03 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g3DZ7OnH2GUA4sRI1aG/8p3a9ZoN8WQqj3ydMbPKyYb5J4Asn/S/7mz7JGktPi1NamJH7/szKI73hxnYsMzceMptl4nyNb3hj2E0wkxiDhTYKw8aenKCe4N+BdoloDo+i3RnIdE/F383BV7uqxwY3sDSxhpOZZpf+679MPVQ+tTruBfTc9Atm9K0wKb/rX8p7vJg/z3oehl2/9XrVpOU+zwWeH7KtU4Yd7GCaHSWO53uvWe3PntiFNwzjRB02TIQ5dgpwJWGKJIbOQAVYGvhmXcoqaBmJpOGVkRyrGy8D9NiEoNCNzukK9FJQZBCdwcytM1cf1VR6R0NTkhAcVitfw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=kI7mYFZ0bbYYe+Qyo1Py6a/2CteaQ9YGo5RgJ4hxmTc=; b=YzllgRB4NwASLxJs/W2t5FoGqB+J5ZEy4fcA+Q7vzKUyl6lkGPfiIhTeHe7pfj01L3gwoCSiUuLICslwkfA7FErTJL3m4BYKJWuyi71Hung0z3+fMWSRz87e4E3fHjIFU4GW3nUSypeTmbJkBtYe6Td+N5QZ43wl83ic3+HvTAKQBGkfQw3UqVKUtI22YZRpGyXoJwiv0m2URanEahvWnvebQmlCOsTxL/ZSdwkjOLZxfTbW//X1me/y0q97BtdhQb/3a7ICWxggsDb/wLpQlvF4TzZ7aQD6SrdQZGKtnLBurK4umBLpI+zAe4a4C5oEKjjiGXEgNTKBfni+EjE74Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=silicom-usa.com; dmarc=pass action=none header.from=silicom-usa.com; dkim=pass header.d=silicom-usa.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=SILICOMLTD.onmicrosoft.com; s=selector2-SILICOMLTD-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kI7mYFZ0bbYYe+Qyo1Py6a/2CteaQ9YGo5RgJ4hxmTc=; b=JgjNUUf7g0iJes+iYqIVFj+CGrF6ACSAmntmUnyjooLx1EMZGd+BLKcRYqeE+O+HWESc/4CKCC7Jp0m/3CwSwgsz7+p/OgvuaZYPUrZwWRMVl5eoiVXSfv2PrMYI3sWaZ1cZeddxgccFVz6sTxfvFbdD2VLyoaLNGiR3+4njL7g= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=silicom-usa.com; Received: from VI1PR0402MB3517.eurprd04.prod.outlook.com (2603:10a6:803:b::16) by AM6PR04MB4693.eurprd04.prod.outlook.com (2603:10a6:20b:7::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.13; Wed, 27 Apr 2022 14:21:01 +0000 Received: from VI1PR0402MB3517.eurprd04.prod.outlook.com ([fe80::1598:c12f:25c6:b987]) by VI1PR0402MB3517.eurprd04.prod.outlook.com ([fe80::1598:c12f:25c6:b987%7]) with mapi id 15.20.5186.021; Wed, 27 Apr 2022 14:21:01 +0000 From: Jeff Daly To: Haiyue Wang Cc: dev@dpdk.org Subject: [PATCH] doc: describe ixgbe devargs fiber_sdp3_no_tx_disable Date: Wed, 27 Apr 2022 10:20:40 -0400 Message-Id: <20220427142040.24897-1-jeffd@silicom-usa.com> X-Mailer: git-send-email 2.25.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BLAPR03CA0133.namprd03.prod.outlook.com (2603:10b6:208:32e::18) To VI1PR0402MB3517.eurprd04.prod.outlook.com (2603:10a6:803:b::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 964209c1-e28d-4cf6-a843-08da28592792 X-MS-TrafficTypeDiagnostic: AM6PR04MB4693:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RQEEXiQTd4Cncc7VRTFloHFmWeQ2vxPVGrlUcWr0cFB0gW6WOesOaRfoGs/ukYB0sm5PKi3PTgg4eLjapJg45BPuBYgGlISYnX65KdzEDvN+PIwUaEKfp2yynRz9WZuQErZ7lo/0m1sqZAvlymGPAkM6bLCM+74aWH+CV+jLFPeqDSfyE15nPPby1PIYHB3RLhvuN/9/sqA5BuszuSBlA+DgA6aCjbz503QiEVN+C8EtxjBn/XqNPAb6NcWPGrsLfe5o5fXiu2boqEOvUh0Xhd0OahrHNDdteF70opnsDKCjFTfpKucfZt6QOaWq8sPz8Ym+c+c+SDAcJ9ZJHe564FTLbyuFehRBBLD36+gsOSLC5L7H/mRi0IWmN2JjBpNZG3S5bXnQU0PPLqzhmlZtM8IrOaNVuHg+D7O0Bu40wxHecjINyAVRvxvbARTDyInFMRXhFkc16w20wJtQZs1l9zN6lJEBdGnIEVbBLGGsdHFq4zTdU2HdXlVBcMCuXvhlwEmaNIxKyfxFxgCGpDWAxs/LkPVntCVi5/FohItWi/m+ssv75gUjT+5+Dd8CKENLfN8CnsEzG6ohWGcw0EAfIb/jb/Yxm2zKBZLwCQOJmaNcIt9pTH6otppyTsdHH/469pqKHzuLQbbwlYpqyMe44+xn0MXcYpKwW6+OqFKJSqNZfJHiu1RU9Cc13mq7kPbbIFhDsUs5gdLVt3au17IMcg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR0402MB3517.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(6486002)(508600001)(52116002)(2616005)(86362001)(1076003)(26005)(6506007)(83380400001)(6512007)(38100700002)(38350700002)(6666004)(316002)(2906002)(186003)(66556008)(66946007)(5660300002)(36756003)(6916009)(8936002)(66476007)(8676002)(4326008); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ll+HPD+CfTl7KLNZHRYTTBne0IfCCyseyPGZ1McXO3cWLU1H1b+y38YCpEkN?= =?us-ascii?Q?a5hKJM+/HrcmrI3UFmHmsIueAIPKT1CViXhWtpnA7gHYAKgNmsfY/VWSSjAI?= =?us-ascii?Q?6a74RrenT/FjI9X4Fdtrd5lPzDov01+G4VJNYX+K9ZlV9fRb1qkqfQQFnulx?= =?us-ascii?Q?F40fHNOcQv0/mLKG4OIQ59uoZxte/ITGAnQfNDYrOYoqG7NPYk0mkHuvCTkD?= =?us-ascii?Q?6w/+Jq3VLQdpdS8MjYa/Q49cGHA6+V61sYWtYacNqT+vAUgj8A5tVklPeLwc?= =?us-ascii?Q?oHXl87NvjBjAyzCdxHbvk2ZOZS8Yc2nBLdVLa7EJ/52Zh/Pq/YJ0hrHffw3Y?= =?us-ascii?Q?FsSobk2fHc1F5gJKiVuEjWKvjg25bVm09BJM91NJHjPzxbPWUW/Au/xDOYZR?= =?us-ascii?Q?vxk41M4u7UoFY4GJr4Lv/VMx8e78m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= =?us-ascii?Q?eKNZQIsjZGV1OzeXuH+Rr7IAnTx+s9UiZ+4pxRe2ukoZ6iHlPaejEx0suaPJ?= =?us-ascii?Q?wk2EXQC8kL40sG8B2dIfNHa5Yn38sOhukSi8h5zH4kaSAHsBP1inb+FWLDY0?= =?us-ascii?Q?k2RycQn0Ph7wFCqi0QwcbSWGR3+dWABA8lMpeqzczeOBjxdVTJFZhn5mmOc0?= =?us-ascii?Q?ZNIBbAIYhzcMQh2rVz+BXU1KaxiuVi2HVSQnB1SctFb/TrG6DT+4tSnZxgXd?= =?us-ascii?Q?DobVy7lNiaXrpNNU6pFlwSwfJqhimuclNigkNMFjtTWElWSaus+cUH7g1jYu?= =?us-ascii?Q?WlEy5tremO6OK03rnloafASESCO9uBd0HIXj+fUZG6bEg/nVPlpt+qWxjtnQ?= =?us-ascii?Q?X44b0R1ri2cYEAh8jBmx9Z/sTAaeHUdaESl7J0Itq3dyV4cIzJFJOrvTQnCc?= =?us-ascii?Q?An4hv6nXoA=3D=3D?= X-OriginatorOrg: silicom-usa.com X-MS-Exchange-CrossTenant-Network-Message-Id: 964209c1-e28d-4cf6-a843-08da28592792 X-MS-Exchange-CrossTenant-AuthSource: VI1PR0402MB3517.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Apr 2022 14:21:01.1063 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: c9e326d8-ce47-4930-8612-cc99d3c87ad1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: vlFtheKf0UQ8a5NLpsDhUqogqbLF6meAk+IdG3RFIsRF8N1r839GSFF4EK/HqtTnHJfTjF0Tx2l/gGNC6/6YNg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4693 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 The devargs option for the IXGBE driver is introduced in order to inform the driver to skip checking SDP3 as an indicator of laser enable/disable for SFP modules. Signed-off-by: Jeff Daly --- doc/guides/nics/ixgbe.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/guides/nics/ixgbe.rst b/doc/guides/nics/ixgbe.rst index 82fa453fa28e..ad1a3da6101e 100644 --- a/doc/guides/nics/ixgbe.rst +++ b/doc/guides/nics/ixgbe.rst @@ -101,6 +101,23 @@ To guarantee the constraint, capabilities in dev_conf.rxmode.offloads will be ch fdir_conf->mode will also be checked. +Disable SDP3 TX_DISABLE for Fiber Links +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +The following ``devargs`` option can be enabled at runtime. It must +be passed as part of EAL arguments. For example, + +.. code-block:: console + + dpdk-testpmd -a fiber_sdp3_no_tx_disable=1 -- -i + +- ``fiber_sdp3_no_tx_disable`` (default **0**) + + Not all IXGBE implementations with SFP cages use the SDP3 signal as + TX_DISABLE as a means to disable the laser on fiber SFP modules. + This option informs the driver that in this case, SDP3 is not to be + used as a check for link up by testing for laser on/off. + VF Runtime Options ^^^^^^^^^^^^^^^^^^ -- 2.25.1