Re: [RFC 00/11] QLogic RDMA Driver (qedr) RFC

2 messages, 2 authors, 2016-09-12 · open the first message on its own page

Re: [RFC 00/11] QLogic RDMA Driver (qedr) RFC

From: Parav Pandit <hidden>
Date: 2016-09-12 16:49:18

On Mon, Sep 12, 2016 at 10:09 PM, Leon Romanovsky [off-list ref] wrote:
On Mon, Sep 12, 2016 at 07:07:34PM +0300, Ram Amrani wrote:
quoted
 include/linux/qed/common_hsi.h                 |    1 +
 include/linux/qed/qed_if.h                     |    9 +-
 include/linux/qed/qed_ll2_if.h                 |  140 +
 include/linux/qed/qed_roce_if.h                |  604 ++++
 include/linux/qed/qede_roce.h                  |   88 +
 include/linux/qed/rdma_common.h                |    1 +
Something not directly related to your patches, but they brought my
attention to the fact that all these new (and old) rdma<->net devices
are polluting include/linux
ocrdma driver includes be_roce.h located in net/ethernet/emulex/benet
location instead of include/linux/.
This file helps to bind rdma to net device or underlying hw device.

May be similar change can be done for rest of the drivers for
rdma<-->net devices?

Filtered output:
➜  linux-rdma git:(topic/fixes-for-4.8-2) ls -dl include/linux/*/
drwxrwxr-x  2 leonro leonro  4096 Aug 30 16:27 include/linux/hsi/
drwxrwxr-x  2 leonro leonro  4096 Sep 12 19:08 include/linux/mlx4/
drwxrwxr-x  2 leonro leonro  4096 Sep  7 15:31 include/linux/mlx5/
drwxrwxr-x  2 leonro leonro  4096 Sep  8 17:46 include/linux/qed/

Is this the right place for them?

Thanks
--
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

Re: [RFC 00/11] QLogic RDMA Driver (qedr) RFC

From: Yuval Mintz <hidden>
Date: 2016-09-12 17:39:38

quoted
quoted
 include/linux/qed/common_hsi.h                 |    1 +
 include/linux/qed/qed_if.h                     |    9 +-
 include/linux/qed/qed_ll2_if.h                 |  140 +
 include/linux/qed/qed_roce_if.h                |  604 ++++
 include/linux/qed/qede_roce.h                  |   88 +
include/linux/qed/rdma_common.h                |    1 +
Something not directly related to your patches, but they brought my
attention to the fact that all these new (and old) rdma<->net devices
are polluting include/linux
ocrdma driver includes be_roce.h located in net/ethernet/emulex/benet
location instead of include/linux/.
This file helps to bind rdma to net device or underlying hw device.
May be similar change can be done for rest of the drivers for
rdma<-->net devices?
By adding explicit inclusion paths in the Makefile, a la
ccflags-y := -Idrivers/net/ethernet/emulex/benet   ?

While this might work, I personally dislike it as I find it
counter-intuitive when going over the code -
I don't expect driver to locally modify the inclusion path.
Besides, we're going to [eventually] a whole suite of drivers based
on the qed module, some of which would reside under drivers/scsi;
Not sure it's best to have 3 or 4 different drivers privately include the
same directory under a different subsystem.
quoted
Filtered output:
➜  linux-rdma git:(topic/fixes-for-4.8-2) ls -dl include/linux/*/
drwxrwxr-x  2 leonro leonro  4096 Aug 30 16:27 include/linux/hsi/
drwxrwxr-x  2 leonro leonro  4096 Sep 12 19:08 include/linux/mlx4/
drwxrwxr-x  2 leonro leonro  4096 Sep  7 15:31 include/linux/mlx5/
drwxrwxr-x  2 leonro leonro  4096 Sep  8 17:46 include/linux/qed/

Is this the right place for them?
Thanks
     
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help