* [PATCH net-next 0/2] sfc: Add 40G support
@ 2014-07-14 7:37 Shradha Shah
2014-07-14 7:38 ` [PATCH net-next 1/2] sfc: Adding PCI ID for Solarflare 7000 series 40G network adapter Shradha Shah
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Shradha Shah @ 2014-07-14 7:37 UTC (permalink / raw)
To: David Miller; +Cc: netdev, linux-net-drivers
This patch series adds support for Solarflare 7000 series
40G Solarflare network adapters starting with the SFN7X42Q.
Edward Cree (1):
sfc: Add 40G link capability decoding
Mateusz Wrzesinski (1):
sfc: Adding PCI ID for Solarflare 7000 series 40G network adapter.
drivers/net/ethernet/sfc/efx.c | 2 ++
drivers/net/ethernet/sfc/mcdi_port.c | 11 +++++++++++
2 files changed, 13 insertions(+)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH net-next 1/2] sfc: Adding PCI ID for Solarflare 7000 series 40G network adapter.
2014-07-14 7:37 [PATCH net-next 0/2] sfc: Add 40G support Shradha Shah
@ 2014-07-14 7:38 ` Shradha Shah
2014-07-14 7:39 ` [PATCH net-next 2/2] sfc: Add 40G link capability decoding Shradha Shah
2014-07-15 2:12 ` [PATCH net-next 0/2] sfc: Add 40G support David Miller
2 siblings, 0 replies; 4+ messages in thread
From: Shradha Shah @ 2014-07-14 7:38 UTC (permalink / raw)
To: David Miller; +Cc: netdev, linux-net-drivers
From: Mateusz Wrzesinski <mwrzesinski@solarflare.com>
Signed-off-by: Shradha Shah <sshah@solarflare.com>
---
drivers/net/ethernet/sfc/efx.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ethernet/sfc/efx.c b/drivers/net/ethernet/sfc/efx.c
index 1e27404..2d86224 100644
--- a/drivers/net/ethernet/sfc/efx.c
+++ b/drivers/net/ethernet/sfc/efx.c
@@ -2607,6 +2607,8 @@ static DEFINE_PCI_DEVICE_TABLE(efx_pci_table) = {
.driver_data = (unsigned long) &siena_a0_nic_type},
{PCI_DEVICE(PCI_VENDOR_ID_SOLARFLARE, 0x0903), /* SFC9120 PF */
.driver_data = (unsigned long) &efx_hunt_a0_nic_type},
+ {PCI_DEVICE(PCI_VENDOR_ID_SOLARFLARE, 0x0923), /* SFC9140 PF */
+ .driver_data = (unsigned long) &efx_hunt_a0_nic_type},
{0} /* end of list */
};
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH net-next 2/2] sfc: Add 40G link capability decoding
2014-07-14 7:37 [PATCH net-next 0/2] sfc: Add 40G support Shradha Shah
2014-07-14 7:38 ` [PATCH net-next 1/2] sfc: Adding PCI ID for Solarflare 7000 series 40G network adapter Shradha Shah
@ 2014-07-14 7:39 ` Shradha Shah
2014-07-15 2:12 ` [PATCH net-next 0/2] sfc: Add 40G support David Miller
2 siblings, 0 replies; 4+ messages in thread
From: Shradha Shah @ 2014-07-14 7:39 UTC (permalink / raw)
To: David Miller; +Cc: netdev, linux-net-drivers
From: Edward Cree <ecree@solarflare.com>
Needed to select 40G mode on a 10G/40G capable card.
Signed-off-by: Shradha Shah <sshah@solarflare.com>
---
drivers/net/ethernet/sfc/mcdi_port.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/drivers/net/ethernet/sfc/mcdi_port.c b/drivers/net/ethernet/sfc/mcdi_port.c
index e5fc4e1..fb19b70 100644
--- a/drivers/net/ethernet/sfc/mcdi_port.c
+++ b/drivers/net/ethernet/sfc/mcdi_port.c
@@ -183,6 +183,8 @@ static u32 mcdi_to_ethtool_cap(u32 media, u32 cap)
result |= SUPPORTED_1000baseKX_Full;
if (cap & (1 << MC_CMD_PHY_CAP_10000FDX_LBN))
result |= SUPPORTED_10000baseKX4_Full;
+ if (cap & (1 << MC_CMD_PHY_CAP_40000FDX_LBN))
+ result |= SUPPORTED_40000baseKR4_Full;
break;
case MC_CMD_MEDIA_XFP:
@@ -190,6 +192,12 @@ static u32 mcdi_to_ethtool_cap(u32 media, u32 cap)
result |= SUPPORTED_FIBRE;
break;
+ case MC_CMD_MEDIA_QSFP_PLUS:
+ result |= SUPPORTED_FIBRE;
+ if (cap & (1 << MC_CMD_PHY_CAP_40000FDX_LBN))
+ result |= SUPPORTED_40000baseCR4_Full;
+ break;
+
case MC_CMD_MEDIA_BASE_T:
result |= SUPPORTED_TP;
if (cap & (1 << MC_CMD_PHY_CAP_10HDX_LBN))
@@ -237,6 +245,8 @@ static u32 ethtool_to_mcdi_cap(u32 cap)
result |= (1 << MC_CMD_PHY_CAP_1000FDX_LBN);
if (cap & (SUPPORTED_10000baseT_Full | SUPPORTED_10000baseKX4_Full))
result |= (1 << MC_CMD_PHY_CAP_10000FDX_LBN);
+ if (cap & (SUPPORTED_40000baseCR4_Full | SUPPORTED_40000baseKR4_Full))
+ result |= (1 << MC_CMD_PHY_CAP_40000FDX_LBN);
if (cap & SUPPORTED_Pause)
result |= (1 << MC_CMD_PHY_CAP_PAUSE_LBN);
if (cap & SUPPORTED_Asym_Pause)
@@ -285,6 +295,7 @@ static u32 mcdi_to_ethtool_media(u32 media)
case MC_CMD_MEDIA_XFP:
case MC_CMD_MEDIA_SFP_PLUS:
+ case MC_CMD_MEDIA_QSFP_PLUS:
return PORT_FIBRE;
case MC_CMD_MEDIA_BASE_T:
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH net-next 0/2] sfc: Add 40G support
2014-07-14 7:37 [PATCH net-next 0/2] sfc: Add 40G support Shradha Shah
2014-07-14 7:38 ` [PATCH net-next 1/2] sfc: Adding PCI ID for Solarflare 7000 series 40G network adapter Shradha Shah
2014-07-14 7:39 ` [PATCH net-next 2/2] sfc: Add 40G link capability decoding Shradha Shah
@ 2014-07-15 2:12 ` David Miller
2 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2014-07-15 2:12 UTC (permalink / raw)
To: sshah; +Cc: netdev, linux-net-drivers
From: Shradha Shah <sshah@solarflare.com>
Date: Mon, 14 Jul 2014 08:37:06 +0100
> This patch series adds support for Solarflare 7000 series
> 40G Solarflare network adapters starting with the SFN7X42Q.
Applied, thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-07-15 2:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-14 7:37 [PATCH net-next 0/2] sfc: Add 40G support Shradha Shah
2014-07-14 7:38 ` [PATCH net-next 1/2] sfc: Adding PCI ID for Solarflare 7000 series 40G network adapter Shradha Shah
2014-07-14 7:39 ` [PATCH net-next 2/2] sfc: Add 40G link capability decoding Shradha Shah
2014-07-15 2:12 ` [PATCH net-next 0/2] sfc: Add 40G support David Miller
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.