Re: Write Packets to InfiniBand HCA

2012-01-04 Thread Greg I Kerr
Thanks for the help everyone. > > Greg, RAW Ethernet QPs (soon to be re-submitted upstream) which to be > implemented within the ConnnetX / mlx4 driver as MLX transport QPs > would allow you to do  that - over Ethernet. > > If you're asking on IB, I would suggest using UD QPs which are > available

Re: Write Packets to InfiniBand HCA

2012-01-03 Thread Greg I Kerr
er.kernel.org > [mailto:linux-rdma-ow...@vger.kernel.org] On Behalf Of Greg I Kerr > Sent: Monday, January 02, 2012 9:50 PM > To: linux-rdma@vger.kernel.org > Subject: Write Packets to InfiniBand HCA > > Hi, > > Does anyone know if it is or isn't possible to put th

Write Packets to InfiniBand HCA

2012-01-02 Thread Greg I Kerr
Hi, Does anyone know if it is or isn't possible to put the HCA in some kind of "raw" mode where I can compose a packet in software and write it to the card? This is obviously in comparison to calling ibv_post_send and having a work request converted into a packet. Thanks, Greg Kerr -- To unsubsc

Replay Infiniband Packets

2011-06-10 Thread Greg I Kerr
Using the `ibdump' tool, provided by Mellanox, I am able to capture Infiniband packets into a .pcap file. I am wondering if there is a way to replay those packets, so that I can re-enact a transmission. Thanks, Greg Kerr -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in

rdma_bw fails

2011-05-17 Thread Greg I Kerr
After finally fully comprehending libibverbs, I am now trying to expand my understand to librdma_cm but it would seem I am having some problems getting connected. If I run rdma_bw on two nodes with the -c option (use rdma_cm) it fails with the error: "4390:pp_client_connect: unexpected CM event 1.

Call to ibv_post_recv fails

2011-05-06 Thread Greg I Kerr
I was hoping some of you might be able to tell me why the call to ibv_post_recv fails in the following code snippet, based off of rc_pingpong. I registered both buffers with ibv_reg_mr and am simply trying to post a work request that points to an sge list of 2 buffers. Is it not allowed to point t

How is Q_KEY Set

2011-03-15 Thread Greg I Kerr
I was wondering how the Q_KEY is set by default, if the user doesn't specify it in the ibv_qp_attr struct? I couldn't find a suitable answer in the spec. The reason I'm asking is because I have a program where I create a "connection" in the sense that I perform all steps from opening the device to

Infiniband Shared Memory Segment

2011-01-27 Thread Greg I Kerr
I sent this e-mail to the OFED ewg list but I figured someone on the Linux mailing list might know about this as well, since it's fairly low level details. I was hoping someone could answer a few questions for me, or point to where the answers might be. I dug through the formal IBA specification V