All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Kristoffer Harthing Egefelt <k@itoc.dk>
Cc: xen-devel@lists.xensource.com
Subject: Re: no-carrier on qlogic 8242 10gig with linux 3.x	running xen
Date: Tue, 27 Mar 2012 17:51:59 -0400	[thread overview]
Message-ID: <20120327215159.GA17203@phenom.dumpdata.com> (raw)
In-Reply-To: <1332883903167-5598955.post@n5.nabble.com>

On Tue, Mar 27, 2012 at 02:31:43PM -0700, Kristoffer Harthing Egefelt wrote:
> Diffing the dmesg's from native linux 3.x and linux 3.x with xen shows 4 more
> lines on the native:
> 
> Native:
>  qlcnic 0000:03:00.0: phy port: 0 switch_mode: 0,
>     max_tx_q: 1 max_rx_q: 8 min_tx_bw: 0x0,
>     max_tx_bw: 0x64 max_mtu:0x2580, capabilities: 0x6affae
>  qlcnic 0000:03:00.0: failed card response code:0x10
>  qlcnic 0000:03:00.0: Can't get template size 16
>  qlcnic 0000:03:00.0: firmware v4.7.83
>  qlcnic: 24:b6:fd:64:1e:45: QME8242-k 10GbE Dual Port Mezzanine Card Board
> Chip rev 0x54
> * qlcnic 0000:03:00.0: irq 78 for MSI/MSI-X
>  qlcnic 0000:03:00.0: irq 79 for MSI/MSI-X
>  qlcnic 0000:03:00.0: irq 80 for MSI/MSI-X
>  qlcnic 0000:03:00.0: irq 81 for MSI/MSI-X*
>  qlcnic 0000:03:00.0: using msi-x interrupts
>  qlcnic 0000:03:00.0: eth0: XGbE port initialized
> 
> The xen version of dmesg does not have these irq's:
> 
> XEN:
>  qlcnic 0000:03:00.0: phy port: 0 switch_mode: 0,
>     max_tx_q: 1 max_rx_q: 8 min_tx_bw: 0x0,
>     max_tx_bw: 0x64 max_mtu:0x2580, capabilities: 0x6affae
>  qlcnic 0000:03:00.0: failed card response code:0x10
>  qlcnic 0000:03:00.0: Can't get template size 16
>  qlcnic 0000:03:00.0: firmware v4.7.83
>  qlcnic: 24:b6:fd:64:1e:45: QME8242-k 10GbE Dual Port Mezzanine Card Board
> Chip rev 0x54
>  qlcnic 0000:03:00.0: using msi-x interrupts
>  qlcnic 0000:03:00.0: eth0: XGbE port initialized
>  xen: registering gsi 38 triggering 0 polarity 1
>  xen_map_pirq_gsi: returning irq 38 for gsi 38
>  xen: --> pirq=38 -> irq=38 (gsi=38)
>  Already setup the GSI :38

And is 38 assigned to this device or to another one? You shold
be able to see that in /proc/interrupts.
> 
> Does this make any sense?

You would be better of comparing the /proc/interrupts - see if the
one that is associated with the driver has the same number of them
(the numbers will differ).

> I'm able to mod probe the qlcnic driver with options:
> use_msi=0 and
> use_msi_x=0
> but this has no effect.
> 
> 
> 
> --
> View this message in context: http://xen.1045712.n5.nabble.com/no-carrier-on-qlogic-8242-10gig-with-linux-3-x-running-xen-tp5597283p5598955.html
> Sent from the Xen - Dev mailing list archive at Nabble.com.
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

  reply	other threads:[~2012-03-27 21:51 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-27  8:48 no-carrier on qlogic 8242 10gig with linux 3.x running xen Kristoffer Harthing Egefelt
2012-03-27  9:25 ` Wei Liu
2012-03-27  9:43   ` Kristoffer Harthing Egefelt
2012-03-27 10:02     ` Wei Liu
2012-03-27 12:41       ` Pasi Kärkkäinen
2012-03-27 16:23         ` Kristoffer Harthing Egefelt
2012-03-27 16:37           ` Wei Liu
2012-03-27 18:45             ` Kristoffer Harthing Egefelt
2012-03-27 18:58               ` Konrad Rzeszutek Wilk
2012-03-27 18:59                 ` Konrad Rzeszutek Wilk
2012-03-27 19:26           ` Pasi Kärkkäinen
2012-03-27 20:29             ` Kristoffer Harthing Egefelt
2012-03-27 21:31               ` Kristoffer Harthing Egefelt
2012-03-27 21:51                 ` Konrad Rzeszutek Wilk [this message]
2012-03-27 22:35                   ` Kristoffer Harthing Egefelt
2012-03-28 14:37                     ` Konrad Rzeszutek Wilk
2012-03-29  8:30                       ` Kristoffer Harthing Egefelt
2012-03-29 14:59                         ` Konrad Rzeszutek Wilk
2012-03-29 18:43                           ` Kristoffer Harthing Egefelt
2012-05-10 15:42                             ` Konrad Rzeszutek Wilk
2012-05-13 20:24                               ` Kristoffer Harthing Egefelt
2012-05-23  9:40                                 ` Kristoffer Harthing Egefelt
2012-05-23 14:27                                   ` Pasi Kärkkäinen
2012-05-25 21:03                                   ` Konrad Rzeszutek Wilk
2012-03-28  8:55                 ` Fajar A. Nugraha
2012-03-28  9:29                   ` Kristoffer Harthing Egefelt
2012-03-28 13:27                     ` Andrew Cooper
2012-03-29  8:35                       ` Kristoffer Harthing Egefelt
2012-03-29 11:50                         ` Andrew Cooper
2012-03-28  9:15               ` Ian Campbell
2012-03-28  9:55                 ` Kristoffer Harthing Egefelt
2012-03-28 10:23                   ` Andrew Cooper
2012-03-28 12:57                     ` Kristoffer Harthing Egefelt
2012-03-28 13:06                       ` Jan Beulich
2012-07-31 21:50       ` Anirban Chakraborty

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=20120327215159.GA17203@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=k@itoc.dk \
    --cc=xen-devel@lists.xensource.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 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.