netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [patch v2 1/2] Allow Mellanox switch devices to be configured if only I2C bus is set
  2017-08-14 15:38 ` [patch v2 1/2] Allow Mellanox switch devices to be configured if only I2C bus is set Ohad Oz
@ 2017-08-14 13:55   ` Jiri Pirko
  0 siblings, 0 replies; 6+ messages in thread
From: Jiri Pirko @ 2017-08-14 13:55 UTC (permalink / raw)
  To: Ohad Oz; +Cc: davem, netdev, saeedm, vadimp, system-sw-low-level

Mon, Aug 14, 2017 at 05:38:21PM CEST, ohado@mellanox.com wrote:
>Mellanox switches (mlxsw) supports I2C systems without PCI, in order to
>give the ability to the users to use such functionality, there is need
>to update Kconfig.
>
>Signed-off-by: Ohad Oz <ohado@mellanox.com>
>Acked-by: Leon Romanovsky <leonro@mellanox.com>

Acked-by: Jiri Pirko <jiri@mellanox.com>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [patch v2 2/2] Change Kconfig description
  2017-08-14 15:38 ` [patch v2 2/2] Change Kconfig description Ohad Oz
@ 2017-08-14 13:55   ` Jiri Pirko
  0 siblings, 0 replies; 6+ messages in thread
From: Jiri Pirko @ 2017-08-14 13:55 UTC (permalink / raw)
  To: Ohad Oz; +Cc: davem, netdev, saeedm, vadimp, system-sw-low-level

Mon, Aug 14, 2017 at 05:38:22PM CEST, ohado@mellanox.com wrote:
>This patch apply Mellanox network vendor which includes:
>- Mellanox card devices: ConnectX-4, ConnectX-5 and Connect-IB cards.
>- Mellanox switch device: SwitchX-2 Switch-IB, Spectrum.
>Therefore rephrasing help.
>
>Signed-off-by: Ohad Oz <ohado@mellanox.com>
>Acked-by: Leon Romanovsky <leonro@mellanox.com>

Acked-by: Jiri Pirko <jiri@mellanox.com>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [patch v2 0/2] Enable Mellanox switch device in I2C mode
@ 2017-08-14 15:38 Ohad Oz
  2017-08-14 15:38 ` [patch v2 1/2] Allow Mellanox switch devices to be configured if only I2C bus is set Ohad Oz
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Ohad Oz @ 2017-08-14 15:38 UTC (permalink / raw)
  To: davem; +Cc: netdev, jiri, saeedm, vadimp, system-sw-low-level, Ohad Oz

The following patch set updates global to Mellanox Kconfig files to support
configuration of Mellanox Switch (mlxsw) without PCI and with I2C only.

Ohad Oz (2):
  Allow Mellanox switch devices to be configured if only I2C bus is set
  Change Kconfig description

 drivers/net/ethernet/mellanox/Kconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [patch v2 1/2] Allow Mellanox switch devices to be configured if only I2C bus is set
  2017-08-14 15:38 [patch v2 0/2] Enable Mellanox switch device in I2C mode Ohad Oz
@ 2017-08-14 15:38 ` Ohad Oz
  2017-08-14 13:55   ` Jiri Pirko
  2017-08-14 15:38 ` [patch v2 2/2] Change Kconfig description Ohad Oz
  2017-08-14 18:18 ` [patch v2 0/2] Enable Mellanox switch device in I2C mode David Miller
  2 siblings, 1 reply; 6+ messages in thread
From: Ohad Oz @ 2017-08-14 15:38 UTC (permalink / raw)
  To: davem; +Cc: netdev, jiri, saeedm, vadimp, system-sw-low-level, Ohad Oz

Mellanox switches (mlxsw) supports I2C systems without PCI, in order to
give the ability to the users to use such functionality, there is need
to update Kconfig.

Signed-off-by: Ohad Oz <ohado@mellanox.com>
Acked-by: Leon Romanovsky <leonro@mellanox.com>
---
v1->v2
Comments pointed out by Leon Romanovsky <leonro@mellanox.com>
- Rephrase change description.
---
 drivers/net/ethernet/mellanox/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/mellanox/Kconfig b/drivers/net/ethernet/mellanox/Kconfig
index 84a2007..0949741 100644
--- a/drivers/net/ethernet/mellanox/Kconfig
+++ b/drivers/net/ethernet/mellanox/Kconfig
@@ -5,7 +5,7 @@
 config NET_VENDOR_MELLANOX
 	bool "Mellanox devices"
 	default y
-	depends on PCI
+	depends on PCI || I2C
 	---help---
 	  If you have a network (Ethernet) card belonging to this class, say Y.
 
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [patch v2 2/2] Change Kconfig description
  2017-08-14 15:38 [patch v2 0/2] Enable Mellanox switch device in I2C mode Ohad Oz
  2017-08-14 15:38 ` [patch v2 1/2] Allow Mellanox switch devices to be configured if only I2C bus is set Ohad Oz
@ 2017-08-14 15:38 ` Ohad Oz
  2017-08-14 13:55   ` Jiri Pirko
  2017-08-14 18:18 ` [patch v2 0/2] Enable Mellanox switch device in I2C mode David Miller
  2 siblings, 1 reply; 6+ messages in thread
From: Ohad Oz @ 2017-08-14 15:38 UTC (permalink / raw)
  To: davem; +Cc: netdev, jiri, saeedm, vadimp, system-sw-low-level, Ohad Oz

This patch apply Mellanox network vendor which includes:
- Mellanox card devices: ConnectX-4, ConnectX-5 and Connect-IB cards.
- Mellanox switch device: SwitchX-2 Switch-IB, Spectrum.
Therefore rephrasing help.

Signed-off-by: Ohad Oz <ohado@mellanox.com>
Acked-by: Leon Romanovsky <leonro@mellanox.com>
---
v1->v2
Comments pointed out by Leon Romanovsky <leonro@mellanox.com>
- Include RDMA as part of mlnx network devices.
- Rephrase change description
---
 drivers/net/ethernet/mellanox/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/mellanox/Kconfig b/drivers/net/ethernet/mellanox/Kconfig
index 0949741..872548c 100644
--- a/drivers/net/ethernet/mellanox/Kconfig
+++ b/drivers/net/ethernet/mellanox/Kconfig
@@ -7,7 +7,8 @@ config NET_VENDOR_MELLANOX
 	default y
 	depends on PCI || I2C
 	---help---
-	  If you have a network (Ethernet) card belonging to this class, say Y.
+	  If you have a network (Ethernet or RDMA) device belonging to this
+	  class, say Y.
 
 	  Note that the answer to this question doesn't directly affect the
 	  kernel: saying N will just cause the configurator to skip all
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [patch v2 0/2] Enable Mellanox switch device in I2C mode
  2017-08-14 15:38 [patch v2 0/2] Enable Mellanox switch device in I2C mode Ohad Oz
  2017-08-14 15:38 ` [patch v2 1/2] Allow Mellanox switch devices to be configured if only I2C bus is set Ohad Oz
  2017-08-14 15:38 ` [patch v2 2/2] Change Kconfig description Ohad Oz
@ 2017-08-14 18:18 ` David Miller
  2 siblings, 0 replies; 6+ messages in thread
From: David Miller @ 2017-08-14 18:18 UTC (permalink / raw)
  To: ohado; +Cc: netdev, jiri, saeedm, vadimp, system-sw-low-level

From: Ohad Oz <ohado@mellanox.com>
Date: Mon, 14 Aug 2017 15:38:20 +0000

> The following patch set updates global to Mellanox Kconfig files to support
> configuration of Mellanox Switch (mlxsw) without PCI and with I2C only.

Series applied to net-next.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-08-14 18:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-14 15:38 [patch v2 0/2] Enable Mellanox switch device in I2C mode Ohad Oz
2017-08-14 15:38 ` [patch v2 1/2] Allow Mellanox switch devices to be configured if only I2C bus is set Ohad Oz
2017-08-14 13:55   ` Jiri Pirko
2017-08-14 15:38 ` [patch v2 2/2] Change Kconfig description Ohad Oz
2017-08-14 13:55   ` Jiri Pirko
2017-08-14 18:18 ` [patch v2 0/2] Enable Mellanox switch device in I2C mode David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).