All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Shvetsov <alexxy-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
To: Roland Dreier <roland-BHEL68pLQRGGvPXPguhicg@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: ib_srpt and mellanox mthca device
Date: Wed, 11 Apr 2012 23:13:19 +0300	[thread overview]
Message-ID: <fa3a67e9423946c0bbd23abb3f60921a@omrb.pnpi.spb.ru> (raw)
In-Reply-To: <CAL1RGDVbqOQP+AH4f9cs+mEngXVTOy7r7gRjJ=SU_rMmvCg3Qg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Hi Roland!

Actual IB HBA is
store ~ # lspci -v  -s 4b:00.0
4b:00.0 InfiniBand: Mellanox Technologies MT25208 InfiniHost III Ex 
(Tavor compatibility mode) (rev 20)
         Subsystem: Mellanox Technologies MT25208 InfiniHost III Ex 
(Tavor compatibility mode)
         Physical Slot: 2-1
         Flags: bus master, fast devsel, latency 0, IRQ 16
         Memory at fdf00000 (64-bit, non-prefetchable) [size=1M]
         Memory at f7800000 (64-bit, prefetchable) [size=8M]
         Memory at e8000000 (64-bit, prefetchable) [size=128M]
         Capabilities: [40] Power Management version 2
         Capabilities: [48] Vital Product Data
         Capabilities: [90] MSI: Enable- Count=1/32 Maskable- 64bit+
         Capabilities: [84] MSI-X: Enable+ Count=32 Masked-
         Capabilities: [60] Express Endpoint, MSI 00
         Kernel driver in use: ib_mthca

It have  latest available firmware image

store tmp # ibv_devinfo -v
hca_id: mthca0
         transport:                      InfiniBand (0)
         fw_ver:                         4.8.930
         node_guid:                      001e:0bff:ff4c:0d30
         sys_image_guid:                 001e:0bff:ff4c:0d33
         vendor_id:                      0x1708
         vendor_part_id:                 25208
         hw_ver:                         0x20
         board_id:                       HP_0060000001
         phys_port_cnt:                  2
         max_mr_size:                    0xffffffffffffffff
         page_size_cap:                  0xfffff000
         max_qp:                         64512
         max_qp_wr:                      65535
         device_cap_flags:               0x00001c76
         max_sge:                        59
         max_sge_rd:                     0
         max_cq:                         65408
         max_cqe:                        131071
         max_mr:                         131056
         max_pd:                         32768
         max_qp_rd_atom:                 4
         max_ee_rd_atom:                 0
         max_res_rd_atom:                258048
         max_qp_init_rd_atom:            128
         max_ee_init_rd_atom:            0
         atomic_cap:                     ATOMIC_HCA (1)
         max_ee:                         0
         max_rdd:                        0
         max_mw:                         0
         max_raw_ipv6_qp:                0
         max_raw_ethy_qp:                0
         max_mcast_grp:                  8192
         max_mcast_qp_attach:            56
         max_total_mcast_qp_attach:      458752
         max_ah:                         0
         max_fmr:                        0
         max_srq:                        960
         max_srq_wr:                     65535
         max_srq_sge:                    31
         max_pkeys:                      64
         local_ca_ack_delay:             15
                 port:   1
                         state:                  PORT_INIT (2)
                         max_mtu:                2048 (4)
                         active_mtu:             512 (2)
                         sm_lid:                 0
                         port_lid:               0
                         port_lmc:               0x00
                         link_layer:             IB
                         max_msg_sz:             0x80000000
                         port_cap_flags:         0x02510a68
                         max_vl_num:             8 (4)
                         bad_pkey_cntr:          0x0
                         qkey_viol_cntr:         0x0
                         sm_sl:                  0
                         pkey_tbl_len:           64
                         gid_tbl_len:            32
                         subnet_timeout:         0
                         init_type_reply:        0
                         active_width:           4X (2)
                         active_speed:           5.0 Gbps (2)
                         phys_state:             LINK_UP (5)
                         GID[  0]:               
fe80:0000:0000:0000:001e:0bff:ff4c:0d31

                 port:   2
                         state:                  PORT_DOWN (1)
                         max_mtu:                2048 (4)
                         active_mtu:             512 (2)
                         sm_lid:                 0
                         port_lid:               0
                         port_lmc:               0x00
                         link_layer:             IB
                         max_msg_sz:             0x80000000
                         port_cap_flags:         0x02510a68
                         max_vl_num:             8 (4)
                         bad_pkey_cntr:          0x0
                         qkey_viol_cntr:         0x0
                         sm_sl:                  0
                         pkey_tbl_len:           64
                         gid_tbl_len:            32
                         subnet_timeout:         0
                         init_type_reply:        0
                         active_width:           4X (2)
                         active_speed:           2.5 Gbps (1)
                         phys_state:             POLLING (2)
                         GID[  0]:               
fe80:0000:0000:0000:001e:0bff:ff4c:0d32


Roland Dreier писал 2012-04-11 23:06:
> On Wed, Apr 11, 2012 at 2:21 AM, Alexey Shvetsov <alexxy-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org> 
> wrote:
>> I made tracing for srpt_add_one function. Trace log attached to mail
>
> It looks like the call to ib_create_srq() is failing.
>
> What specific HCA type do you have?  Do you have up-to-date firmware?
> I thought all mthca hardware is SRQ-capable, but you may need new 
> enough
> firmware.
>
> What does "ibv_devinfo -v" show with ib_mthca and ib_uverbs loaded?
>
>  - R.

-- 
Best Regards,
Alexey 'Alexxy' Shvetsov
Petersburg Nuclear Physics Institute, Russia
Department of Molecular and Radiation Biophysics
Gentoo Team Ru
Gentoo Linux Dev
mailto:alexxyum-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
mailto:alexxy-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org
mailto:alexxy-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org
--
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

  parent reply	other threads:[~2012-04-11 20:13 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-10 14:52 Alexey Shvetsov
     [not found] ` <5f95768153388b91a2ffa0cd118d7ad8-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org>
2012-04-10 23:09   ` Roland Dreier
     [not found]     ` <CAL1RGDWNqMdQGrXbh2gj==_KvVRF1mUQw2D3NqEhjvuq2q2+6Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-11  9:21       ` Alexey Shvetsov
     [not found]         ` <97cccba5ba7ddc74e87b0791050fa755-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org>
2012-04-11 20:06           ` Roland Dreier
     [not found]             ` <CAL1RGDVbqOQP+AH4f9cs+mEngXVTOy7r7gRjJ=SU_rMmvCg3Qg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-11 20:13               ` Alexey Shvetsov [this message]
     [not found]                 ` <fa3a67e9423946c0bbd23abb3f60921a-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org>
2012-04-11 22:15                   ` Roland Dreier
     [not found]                     ` <CAL1RGDVn1Roo-KaZW_r_WAQudbEZ2+mXD2RqNS68Rg=UBTRe7Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-11 23:21                       ` Alexey Shvetsov
     [not found]                         ` <806c99edea592c69d0aa9073bae2a3b9-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org>
2012-04-12  1:24                           ` Roland Dreier
     [not found]                             ` <CAL1RGDXT1gshgxA+c9M==zxarKnjKZtcy4dROtOnKVmc9+u9HQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-12  5:52                               ` Alexey Shvetsov
     [not found]                                 ` <2f4564980ae4cdafdc456a8e41b4ab04-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org>
2012-04-12  9:09                                   ` Roland Dreier
     [not found]                                     ` <CAL1RGDVh=n5rEB5GqmPaDvuNAKRkoVEro9LYr785zQpz7xR0vg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-12 14:46                                       ` Roland Dreier
     [not found]                                         ` <CAL1RGDXFVTD88ZF9rWoaDpOU7PuzdPcF7PSP4Ac6icgD=FPQLQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-12 18:58                                           ` Alexey Shvetsov
2012-04-12 19:02                                           ` Alexey Shvetsov
2012-04-12 19:17                                             ` Roland Dreier
     [not found]                                             ` <CAL1RGDVjhpzSDUvkpdkG8u2YPwAWmt_szUw=wb3j3=gsb-iW-g@mail.gmai l.com>
     [not found]                                               ` <CAL1RGDVjhpzSDUvkpdkG8u2YPwAWmt_szUw=wb3j3=gsb-iW-g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-12 20:59                                                 ` Andy Grover
     [not found]                                                   ` <4F87423D.8010104-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-04-12 21:18                                                     ` Alexey Shvetsov
2012-04-12 22:01                                                       ` Andy Grover
2012-04-13  4:00                                                       ` Nicholas A. Bellinger
     [not found]                                                         ` <1334289638.3137.4938.camel-Y1+j5t8j3WgjMeEPmliV8E/sVC8ogwMJ@public.gmane.org>
2012-04-13  8:47                                                           ` Alexey Shvetsov
     [not found]                                                             ` <273131eb997f295f6b1f3d103a7013d4-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org>
2012-04-14  1:27                                                               ` Nicholas A. Bellinger

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=fa3a67e9423946c0bbd23abb3f60921a@omrb.pnpi.spb.ru \
    --to=alexxy-abrp7r+bbdudnm+yrofe0a@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=roland-BHEL68pLQRGGvPXPguhicg@public.gmane.org \
    --subject='Re: ib_srpt and mellanox mthca device' \
    /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

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.