From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leon Romanovsky Subject: Re: [PATCH] IB/mlx5: Fix decision to avoid using MAD_IFC command in ISSI > 0 mode Date: Sat, 10 Sep 2016 10:47:19 +0300 Message-ID: <20160910074719.GG6415@leon.nu> References: <1473232990-22766-1-git-send-email-dchang@suse.com> <20160908140752.GN18398@leon.nu> <20160909025527.GC3042@linux-kyyb.suse> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8S1fMsFYqgBC+BN/" Return-path: Content-Disposition: inline In-Reply-To: <20160909025527.GC3042-5oAczMR2RyTI588T0lkTTQ@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: David Chang Cc: Doug Ledford , Matan Barak , Majd Dibbiny , Eli Cohen , Or Gerlitz , linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-rdma@vger.kernel.org --8S1fMsFYqgBC+BN/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Sep 09, 2016 at 10:55:27AM +0800, David Chang wrote: > On Thu, Sep 08, 2016 at 05:07:52PM +0300, Leon Romanovsky wrote: > > On Wed, Sep 07, 2016 at 03:23:10PM +0800, David Chang wrote: > > > When using MAD_IFC command, we should also consider avoiding in > > > ISSI > 0 mode, otherwise most of the MAD_IFC command features > > > are deprecated and cannot be used. > > > > > > Fixes: d603c809ef91 ("IB/mlx5: Fix decision on using MAD_IFC") > > > Reported-by: Sujith Pandel > > > Signed-off-by: David Chang > > > > NAK, > > It is wrong, the deprecation is removed from programming manual. > > > > Without the patch, we got the following message. > [ 8.456327] mlx5_core 0000:03:00.0: firmware version: 12.12.780 > ... This command is supported only for physical function (PF) drivers and only when physical port is IB without relation to ISSI. When I'll return to office (next week), I'll check that we are checking this requirement correctly. Thanks for providing dump and FW version to reproduce it. > [ 10.417421] mlx5_ib: Mellanox Connect-IB Infiniband driver v2.2-1 (Feb 2014) > [ 10.419282] ------------[ cut here ]------------ > [ 10.419291] WARNING: CPU: 2 PID: 2517 at ../drivers/infiniband/core/cache.c:702 ib_cache_gid_set_default_gid+0x2f8/0x340 [ib_core]() > [ 10.419386] CPU: 2 PID: 2517 Comm: modprobe Tainted: G X 4.4.19-1-default #1 > [ 10.419387] Hardware name: Dell Inc. PowerEdge R730xd/072T6D, BIOS 2.1.7 06/16/2016 > [ 10.419389] 0000000000000000 ffffffff8130d740 0000000000000000 ffffffffa04e0300 > [ 10.419395] ffffffff8107c121 > [ 10.419400] ffff88017bfe0000 ffff88003712b9e0 ffff88045ad905c0 > [ 10.419401] 0000000000000001 fffffffffffffffc ffffffffa04d8a58 0000000000000000 > [ 10.419406] Call Trace: > [ 10.419415] [] dump_trace+0x59/0x310 > [ 10.419419] [] show_stack_log_lvl+0xea/0x170 > [ 10.419421] [] show_stack+0x21/0x40 > [ 10.419426] [] dump_stack+0x5c/0x7c > [ 10.419431] [] warn_slowpath_common+0x81/0xb0 > [ 10.419436] [] ib_cache_gid_set_default_gid+0x2f8/0x340 [ib_core] > [ 10.419449] [] add_netdev_ips+0x9d/0xa0 [ib_core] > [ 10.419456] [] enum_all_gids_of_dev_cb+0x7b/0xb0 [ib_core] > [ 10.419461] [] ib_enum_roce_netdev+0xdd/0x100 [ib_core] > [ 10.419466] [] roce_rescan_device+0x1d/0x20 [ib_core] > [ 10.419470] [] ib_cache_setup_one+0x23b/0x3d0 [ib_core] > [ 10.419475] [] ib_register_device+0x2bb/0x4f0 [ib_core] > [ 10.419483] [] mlx5_ib_add+0xaaf/0x12e0 [mlx5_ib] > [ 10.419492] [] mlx5_add_device+0x41/0xa0 [mlx5_core] > [ 10.419498] [] mlx5_register_interface+0x65/0xa0 [mlx5_core] > [ 10.419502] [] mlx5_ib_init+0x30/0x42 [mlx5_ib] > [ 10.419506] [] do_one_initcall+0xc8/0x1f0 > [ 10.419510] [] do_init_module+0x5a/0x1d7 > [ 10.419514] [] load_module+0x1366/0x1c50 > [ 10.419518] [] SYSC_finit_module+0x70/0xa0 > [ 10.419523] [] entry_SYSCALL_64_fastpath+0x12/0x6d > [ 10.420681] DWARF2 unwinder stuck at entry_SYSCALL_64_fastpath+0x12/0x6d > [ 10.420682] Leftover inexact backtrace: > [ 10.420684] ---[ end trace fc8ccb16c9d8e28a ]--- > ... > > Thanks, > David Chang > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > More majordomo info at http://vger.kernel.org/majordomo-info.html --8S1fMsFYqgBC+BN/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJX07qHAAoJEORje4g2clin+CIQAJ+ZyJmITz5SysOk/wFiFcUV D2Nbs25haHva/16nhzBhR0imvYitp0QinASyh9BE0aAbm9DO1BldDuwcZEhsXZm+ 3cxnPKNLeXgfp4PTUluaHvzmb8PNkwZieMY1iAGn3DR6Dz5YVOOSyp504Cdnq7tX zhWohQaunvm665j40ZKpxpXmOA/pqEtVP6PsHzJ1cB5RgfgVhfwyNqEG1nG6mgQ3 1+1uGLGPThTpdl0wK2k1pQ56HrgLiNtesQdUtdH0arVwUWiPfrEJXwIryvZMQ347 AbG+rjUCf9n7BrzxG3Ax8SJ8kfuEYmC1uo8np+TCw+zZiZcOK0tjWICCRDJDWNhx a0ebvyHJpnWQg4nC7M4xb5yeY0Oq7k1j+arK5TeVjtLOYJZMYSmAC6nPR819X2CX 37DZNCbKXDtSoxfkl6hG7uaHNMyKNn6Ca+LEypd1AefUcPe4Y34StMU2OcCGw22v bCXVzV6u30/BfLsT5bXQeTkZRvFmBArzlePq4/hnYXsn9TkN6JOAo64eLLnywR25 uiuYcqRPjmV+gIj2+xAvJXYkmeKaN/gheAsopiESMqQIPXRY57a6tn8hwf60hI6+ pTDPfJBelkvEaK5VxqkaMi02JpU07fGoJsGkyEety7JEl4dz/wfWILeaArzCndGJ AX2gBApbdaj7S0Ozwk1d =GlgY -----END PGP SIGNATURE----- --8S1fMsFYqgBC+BN/-- -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html