From owner-freebsd-net@freebsd.org Mon Jul 20 13:25:31 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 72B2035EC8C for ; Mon, 20 Jul 2020 13:25:31 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4B9Mt30ZmJz427F for ; Mon, 20 Jul 2020 13:25:31 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: by mailman.nyi.freebsd.org (Postfix) id 1216E35EB9E; Mon, 20 Jul 2020 13:25:31 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 11DE635E8E8 for ; Mon, 20 Jul 2020 13:25:31 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B9Mt21DFfz42R4 for ; Mon, 20 Jul 2020 13:25:30 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1jxVnL-0000Me-1n; Mon, 20 Jul 2020 16:25:27 +0300 Date: Mon, 20 Jul 2020 16:25:27 +0300 From: Slawa Olhovchenkov To: Konstantin Belousov Cc: net@freebsd.org, hps@selasky.org Subject: Re: mlx5 interrupts Message-ID: <20200720132526.GL2015@zxy.spb.ru> References: <20200719161207.GA2033@zxy.spb.ru> <20200720104339.GK44314@kib.kiev.ua> <20200720110426.GI2015@zxy.spb.ru> <20200720113148.GL44314@kib.kiev.ua> <20200720120550.GJ2015@zxy.spb.ru> <20200720123848.GK2015@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200720123848.GK2015@zxy.spb.ru> User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-Rspamd-Queue-Id: 4B9Mt21DFfz42R4 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of slw@zxy.spb.ru has no SPF policy when checking 195.70.199.98) smtp.mailfrom=slw@zxy.spb.ru X-Spamd-Result: default: False [1.91 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.25)[0.252]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zxy.spb.ru]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.21)[0.211]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.55)[0.546]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:5495, ipnet:195.70.192.0/19, country:RU]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jul 2020 13:25:31 -0000 On Mon, Jul 20, 2020 at 03:38:48PM +0300, Slawa Olhovchenkov wrote: > On Mon, Jul 20, 2020 at 03:05:50PM +0300, Slawa Olhovchenkov wrote: > > > > > Currently this is idle server and totaly interrupts count for firmware > > > > command completion is 50x more compared to completion queue > > > > interrupts. I am afraid to flooded at prodation load. > > > Did you reflashed firmware to the latest supported release ? > > > If not, do that. > > > > Don't release number in logs, only show by melanox utilites? > > dev.mlx5_core.1.%desc: Mellanox Core driver 3.5.2 (September 2019) > dev.mlx5_core.0.hw.board_id: MT_0000000080 > dev.mlx5_core.0.hw.fw_version: 16.26.1040 > > latest from site is 16.27.2008 > I am mean this firmware too big for reflash by FreeBSD driver: -rw-r--r-- 1 5906 363 16M Mar 31 20:57 fw-ConnectX5-rel-16_27_2008-MCX512A-ACA_Ax-UEFI-14.20.22-FlexBoot-3.5.901.bin if (fu->img_fw_data_len > 10 * 1024 * 1024) { error = EINVAL; break; }