netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Saeed Mahameed <saeedm@nvidia.com>
To: Niklas Schnelle <schnelle@linux.ibm.com>
Cc: Leon Romanovsky <leon@kernel.org>,
	Linux regressions mailing list <regressions@lists.linux.dev>,
	netdev@vger.kernel.org,
	linux-kernel <linux-kernel@vger.kernel.org>,
	linux-rdma <linux-rdma@vger.kernel.org>,
	Alexander Gordeev <agordeev@linux.ibm.com>,
	Alexandra Winter <wintera@linux.ibm.com>
Subject: Re: mlx5: Regression VFs fail to probe on v6.8-rc1
Date: Mon, 22 Jan 2024 11:55:29 -0800	[thread overview]
Message-ID: <Za7IMcstTALcSnPG@x130> (raw)
In-Reply-To: <dd98c1417b0c5027da8e712154eea99807fc4286.camel@linux.ibm.com>

On 22 Jan 12:10, Niklas Schnelle wrote:
>Hi Saeed, Hi Leon,
>
>On current v6.8-rc1 on both s390x and on an Intel x86_64 test system
>with a ConnectX-6 DX the mlx5 driver fails to probe for VFs (On x86
>"echo 1 > /sys/bus/pci/devices/<dev>/sriov_numvfs" after a fresh boot
>is enough and is 100% reproducible).
>
>In dmesg I see the following messages (from the Intel server but it's
>basically the same on s390x):
>
>[  110.443950] mlx5_core 0000:6f:00.1: E-Switch: Enable: mode(LEGACY), nvfs(1), necvfs(0), active vports(2)
>[  110.546248] pci 0000:6f:08.2: [15b3:101e] type 00 class 0x020000 PCIe Endpoint
>[  110.546340] pci 0000:6f:08.2: enabling Extended Tags
>[  110.547626] pci 0000:6f:08.2: Adding to iommu group 115
>[  110.553328] mlx5_core 0000:6f:08.2: enabling device (0000 -> 0002)
>[  110.553478] mlx5_core 0000:6f:08.2: firmware version: 22.36.1010
>[  110.718748] mlx5_core 0000:6f:08.2: Rate limit: 127 rates are supported, range: 0Mbps to 97656Mbps
>[  110.730136] mlx5_core 0000:6f:08.2: Assigned random MAC address ce:a6:ec:9e:70:49
>[  110.734351] mlx5_core 0000:6f:08.2: mlx5_cmd_out_err:808:(pid 650): CREATE_TIS(0x912) op_mod(0x0) failed, status bad parameter(0x3), syndrome (0x595b5d), err(-22)
>[  110.735776] mlx5_core 0000:6f:08.2: mlx5e_create_mdev_resources:174:(pid 650): alloc tises failed, -22
>[  110.736819] mlx5_core 0000:6f:08.2: _mlx5e_probe:6076:(pid 650): mlx5e_resume failed, -22
>[  110.749146] mlx5_core.eth: probe of mlx5_core.eth.2 failed with error -22



Hi Niklas,

The following two commits got reverted from net-next, so they are missing
in the current kernel release.

I will resend them as fixes to net branch, hopefully they will make
it to RC2 soon 

https://lore.kernel.org/netdev/20231221005721.186607-2-saeed@kernel.org/
https://lore.kernel.org/netdev/20231221005721.186607-3-saeed@kernel.org/


      reply	other threads:[~2024-01-22 19:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-22 11:10 mlx5: Regression VFs fail to probe on v6.8-rc1 Niklas Schnelle
2024-01-22 19:55 ` Saeed Mahameed [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Za7IMcstTALcSnPG@x130 \
    --to=saeedm@nvidia.com \
    --cc=agordeev@linux.ibm.com \
    --cc=leon@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=regressions@lists.linux.dev \
    --cc=schnelle@linux.ibm.com \
    --cc=wintera@linux.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).