From nobody Mon Jul 25 14:11:22 2022 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Ls25w1dp6z4XZtx for ; Mon, 25 Jul 2022 14:11:32 +0000 (UTC) (envelope-from benoitc@enki-multimedia.eu) Received: from mail-40136.proton.ch (mail-40136.proton.ch [185.70.40.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ls25v0tnmz4QPH for ; Mon, 25 Jul 2022 14:11:30 +0000 (UTC) (envelope-from benoitc@enki-multimedia.eu) Date: Mon, 25 Jul 2022 14:11:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enki-multimedia.eu; s=protonmail; t=1658758287; x=1659017487; bh=LkmHIyog4YrrNNBGwrwv7nQTw7e3kiqGaIzyVjhFkLI=; h=Date:To:From:Reply-To:Subject:Message-ID:Feedback-ID:From:To:Cc: Date:Subject:Reply-To:Feedback-ID:Message-ID; b=O6wIi3l76VjiP3xPAuPfPHD08YWwtHYRIZpgefx0lmjO9PffHIWzwuCDFPwJXQ2P5 tBCl0H+XcRZbytaZFCgmOhEWY9xlMQxPGkhPJvnIztWj3w4fr2alQL8xN7sshXvskR kSjckYkCIxHf4sJaBt6Z4GV36I9tEtHqBja5V2G4= To: "freebsd-net@FreeBSD.org" From: Benoit Chesneau Reply-To: Benoit Chesneau Subject: Forward error correction (FEC) and qlnxe driver Message-ID: Feedback-ID: 9066678:user:proton List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: multipart/related; boundary="b1_6CW4rLtlSDbT2JHqafkPv3ZC2VUYgTBYNIsbNKDGGQ4" X-Rspamd-Queue-Id: 4Ls25v0tnmz4QPH X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=enki-multimedia.eu header.s=protonmail header.b=O6wIi3l7; dmarc=pass (policy=none) header.from=enki-multimedia.eu; spf=pass (mx1.freebsd.org: domain of benoitc@enki-multimedia.eu designates 185.70.40.136 as permitted sender) smtp.mailfrom=benoitc@enki-multimedia.eu X-Spamd-Result: default: False [-1.81 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.997]; NEURAL_SPAM_MEDIUM(0.97)[0.971]; NEURAL_HAM_LONG(-0.78)[-0.780]; DMARC_POLICY_ALLOW(-0.50)[enki-multimedia.eu,none]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; R_DKIM_ALLOW(-0.20)[enki-multimedia.eu:s=protonmail]; MIME_GOOD(-0.10)[multipart/related,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MLMMJ_DEST(0.00)[freebsd-net@FreeBSD.org]; TO_DN_EQ_ADDR_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; DKIM_TRACE(0.00)[enki-multimedia.eu:+]; HAS_REPLYTO(0.00)[benoitc@enki-multimedia.eu]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; REPLYTO_EQ_FROM(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; HAS_PHPMAILER_SIG(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N This is a multi-part message in MIME format. --b1_6CW4rLtlSDbT2JHqafkPv3ZC2VUYgTBYNIsbNKDGGQ4 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Is this possible to set the FEC mode on a qlnxe interface? I have plugged a= non officiall CISCO 100G DAC on the HPE Eth 4x25Gb 1p 620QSFP28 Adptr" car= d (817762-B21) but I get the following on freebsd side: ``` ifconfig -v ql0 ql0: flags=3D8843 metric 0 mtu = 1500 options=3D507bb ether 14:02:ec:c9:78:54 media: Ethernet Other (autoselect) status: no carrier nd6 options=3D29 plugged: QSFP28 Unknown (No separable connector) vendor: CISCO-PUREOPTICS PN: QSFP-100G-CU3M SN: KAFFF048 DATE: 2020-12-= 11 module temperature: 42.10 C voltage: 3.29 Volts lane 1: RX power: 0.00 mW (-inf dBm) TX bias: 0.00 mA lane 2: RX power: 0.00 mW (-inf dBm) TX bias: 0.00 mA lane 3: RX power: 0.00 mW (-inf dBm) TX bias: 0.00 mA lane 4: RX power: 0.00 mW (-inf dBm) TX bias: 0.00 mA ``` aand on the mikrotik switch: ``` =C2=A0qsfp28-3-1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0status: no-link =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0name: qsfp28-3-1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0status: no-link =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0auto-negotiation: disabled =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sfp-modul= e-present: yes =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sfp-type: QSFP28 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sfp-conne= ctor-type: no-separable-connector =C2=A0 sfp-link-length-copper-active-om4: 3m =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 sfp-vendor-name: CISCO-PUREOPTICS =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sfp-vendor-part-number:= QSFP-100G-CU3M =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 sfp-vendor-revi= sion: 6 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 sfp-vend= or-serial: KAFFF049 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sfp-manufacturing-date:= 20-12-11 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 eeprom-checksum: good =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0eeprom: 0000: 11 07 00 00 00 00 00 00= =C2=A000 00 00 00 00 00 00 00 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00010: 00 = 00 00 00 00 00 26 18 =C2=A000 00 80 bb 00 00 00 00 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00020: 00 = 00 00 00 00 00 00 00 =C2=A000 00 00 00 00 00 00 00 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0* =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00060: 00 = 00 00 00 00 00 00 00 =C2=A000 00 00 00 00 00 08 00 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00070: 00 = 10 00 00 00 00 00 00 =C2=A000 00 00 00 00 00 00 00 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00080: 11 = 10 23 80 00 00 00 00 =C2=A000 00 00 05 ff 00 00 00 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00090: 00 = 00 03 a0 43 49 53 43 =C2=A04f 2d 50 55 52 45 4f 50 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A000a0: 54 = 49 43 53 00 00 00 00 =C2=A051 53 46 50 2d 31 30 30 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A000b0: 47 = 2d 43 55 33 4d 20 20 =C2=A036 20 07 0a 0d 12 46 a7 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A000c0: 0b = 00 00 00 4b 41 46 46 =C2=A046 30 34 39 20 20 20 20 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A000d0: 20 = 20 20 20 32 30 31 32 =C2=A031 31 20 20 00 00 68 d5 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A000e0: 00 = 00 09 45 68 f8 f0 34 =C2=A095 7d 4b 6a f0 6e b6 d9 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A000f0: 5a = bb ac 00 00 00 00 00 =C2=A000 00 00 00 be 35 bb 98 > ``` Any hint is welcome=C2=A0[:)]=C2=A0It seems It should work if I can the sam= e mod eon both side. Just changing the FEC on the mikrotik side didn't work= . Is this normal to not have an option like on others drivers that allow me= to set the FEC mode during booting? Let me know, Beno=C3=AEt --b1_6CW4rLtlSDbT2JHqafkPv3ZC2VUYgTBYNIsbNKDGGQ4 Content-Type: image/gif; name=")" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename=")" R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7 --b1_6CW4rLtlSDbT2JHqafkPv3ZC2VUYgTBYNIsbNKDGGQ4--