From nobody Tue Sep 26 13:33:45 2023 X-Original-To: freebsd-stable@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 4Rw10y6YqJz4v9Tf for ; Tue, 26 Sep 2023 13:33:54 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rw10y3R56z3g3L for ; Tue, 26 Sep 2023 13:33:54 +0000 (UTC) (envelope-from pi@freebsd.org) Authentication-Results: mx1.freebsd.org; none Received: from pi by home.opsec.eu with local (Exim 4.96 (FreeBSD)) (envelope-from ) id 1ql8C9-000Np0-35; Tue, 26 Sep 2023 15:33:45 +0200 Date: Tue, 26 Sep 2023 15:33:45 +0200 From: Kurt Jaeger To: mike tancsa Cc: FreeBSD-STABLE Mailing List Subject: Re: ifconfig -v ix0 output delay Message-ID: <20230926133345.GC81481@home.opsec.eu> References: <20230926072840.GA81481@home.opsec.eu> <14cd1c6b-0020-4116-a3de-0b7399810bee@sentex.net> List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <14cd1c6b-0020-4116-a3de-0b7399810bee@sentex.net> X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:12502, ipnet:2001:14f8::/32, country:DE] X-Rspamd-Queue-Id: 4Rw10y3R56z3g3L Hi! > > > A small annoyance, but I was wondering why "ifconfig -v ix0" seems to take > > > a "long time" compared to other 10G nics. e.g. > > [...] > > > > Which version of the ix driver did you load ? The base one or > > the one from the ports, net/intel-ix-kmod ? I'm not sure > > freebsd@intel.com is reading this list, so maybe pointing > > them to the issue via some PR would be useful. > > This is just the base driver, built in ix with copper PHY I tested it with two ports on a 13.2p3 box with the port intel-ix-kmod in version 3.3.35 and the ports behave like you have observed: ix NICs with SFP+ cage display the optics info, if available. ix NICs with copper-port have approx. 0.4s delay. I guess that the driver should know if a certain model of the NIC has a SFP+ cage with some i2c bus -- and if it's copper-only, it should not query the bus. -- pi@opsec.eu +49 171 3101372 Now what ?