From: Lukas Hejtmanek <xhejtman@ics.muni.cz>
To: roland@kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: mellanox mlx4_core and SR-IOV
Date: Wed, 1 Aug 2012 15:38:35 +0200 [thread overview]
Message-ID: <20120801133835.GH5470@ics.muni.cz> (raw)
Hello,
I tried to use SR-IOV virtualizaton for Mellanox ConnectX2 card with
mlx4_core driver with kernel 3.5.0. I built firware for the IB card with
sriov_en = true, lspci shows:
02:00.0 InfiniBand: Mellanox Technologies MT26428 [ConnectX VPI PCIe 2.0 5GT/s
- IB QDR / 10GigE] (rev b0)
Subsystem: Super Micro Computer Inc Device 0048
Flags: bus master, fast devsel, latency 0, IRQ 24
Memory at fbd00000 (64-bit, non-prefetchable) [size=1M]
Memory at f8800000 (64-bit, prefetchable) [size=8M]
Capabilities: [40] Power Management version 3
Capabilities: [48] Vital Product Data
Capabilities: [9c] MSI-X: Enable+ Count=128 Masked-
Capabilities: [60] Express Endpoint, MSI 00
Capabilities: [100] Alternative Routing-ID Interpretation (ARI)
Capabilities: [148] Device Serial Number 00-25-90-ff-ff-28-09-08
Capabilities: [108] Single Root I/O Virtualization (SR-IOV)
Kernel driver in use: mlx4_core
however, the driver complains:
[ 3.558221] mlx4_core 0000:02:00.0: Enabling sriov with:4 vfs
[ 3.558296] mlx4_core 0000:02:00.0: not enough MMIO resources for SR-IOV (nres: 0, iov->nres: 1)
[ 3.558299] mlx4_core 0000:02:00.0: Failed to enable sriov,continuing without sriov enabled (err = -12).
Is there any workaround for this? Or the bug is in BIOS and without a proper
fix this is never gonna work?
Perhaps, are there any persons more suitable for these kind of questions?
--
Lukáš Hejtmánek
next reply other threads:[~2012-08-01 13:40 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-01 13:38 Lukas Hejtmanek [this message]
2012-08-01 17:37 ` mellanox mlx4_core and SR-IOV Roland Dreier
2012-08-01 18:29 ` Yinghai Lu
2012-08-01 20:28 ` Lukas Hejtmanek
2012-08-01 21:27 ` Yinghai Lu
2012-08-01 21:50 ` Lukas Hejtmanek
2012-08-01 20:56 ` Lukas Hejtmanek
2012-08-01 21:32 ` Yinghai Lu
2012-08-01 22:08 ` Lukas Hejtmanek
2012-08-01 23:36 ` Yinghai Lu
2012-08-03 8:33 ` Lukas Hejtmanek
2012-08-03 16:41 ` Yinghai Lu
2012-08-10 18:51 ` Chris Friesen
2012-08-10 22:34 ` Lukas Hejtmanek
-- strict thread matches above, loose matches on Subject: below --
2012-08-03 13:49 Konrad Wilk
2012-08-05 8:05 ` Lukas Hejtmanek
2012-08-06 14:07 ` Konrad Rzeszutek Wilk
2012-08-06 15:10 ` Lukas Hejtmanek
2012-11-27 1:05 Zhangxiaofeng
[not found] ` <AE94C31276ACE14591CDCF7F6B4E699455547DBF-HvUXlCZMZtTDofk7SaG+FwK1hpo4iccwjNknBlVQO8k@public.gmane.org>
2012-11-27 2:30 ` Jon Stanley
[not found] ` <CALY6xngZ2PTf6hiPcpQjaJDnGO=L9gMZg_h2d4S6MJx-+quUDQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-11-27 4:54 ` Albert Strasheim
[not found] ` <CALfB72AHagg7GF2i2vuBw4_M0QHw-xkbdSXmuJKvynv-ZjLMow-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-11-30 0:41 ` Zhangxiaofeng
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=20120801133835.GH5470@ics.muni.cz \
--to=xhejtman@ics.muni.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=roland@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.