All of lore.kernel.org
 help / color / mirror / Atom feed
From: Or Gerlitz <ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
To: "Hefty, Sean" <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: Jack Morgenstein
	<jackm-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>,
	Jason Gunthorpe
	<jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>,
	Roland Dreier <roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	"linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Liran Liss <liranl-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org>,
	Oren Duer <oren-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org>
Subject: Re: [PATCH 1/2] libibverbs: Allow 3rd party extensions to verb routines
Date: Sun, 1 Jan 2012 07:13:32 +0200	[thread overview]
Message-ID: <4EFFEB7C.6090202@mellanox.com> (raw)
In-Reply-To: <4EFC8A85.4020803-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>


>
>> or call an existing function with some new enum value
>
> 5. what happens if we just want to enhance an -- existing -- function 
> - suppose we want to enhance ibv_post_send / ibv_poll_cq to support 
> features like LSO, checksum offload, masked atomic operations, fast 
> memory remote invalidate, etc so we add IBV_WR_NEW_FEATURE / 
> IB_WC_NEW_FEATURE enum values, this step is simple, again if we go the 
> way of the applicayion ensuring through dependencies that they are 
> loaded against libibverbs that supports IB_{WR,WC}_NEW_FEATURE.

Another element to take into account / use here, is the device 
capabilities, in the kernel RDMA stack this is the way to go for 
supporting extended features - those who are not common to all devices, 
e.g the way ipoib queries the device and concludes if checksum/lso 
offloads can be exposed to the network stack, or the rpc/rdma layer 
decides what memory management model to use for rdma conditioned if 
memory extensions etc are supported. But the kernel is one piece, so if 
a cap is defined and there's a driver down there advertizing it, all is 
in place software wise, where in user space, there are some more layers 
to address, as this thread attempts to do.

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-01  5:13 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-15 16:54 [PATCH 1/2] libibverbs: Allow 3rd party extensions to verb routines Hefty, Sean
     [not found] ` <1828884A29C6694DAF28B7E6B8A8237302123C-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2011-06-16 15:14   ` Or Gerlitz
     [not found]     ` <4DFA1DDD.5020508-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2011-06-16 15:39       ` Hefty, Sean
     [not found]         ` <1828884A29C6694DAF28B7E6B8A823730217E1-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2011-06-16 18:12           ` Or Gerlitz
     [not found]             ` <BANLkTimwTs4EK19PiTq6yMzPCQrLt0bALw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-06-16 19:27               ` Hefty, Sean
     [not found]                 ` <1828884A29C6694DAF28B7E6B8A823730218F4-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2011-08-01 12:08                   ` Jack Morgenstein
     [not found]                     ` <201108011508.06521.jackm-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2011-08-01 19:11                       ` Hefty, Sean
2011-08-02  5:38                       ` Jason Gunthorpe
     [not found]                         ` <20110802053824.GA23512-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2011-08-02  7:53                           ` Jack Morgenstein
     [not found]                             ` <201108021053.05311.jackm-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2011-08-02 16:28                               ` Hefty, Sean
     [not found]                                 ` <1828884A29C6694DAF28B7E6B8A82373136F935C-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2011-12-29 15:43                                   ` Or Gerlitz
     [not found]                                     ` <4EFC8A85.4020803-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2011-12-31 11:01                                       ` Bart Van Assche
2012-01-01  5:13                                       ` Or Gerlitz [this message]
2012-01-02 17:34                                       ` Hefty, Sean
     [not found]                                         ` <1828884A29C6694DAF28B7E6B8A8237325662BCE-P5GAC/sN6hlcIJlls4ac1rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2012-01-03 16:08                                           ` Or Gerlitz
     [not found]                                             ` <4F03280A.80305-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2012-01-03 16:40                                               ` Hefty, Sean
2011-08-02 16:56                               ` Jason Gunthorpe

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=4EFFEB7C.6090202@mellanox.com \
    --to=ogerlitz-vpraknaxozvwk0htik3j/w@public.gmane.org \
    --cc=jackm-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org \
    --cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=liranl-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org \
    --cc=oren-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org \
    --cc=roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=sean.hefty-ral2JQCrhuEAvxtiuMwx3w@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.