All of lore.kernel.org
 help / color / mirror / Atom feed
From: Or Gerlitz <ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
To: Greg I Kerr <kerr.g-movQPkccWJngpn9g0Uvcdg@public.gmane.org>
Cc: Mike Heinz
	<michael.heinz-h88ZbnxC6KDQT0dZR+AlfA@public.gmane.org>,
	"linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Roland Dreier <roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Subject: Re: Write Packets to InfiniBand HCA
Date: Thu, 5 Jan 2012 12:10:40 +0200	[thread overview]
Message-ID: <4F057720.6030501@mellanox.com> (raw)
In-Reply-To: <CANtVaseDHYrS+oOZ8qYaxmFLfEVtfjt6hBGK0m0Y4KZ-CvLgWA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On 1/4/2012 11:23 PM, Greg I Kerr wrote:
> Yes I want to do this with IB. I wasn't aware that I could use a UD QP 
> to write my own packets to the wire. Is this what you're suggesting I 
> can use a UD QP for?

You'll have to further clarify the "my own packets" part of your 
sentence... IB have some layers which come into play in various elements 
(software/hardware of HCAs/switches) during the life cycle of the 
packet. Specifically each IB packet would have an IB L2 header called 
LRH, IB also has L3 header named GRH which is optional unless you need 
multicast (or IBoE). The UD thing I mentioned is IB's L4 - the 
transport. The most common transports are UD and RC. So if you go UD the 
packet will have L2 (LRH) and L4 UD headers (called BTH plus DTH) which 
on top of you add the payload.

Or.
--
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-01-05 10:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-03  2:49 Write Packets to InfiniBand HCA Greg I Kerr
     [not found] ` <CANtVascW3aRunBOSevwJgv8vN6gnNjmZM=8vLii=pUsDaFam3w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-01-03 14:53   ` Mike Heinz
     [not found]     ` <4C2744E8AD2982428C5BFE523DF8CDCB5CCCCCFB63-amwN6d8PyQWXx9kJd3VG2h2eb7JE58TQ@public.gmane.org>
2012-01-03 16:43       ` Greg I Kerr
     [not found]         ` <CANtVasebZqgxoZOVMJ7uRGN7subRZqgq1vWjh_r11vXxa--Qog-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-01-03 23:40           ` Roland Dreier
     [not found]             ` <CAL1RGDUOZw-+8R+rbsErd7PdB4gUH=zv1NYN-W1bxO5_ZgpdXQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-01-04 14:12               ` Mike Heinz
2012-01-04 21:03               ` Or Gerlitz
     [not found]                 ` <CAJZOPZ+-muTk9s_k61-+_=JFJRsg0RGOvGuMJu46mYCAYR7uqw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-01-04 21:23                   ` Greg I Kerr
     [not found]                     ` <CANtVaseDHYrS+oOZ8qYaxmFLfEVtfjt6hBGK0m0Y4KZ-CvLgWA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-01-05 10:10                       ` Or Gerlitz [this message]

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=4F057720.6030501@mellanox.com \
    --to=ogerlitz-vpraknaxozvwk0htik3j/w@public.gmane.org \
    --cc=kerr.g-movQPkccWJngpn9g0Uvcdg@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=michael.heinz-h88ZbnxC6KDQT0dZR+AlfA@public.gmane.org \
    --cc=roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.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.