Re: [PATCH 02/16] NTB Abstraction Layer

From: Paul Bolle
Date: Thu May 21 2015 - 04:52:08 EST


On Wed, 2015-05-20 at 11:41 -0400, Allen Hubbe wrote:
> Documentation/ntb.txt | 58 +
> MAINTAINERS | 14 +-
> drivers/net/ntb_netdev.c | 58 +-
> drivers/ntb/Kconfig | 20 +-
> drivers/ntb/Makefile | 4 +-
> drivers/ntb/hw/Kconfig | 1 +
> drivers/ntb/hw/Makefile | 1 +
> drivers/ntb/hw/intel/Kconfig | 8 +
> drivers/ntb/hw/intel/Makefile | 1 +
> drivers/ntb/hw/intel/ntb_hw_intel.c | 3108 +++++++++++++++++++----------------
> drivers/ntb/hw/intel/ntb_hw_intel.h | 591 +++----
> drivers/ntb/ntb.c | 251 +++
> drivers/ntb/ntb_transport.c | 927 ++++++-----
> include/linux/ntb.h | 983 +++++++++++
> include/linux/ntb_transport.h | 25 +-
> 15 files changed, 3873 insertions(+), 2177 deletions(-)
> create mode 100644 Documentation/ntb.txt
> create mode 100644 drivers/ntb/hw/Kconfig
> create mode 100644 drivers/ntb/hw/Makefile
> create mode 100644 drivers/ntb/hw/intel/Kconfig
> create mode 100644 drivers/ntb/hw/intel/Makefile
> create mode 100644 drivers/ntb/ntb.c
> create mode 100644 include/linux/ntb.h

(My mailer tells me this message is over 200KB in size. Did you consider
offering bribes to get people to review this patch?)

I just spotted two nits.

> --- a/drivers/ntb/Kconfig
> +++ b/drivers/ntb/Kconfig
>
> +if NTB
> +
> +source "drivers/ntb/hw/Kconfig"
> +
> +config NTB_TRANSPORT
> + tristate "NTB Transport Client"
> + depends on NTB

Superfluous dependency.

> + help
> + This is a transport driver that enables connected systems to exchange
> + messages over the ntb hardware. The transport exposes a queue pair api
> + to client drivers.
> +
> + If unsure, say N.
> +
> +endif # NTB

> --- /dev/null
> +++ b/drivers/ntb/hw/intel/Kconfig

> +config NTB_INTEL
> + tristate "Intel Non-Transparent Bridge support"
> + depends on NTB

Ditto.

> + depends on X86
> + help
> + This driver supports Intel NTB on capable Xeon and Atom hardware.
> +
> + If unsure, say N.

Thanks,


Paul Bolle

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/