netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sebastian Ott <sebott@linux.vnet.ibm.com>
To: Or Gerlitz <gerlitz.or@gmail.com>
Cc: Eran Ben Elisha <eranbe@mellanox.com>,
	Or Gerlitz <ogerlitz@mellanox.com>,
	Jack Morgenstein <jackm@dev.mellanox.co.il>,
	Hadar Hen Zion <hadarh@mellanox.com>,
	Linux Netdev List <netdev@vger.kernel.org>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: mlx4: "failed to allocate default counter port 1"
Date: Tue, 30 Jun 2015 15:19:42 +0200 (CEST)	[thread overview]
Message-ID: <alpine.LFD.2.11.1506301505320.1799@denkbrett> (raw)
In-Reply-To: <CAJ3xEMgF+46tb0R2nbX8FYb2HBiFtn6Qzx61WCihBKTFbZFUtg@mail.gmail.com>

On Tue, 30 Jun 2015, Or Gerlitz wrote:
> On Tue, Jun 30, 2015 at 1:45 PM, Sebastian Ott
> <sebott@linux.vnet.ibm.com> wrote:
> > after the latest mellanox update the mlx4 driver fails to probe a VF:
> > [   88.909562] mlx4_core 0000:00:00.0: mlx4_allocate_default_counters: failed to allocate default counter port 1 err -22
> > [   88.909564] mlx4_core 0000:00:00.0: Failed to allocate default counters, aborting
> > [   88.961735] mlx4_core: probe of 0000:00:00.0 failed with error -22
> >
> > PFs still work. See below for more dmesg output - I also added a line of
> > debug output...maybe this helps.
> 
> Can you please send your "lspci | grep nox" listing? also what

0000:00:00.0 Ethernet controller: Mellanox Technologies MT27500 Family [ConnectX-3 Virtual Function]

> Firmware version you have there? e.g when you probe the PF with
> mlx4_core debug_level=1 can you sens us the lines that follow the PF
> probe, e.g as here + dump of all caps as you did for the VF

I have access to 2 machines and run a guest instance on both machines:
* on one the guest has acccess to a PF, but VF enablement is disallowed
* on the other the hypervisor controls the PF and the guests have only
  access to the VFs - so I cannot say much about the PF here

At least I found out the FW version - it's: 2.33.5100

Regards,
Sebastian

> 
>   952.367911] mlx4_core: Mellanox ConnectX core driver v2.2-1 (Feb, 2014)
> [  952.374606] mlx4_core: Initializing 0000:06:00.0
> [  953.384332] mlx4_core 0000:06:00.0: FW version 2.34.5000 (cmd intf
> rev 3), max commands 16
> [...]
> 
> Also send us the output of "dmesg | grep -i counter" after such verbose load.
> 
> thanks,
> 
> Or.
> 
> 

  reply	other threads:[~2015-06-30 13:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-30 10:45 mlx4: "failed to allocate default counter port 1" Sebastian Ott
2015-06-30 12:21 ` Or Gerlitz
2015-06-30 13:19   ` Sebastian Ott [this message]
2015-06-30 12:53 ` Or Gerlitz
2015-06-30 13:24   ` Sebastian Ott
2015-06-30 13:52     ` Or Gerlitz
2015-06-30 14:17       ` Sebastian Ott
2015-07-01 13:18         ` Or Gerlitz
2015-07-01 13:59           ` Sebastian Ott
2015-07-01 14:18             ` Sebastian Ott
2015-07-01 20:38               ` Or Gerlitz
2015-07-02  9:20                 ` Sebastian Ott
2015-07-29 12:50           ` Sebastian Ott
2015-07-29 13:25             ` Or Gerlitz

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=alpine.LFD.2.11.1506301505320.1799@denkbrett \
    --to=sebott@linux.vnet.ibm.com \
    --cc=eranbe@mellanox.com \
    --cc=gerlitz.or@gmail.com \
    --cc=hadarh@mellanox.com \
    --cc=jackm@dev.mellanox.co.il \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=ogerlitz@mellanox.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).