RE: [PATCHv1] RDMA/ocrdma: Fixed CONFIG_VLAN_8021Q.

2012-08-16 Thread Parav.Pandit
> -Original Message- > From: Roland Dreier [mailto:rol...@purestorage.com] > Sent: Thursday, August 16, 2012 9:41 AM > To: Pandit, Parav > Cc: linux-rdma@vger.kernel.org > Subject: Re: [PATCHv1] RDMA/ocrdma: Fixed CONFIG_VLAN_8021Q. > > On Sat, Aug 11, 2012 at 6:28 AM, Parav Pandit > wro

RE: BUG: RDMA/ocrdma calls invalid vlan_dev_real_dev()

2012-08-10 Thread Parav.Pandit
I'll provide you fix in short while. Parav > -Original Message- > From: Fengguang Wu [mailto:fengguang...@intel.com] > Sent: Friday, August 10, 2012 5:39 AM > To: Roland Dreier > Cc: linux-rdma@vger.kernel.org; Pandit, Parav; Sean Hefty; linux- > ker...@vger.kernel.org > Subject: Re: BUG:

RE: [Q] How to tranfer a file which is over 2GB(2^31) size in RDMA network?

2012-07-03 Thread Parav.Pandit
> -Original Message- > From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- > ow...@vger.kernel.org] On Behalf Of Hiroyuki Sato > Sent: Monday, July 02, 2012 7:20 PM > To: linux-rdma > Subject: [Q] How to tranfer a file which is over 2GB(2^31) size in RDMA > network? > > Dear devel

fmr pool and remap doubt

2012-04-30 Thread Parav.Pandit
Hi, I am trying to understand remapping functionality and fmr_pool.c. Looking back at old thread: http://lists.openfabrics.org/pipermail/general/2006-February/017198.html Can you please confirm whether my understanding is correct or not. 1. max_map_per_fmr indicates that - different memory page

be2net: when can I expect roce support patch will be merged?

2012-04-01 Thread Parav.Pandit
Hi, Did you get chance to merge below be2net patch for supporing RoCE driver? http://marc.info/?l=linux-rdma&m=133279326217836&w=2 Once this is done, Roland can merge ocrdma RoCE driver addition to his tree. This NIC driver patch is required to merge ocrdma patch. When can I expect this patch to

RE: [PATCH 2/9] ocrdma: Driver for Emulex OneConnect RDMA adapter

2012-03-23 Thread Parav.Pandit
Got it. You did mention about typedef in email chain, but I understood as different way to achieve same. I reviewed my code and found that most of the fields between driver-adapter doesn't need attribute. So far (a) removing packed and (b) BUILD_BUG_ON looks sufficient for current set of struct

RE: [PATCH 2/9] ocrdma: Driver for Emulex OneConnect RDMA adapter

2012-03-23 Thread Parav.Pandit
> -Original Message- > From: Jason Gunthorpe [mailto:jguntho...@obsidianresearch.com] > Sent: Friday, March 23, 2012 4:14 AM > To: Pandit, Parav > Cc: david.lai...@aculab.com; rol...@purestorage.com; linux- > r...@vger.kernel.org; net...@vger.kernel.org > Subject: Re: [PATCH 2/9] ocrdma:

RE: [PATCH 2/9] ocrdma: Driver for Emulex OneConnect RDMA adapter

2012-03-22 Thread Parav.Pandit
I got a question here lately. aligned directive will ensure that it will fall on boundary. Say aligned(4) ensures that structure is aligned to 4 byte boundary. Compiler can (at least theoretically) still have 4 byte structure aligned to 8 byte boundary on 64-bit platform (which is 4 byte aligned

RE: [PATCH 2/9] ocrdma: Driver for Emulex OneConnect RDMA adapter

2012-03-22 Thread Parav.Pandit
> -Original Message- > From: Jason Gunthorpe [mailto:jguntho...@obsidianresearch.com] > Sent: Friday, March 23, 2012 2:28 AM > To: Pandit, Parav > Cc: david.lai...@aculab.com; rol...@purestorage.com; linux- > r...@vger.kernel.org; net...@vger.kernel.org > Subject: Re: [PATCH 2/9] ocrdma:

RE: [PATCH 2/9] ocrdma: Driver for Emulex OneConnect RDMA adapter

2012-03-22 Thread Parav.Pandit
> -Original Message- > From: David Laight [mailto:david.lai...@aculab.com] > Sent: Wednesday, March 21, 2012 10:02 PM > To: Roland Dreier; Pandit, Parav > Cc: linux-rdma@vger.kernel.org; net...@vger.kernel.org > Subject: RE: [PATCH 2/9] ocrdma: Driver for Emulex OneConnect RDMA > adapter

RE: [PATCH 1/9] ocrdma: Driver for Emulex OneConnect RDMA adapter

2012-03-22 Thread Parav.Pandit
> -Original Message- > From: Roland Dreier [mailto:rol...@purestorage.com] > Sent: Thursday, March 22, 2012 9:30 PM > To: Pandit, Parav > Cc: sean.he...@intel.com; linux-rdma@vger.kernel.org > Subject: Re: [PATCH 1/9] ocrdma: Driver for Emulex OneConnect RDMA > adapter > > On Thu, Mar 22,

RE: [PATCH 1/9] ocrdma: Driver for Emulex OneConnect RDMA adapter

2012-03-22 Thread Parav.Pandit
> -Original Message- > From: Hefty, Sean [mailto:sean.he...@intel.com] > Sent: Wednesday, March 21, 2012 10:49 PM > To: Pandit, Parav; linux-rdma@vger.kernel.org > Subject: RE: [PATCH 1/9] ocrdma: Driver for Emulex OneConnect RDMA > adapter > > > +struct ocrdma_cq { > > + struct ib_cq

RE: [PATCH 5/9] ocrdma: Driver for Emulex OneConnect RDMA adapter

2012-03-22 Thread Parav.Pandit
> -Original Message- > From: Hefty, Sean [mailto:sean.he...@intel.com] > Sent: Thursday, March 22, 2012 6:14 AM > To: Pandit, Parav; linux-rdma@vger.kernel.org > Subject: RE: [PATCH 5/9] ocrdma: Driver for Emulex OneConnect RDMA > adapter > > > +static int ocrdma_inet6addr_event(struct n

RE: [PATCH 4/9] ocrdma: Driver for Emulex OneConnect RDMA adapter

2012-03-22 Thread Parav.Pandit
Inline. > -Original Message- > From: Hefty, Sean [mailto:sean.he...@intel.com] > Sent: Thursday, March 22, 2012 5:50 AM > To: Pandit, Parav; linux-rdma@vger.kernel.org > Subject: RE: [PATCH 4/9] ocrdma: Driver for Emulex OneConnect RDMA > adapter > > > +static inline void *ocrdma_get_eqe(s

RE: [PATCH 4/9] ocrdma: Driver for Emulex OneConnect RDMA adapter

2012-03-21 Thread Parav.Pandit
> -Original Message- > From: Roland Dreier [mailto:rol...@purestorage.com] > Sent: Thursday, March 22, 2012 1:02 AM > To: Pandit, Parav > Cc: linux-rdma@vger.kernel.org; net...@vger.kernel.org > Subject: Re: [PATCH 4/9] ocrdma: Driver for Emulex OneConnect RDMA > adapter > > On Wed, Mar

RE: [PATCH 6/9] ocrdma: Driver for Emulex OneConnect RDMA adapter

2012-03-21 Thread Parav.Pandit
> -Original Message- > From: Roland Dreier [mailto:rol...@purestorage.com] > Sent: Wednesday, March 21, 2012 10:13 PM > To: Pandit, Parav > Cc: linux-rdma@vger.kernel.org; net...@vger.kernel.org > Subject: Re: [PATCH 6/9] ocrdma: Driver for Emulex OneConnect RDMA > adapter > > > +struct

RE: [PATCH 4/9] ocrdma: Driver for Emulex OneConnect RDMA adapter

2012-03-21 Thread Parav.Pandit
> -Original Message- > From: Roland Dreier [mailto:rol...@purestorage.com] > Sent: Wednesday, March 21, 2012 10:04 PM > To: Pandit, Parav > Cc: linux-rdma@vger.kernel.org; net...@vger.kernel.org > Subject: Re: [PATCH 4/9] ocrdma: Driver for Emulex OneConnect RDMA > adapter > > > +int ocr

RE: [PATCH 3/9] ocrdma: Driver for Emulex OneConnect RDMA adapter

2012-03-21 Thread Parav.Pandit
> -Original Message- > From: Roland Dreier [mailto:rol...@purestorage.com] > Sent: Wednesday, March 21, 2012 9:56 PM > To: Pandit, Parav > Cc: linux-rdma@vger.kernel.org; net...@vger.kernel.org > Subject: Re: [PATCH 3/9] ocrdma: Driver for Emulex OneConnect RDMA > adapter > > > +/* mailb

RE: [PATCH 2/9] ocrdma: Driver for Emulex OneConnect RDMA adapter

2012-03-21 Thread Parav.Pandit
I see couple of comments on rsvd words. They were primarily not introduced for alignment. But there are other new features that we will be adding with new set of hardware and firmware updates. I don't want to change the user-kernel interface at such stage by modifying the size of the structure. F

RE: [PATCH 1/9] ocrdma: Driver for Emulex OneConnect RDMA adapter

2012-03-21 Thread Parav.Pandit
> -Original Message- > From: Roland Dreier [mailto:rol...@purestorage.com] > Sent: Wednesday, March 21, 2012 9:44 PM > To: Pandit, Parav > Cc: linux-rdma@vger.kernel.org; net...@vger.kernel.org > Subject: Re: [PATCH 1/9] ocrdma: Driver for Emulex OneConnect RDMA > adapter > > > +#define

RE: [PATCH 6/9] ocrdma: Driver for Emulex OneConnect RDMA adapter

2012-03-21 Thread Parav.Pandit
Inline. > -Original Message- > From: Roland Dreier [mailto:rol...@purestorage.com] > Sent: Wednesday, March 21, 2012 11:27 PM > To: frank zago > Cc: Pandit, Parav; linux-rdma@vger.kernel.org > Subject: Re: [PATCH 6/9] ocrdma: Driver for Emulex OneConnect RDMA > adapter > > On Wed, Mar 21,

[PATCH 8/9] ocrdma: Driver for Emulex OneConnect RDMA adapter

2012-03-20 Thread parav.pandit
From: Parav Pandit - build files for building ocrdma driver Signed-off-by: Parav Pandit --- drivers/infiniband/hw/ocrdma/Kconfig |8 drivers/infiniband/hw/ocrdma/Makefile |5 + 2 files changed, 13 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/ocr

[PATCH 9/9] ocrdma: Driver for Emulex OneConnect RDMA adapter

2012-03-20 Thread parav.pandit
From: Parav Pandit - top level build files to build ocrdma driver. Signed-off-by: Parav Pandit --- drivers/infiniband/Kconfig |1 + drivers/infiniband/Makefile |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig

[PATCH 7/9] ocrdma: Driver for Emulex OneConnect RDMA adapter

2012-03-20 Thread parav.pandit
From: Parav Pandit - address handle specific handling. Signed-off-by: Parav Pandit --- drivers/infiniband/hw/ocrdma/ocrdma_ah.c | 172 ++ drivers/infiniband/hw/ocrdma/ocrdma_ah.h | 42 +++ 2 files changed, 214 insertions(+), 0 deletions(-) create mode 100644

[PATCH 5/9] ocrdma: Driver for Emulex OneConnect RDMA adapter

2012-03-20 Thread parav.pandit
From: Parav Pandit Signed-off-by: Parav Pandit --- drivers/infiniband/hw/ocrdma/ocrdma_main.c | 558 1 files changed, 558 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/ocrdma/ocrdma_main.c diff --git a/drivers/infiniband/hw/ocrdma/ocrdma

[PATCH 3/9] ocrdma: Driver for Emulex OneConnect RDMA adapter

2012-03-20 Thread parav.pandit
From: Parav Pandit - Header file for driver-adapter interface. Signed-off-by: Parav Pandit --- drivers/infiniband/hw/ocrdma/ocrdma_sli.h | 1672 + 1 files changed, 1672 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/ocrdma/ocrdma_sli.h diff

[PATCH 2/9] ocrdma: Driver for Emulex OneConnect RDMA adapter

2012-03-20 Thread parav.pandit
From: Parav Pandit - Header file for userspace library and kernel driver interface. Signed-off-by: Parav Pandit --- drivers/infiniband/hw/ocrdma/ocrdma_abi.h | 134 + 1 files changed, 134 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/ocrdm

[PATCH 1/9] ocrdma: Driver for Emulex OneConnect RDMA adapter

2012-03-20 Thread parav.pandit
From: Parav Pandit - Header file for device and resource specific data structures. Signed-off-by: Parav Pandit --- drivers/infiniband/hw/ocrdma/ocrdma.h | 392 + 1 files changed, 392 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/ocrdma

[PATCH 0/9] ocrdma: Driver for Emulex OneConnect RDMA

2012-03-20 Thread parav.pandit
From: Parav Pandit Emulex One Connect Adapter is RDMA (RoCE) capable multi-function PCI Express device. This driver patch enables RoCE support on such adapter. This ocrdma driver depends on be2net NIC driver. This patch depends on the previously submitted be2net NIC driver patch. Code organizat

RE: [PATCH 0/2] ocrdma: Driver for Emulex OneConnect RDMA device.

2012-03-20 Thread Parav.Pandit
Ok. I'll resend it with smaller patches. Parav > -Original Message- > From: Roland Dreier [mailto:rol...@purestorage.com] > Sent: Tuesday, March 20, 2012 10:21 PM > To: Or Gerlitz > Cc: Pandit, Parav; linux-rdma@vger.kernel.org > Subject: Re: [PATCH 0/2] ocrdma: Driver for Emulex OneConnec

[PATCH 2/2] ocrdma: Driver for Emulex OneConnect RDMA device.

2012-03-20 Thread parav.pandit
From: Parav Pandit - Added entries to build ocrdma driver. Signed-off-by: Parav Pandit --- drivers/infiniband/Kconfig |1 + drivers/infiniband/Makefile |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig index eb

[PATCH 0/2] ocrdma: Driver for Emulex OneConnect RDMA device.

2012-03-20 Thread parav.pandit
From: Parav Pandit Emulex One Connect Adapter is RDMA (RoCE) capable multi-function PCI Express device. This driver patch enables RoCE support on such adapter. This ocrdma driver depends on be2net NIC driver. This patch depends on the previously submitted be2net NIC driver patch. Code organizat

[PATCH V1 1/2] be2net: Added function to issue mailbox cmd on MQ.

2012-03-10 Thread parav.pandit
From: Parav Pandit - Added generic function to issue mailbox cmd on MQ as export function. - RoCE driver will use this before it setups its own MQ. Signed-off-by: Parav Pandit --- drivers/net/ethernet/emulex/benet/be_cmds.c | 39 +++ 1 files changed, 39 insertions(+),

[PATCH V1 2/2] be2net: Added functionality to support RoCE driver

2012-03-10 Thread parav.pandit
From: Parav Pandit - Increased MSIX vectors by 5 for RoCE traffic. - Added macro to check roce support on a device. - Added device specific doorbell, msix vector fields shared with nic functionality. - Provides RoCE driver registration and deregistration functions. - Added support functions whic

[PATCH V1 0/2] be2net: Added functionality to support RoCE driver

2012-03-10 Thread parav.pandit
From: Parav Pandit This patch addresses all the review comments given by Francois Romieu & David Laight for past patch except be_roce_supported() macro as it breaks the modularity of be_cmds.x This patch adds functionality to support RoCE (RDMA over Ethernet) driver. - Detecting RoCE supported a

RE: [RFC 0/2] be2net: Added functionality to support RoCE driver

2012-03-07 Thread Parav.Pandit
-Original Message- From: Roland Dreier [mailto:rol...@purestorage.com] Sent: Thursday, March 08, 2012 12:32 AM To: Pandit, Parav; David Miller Cc: net...@vger.kernel.org; linux-rdma@vger.kernel.org Subject: Re: [RFC 0/2] be2net: Added functionality to support RoCE driver On Wed, Mar 7,

[PATCH 2/2] be2net: Added functionality to support RoCE driver

2012-03-07 Thread parav.pandit
From: Parav Pandit - Increased MSIX vectors by 5 for RoCE traffic. - Added macro to check roce support on a device. - Added device specific doorbell, msix vector fields shared with nic functionality. - Provides RoCE driver registration and deregistration functions. - Added support functions whic

[PATCH 0/2] be2net: Added functionality to support RoCE driver

2012-03-07 Thread parav.pandit
From: Parav Pandit This patch adds functionality to support RoCE (RDMA over Ethernet) driver. - Detecting RoCE supported adapters and creating linked list of them. - Enabling 5 more MSIX vectors for RoCE functionality. - Calling registered callback functions of the RoCE driver whenever new RoCE

[PATCH 1/2] be2net: Added function to issue mailbox cmd on MQ.

2012-03-07 Thread parav.pandit
From: Parav Pandit - Added generic function to issue mailbox cmd on MQ as export function. - RoCE driver will use this before it setups its own MQ. Signed-off-by: Parav Pandit --- drivers/net/ethernet/emulex/benet/be_cmds.c | 39 +++ 1 files changed, 39 insertions(+),

RE: [PATCH] RDMA/cxgb4: Unblock reads on comp_channel

2011-10-20 Thread Parav.Pandit
You are right, cq_lock will result into dead lock. Should there be a additional compl_handler spin_lock? I was measuring performance impact for adding it, and, irq_save() and irq_restore() variant showed additional 200 cycles, which I believe should be o.k.? Parav -Original Message- Fro

RE: [PATCH] RDMA/cxgb4: Unblock reads on comp_channel

2011-10-20 Thread Parav.Pandit
http://lxr.linux.no/#linux+v3.0.4/Documentation/infiniband/core_locking.txt Line no 66 to 97 states that - at a given point of time, there should be only one callback per CQ should be active. Is this ensured? compl_handler() is invoked from multiple places flush_qp() and post_qp_event() to my m

RE: create new library project and few queries to open source

2011-10-13 Thread Parav.Pandit
Thanks Roland for your quick inputs. I am able to clone your github for-next branch. I'll be checkin to your branch soon. Parav -Original Message- From: Roland Dreier [mailto:rol...@purestorage.com] Sent: Thursday, October 13, 2011 11:02 PM To: Pandit, Parav Cc: linux-rdma@vger.kernel.or

create new library project and few queries to open source

2011-10-13 Thread Parav.Pandit
Hi, 1. I would like to submit user space library for a new RDMA adapter. Can you please do needful for creating empty project under http://git.openfabrics.org/git/projects/~ppandit/libocrdma.git? 2. For adding hardware driver for a new RDMA adapter, to which git tree(s) do I need to submit patc