* Infiniband Netlink Patches
@ 2011-04-05 14:49 Nir Muchtar
[not found] ` <1302014975-7582-1-git-send-email-nirmu-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Nir Muchtar @ 2011-04-05 14:49 UTC (permalink / raw)
To: rolandd-FYB4Gu1CFyUAvxtiuMwx3w
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, nirmu-VPRAkNaXOzVWk0Htik3J/w
Hi Roland,
Did you get a chance to go over the last series of the IB Netlink patches I sent?
Is there anything missing? Anything I can do make reviewing this easier?
Thanks,
Nir
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Infiniband Netlink Patches
[not found] ` <1302014975-7582-1-git-send-email-nirmu-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
@ 2011-04-05 14:53 ` Nir Muchtar
0 siblings, 0 replies; 4+ messages in thread
From: Nir Muchtar @ 2011-04-05 14:53 UTC (permalink / raw)
To: roland-DgEjT+Ai2ygdnm+yROfE0A
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, nirmu-VPRAkNaXOzVWk0Htik3J/w
Hi Roland (your real email this time...),
Did you get a chance to go over the last series of the IB Netlink patches I sent?
Is there anything missing? Anything I can do make reviewing this easier?
Thanks,
Nir
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Infiniband Netlink Patches
@ 2011-04-11 19:36 Jason Gunthorpe
0 siblings, 0 replies; 4+ messages in thread
From: Jason Gunthorpe @ 2011-04-11 19:36 UTC (permalink / raw)
To: Nir Muchtar, linux-rdma-u79uwXL29TY76Z2rM5mHXA
> Hi Roland (your real email this time...),
> Did you get a chance to go over the last series of the IB Netlink
> patches I sent? Is there anything missing? Anything I can do make
> reviewing this easier?
I think we were both hoping to hear something from the Linux netlink
experts on the userspace schema in these patches. That is whay a
concise and complete text description was needed..
Jason
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Infiniband Netlink Patches
@ 2011-04-12 12:38 Muchtar Nir
0 siblings, 0 replies; 4+ messages in thread
From: Muchtar Nir @ 2011-04-12 12:38 UTC (permalink / raw)
To: jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/,
roland-DgEjT+Ai2ygdnm+yROfE0A
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA
Sorry for resending. Having Some mailer problems...
On Mon, 2011-04-11 at 13:36 -0600, Jason Gunthorpe wrote:
> > Hi Roland (your real email this time...),
>
> > Did you get a chance to go over the last series of the IB Netlink
> > patches I sent? Is there anything missing? Anything I can do make
> > reviewing this easier?
>
> I think we were both hoping to hear something from the Linux netlink
> experts on the userspace schema in these patches. That is whay a
> concise and complete text description was needed..
>
> Jason
I thought my explanation was clear enough.
Here it is again with some (hopefully...) improvements.
I'd appreciate if you could let me know of any obscurity, so I can
improve on it and we can make progress on this.
The schema for RDMA CM is a series of netlink messages. Each one
contains an rdma_cm_stat struct. Additionally, two netlink attributes
are created for the addresses for each message (if applicable).
Their types:
IBNL_RDMA_CM_ATTR_SRC_ADDR (The source address for this ID)
IBNL_RDMA_CM_ATTR_DST_ADDR (The destination address for this ID)
sockaddr_* structs are encapsulated within these attributes.
In other words, every transaction contains a series of messages like so:
-------message 1-------
struct rdma_cm_id_stats {
__u32 qp_num;
__u32 bound_dev_if;
__u32 port_space;
__s32 pid;
__u8 cm_state;
__u8 node_type;
__u8 port_num;
__u8 reserved;
}
IBNL_RDMA_CM_ATTR_SRC_ADDR attribute - contains the source address
IBNL_RDMA_CM_ATTR_DST_ADDR attribute - contains the destination address
-------end 1-------
-------message 2-------
struct rdma_cm_id_stats
IBNL_RDMA_CM_ATTR_SRC_ADDR attribute
IBNL_RDMA_CM_ATTR_DST_ADDR attribute
-------end 2-------
And so on...
Thanks,
Nir
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-04-12 12:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-11 19:36 Infiniband Netlink Patches Jason Gunthorpe
-- strict thread matches above, loose matches on Subject: below --
2011-04-12 12:38 Muchtar Nir
2011-04-05 14:49 Nir Muchtar
[not found] ` <1302014975-7582-1-git-send-email-nirmu-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2011-04-05 14:53 ` Nir Muchtar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox