DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/2] add support for 25G variant of CN23XX adapter
@ 2017-04-19  7:26 Shijith Thotton
  2017-04-19  7:26 ` [dpdk-dev] [PATCH 1/2] net/liquidio: add support for 25G link speed Shijith Thotton
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Shijith Thotton @ 2017-04-19  7:26 UTC (permalink / raw)
  To: Ferruh Yigit; +Cc: dev

Current LiquidIO PMD only supports 10G link speed. A 25G variant of
LiquidIO II CN23XX is available and this series adds support for that.

Shijith Thotton (2):
  net/liquidio: add support for 25G link speed
  doc: update supported liquidio adapters

 doc/guides/nics/liquidio.rst      | 4 ++--
 drivers/net/liquidio/lio_ethdev.c | 3 +++
 drivers/net/liquidio/lio_ethdev.h | 3 ++-
 3 files changed, 7 insertions(+), 3 deletions(-)

-- 
1.8.3.1

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

* [dpdk-dev] [PATCH 1/2] net/liquidio: add support for 25G link speed
  2017-04-19  7:26 [dpdk-dev] [PATCH 0/2] add support for 25G variant of CN23XX adapter Shijith Thotton
@ 2017-04-19  7:26 ` Shijith Thotton
  2017-04-19  7:26 ` [dpdk-dev] [PATCH 2/2] doc: update supported liquidio adapters Shijith Thotton
  2017-04-19 11:31 ` [dpdk-dev] [PATCH 0/2] add support for 25G variant of CN23XX adapter Ferruh Yigit
  2 siblings, 0 replies; 4+ messages in thread
From: Shijith Thotton @ 2017-04-19  7:26 UTC (permalink / raw)
  To: Ferruh Yigit; +Cc: dev

Add case to handle 25G link speed and thereby support
LiquidIO II CN23XX 225SV (2x25G) adapter.

Signed-off-by: Shijith Thotton <shijith.thotton@caviumnetworks.com>
---
 drivers/net/liquidio/lio_ethdev.c | 3 +++
 drivers/net/liquidio/lio_ethdev.h | 3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/drivers/net/liquidio/lio_ethdev.c b/drivers/net/liquidio/lio_ethdev.c
index 0c78afb..436d25b 100644
--- a/drivers/net/liquidio/lio_ethdev.c
+++ b/drivers/net/liquidio/lio_ethdev.c
@@ -937,6 +937,9 @@ struct rte_lio_xstats_name_off {
 	case LIO_LINK_SPEED_10000:
 		link.link_speed = ETH_SPEED_NUM_10G;
 		break;
+	case LIO_LINK_SPEED_25000:
+		link.link_speed = ETH_SPEED_NUM_25G;
+		break;
 	default:
 		link.link_speed = ETH_SPEED_NUM_NONE;
 		link.link_duplex = ETH_LINK_HALF_DUPLEX;
diff --git a/drivers/net/liquidio/lio_ethdev.h b/drivers/net/liquidio/lio_ethdev.h
index ee30615..655c201 100644
--- a/drivers/net/liquidio/lio_ethdev.h
+++ b/drivers/net/liquidio/lio_ethdev.h
@@ -52,7 +52,8 @@ struct lio_dev_ctrl_cmd {
 
 enum lio_bus_speed {
 	LIO_LINK_SPEED_UNKNOWN  = 0,
-	LIO_LINK_SPEED_10000    = 10000
+	LIO_LINK_SPEED_10000    = 10000,
+	LIO_LINK_SPEED_25000    = 25000
 };
 
 struct octeon_if_cfg_info {
-- 
1.8.3.1

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

* [dpdk-dev] [PATCH 2/2] doc: update supported liquidio adapters
  2017-04-19  7:26 [dpdk-dev] [PATCH 0/2] add support for 25G variant of CN23XX adapter Shijith Thotton
  2017-04-19  7:26 ` [dpdk-dev] [PATCH 1/2] net/liquidio: add support for 25G link speed Shijith Thotton
@ 2017-04-19  7:26 ` Shijith Thotton
  2017-04-19 11:31 ` [dpdk-dev] [PATCH 0/2] add support for 25G variant of CN23XX adapter Ferruh Yigit
  2 siblings, 0 replies; 4+ messages in thread
From: Shijith Thotton @ 2017-04-19  7:26 UTC (permalink / raw)
  To: Ferruh Yigit; +Cc: dev

Add CN23XX 225SV to the list of supported LiquidIO adapters.

Signed-off-by: Shijith Thotton <shijith.thotton@caviumnetworks.com>
---
 doc/guides/nics/liquidio.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/guides/nics/liquidio.rst b/doc/guides/nics/liquidio.rst
index b7c80c5..f04cb16 100644
--- a/doc/guides/nics/liquidio.rst
+++ b/doc/guides/nics/liquidio.rst
@@ -41,8 +41,8 @@ More information can be found at `Cavium Official Website
 Supported LiquidIO Adapters
 -----------------------------
 
-- LiquidIO II CN2350 210SV
-- LiquidIO II CN2360 210SV
+- LiquidIO II CN2350 210SV/225SV
+- LiquidIO II CN2360 210SV/225SV
 
 
 Pre-Installation Configuration
-- 
1.8.3.1

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

* Re: [dpdk-dev] [PATCH 0/2] add support for 25G variant of CN23XX adapter
  2017-04-19  7:26 [dpdk-dev] [PATCH 0/2] add support for 25G variant of CN23XX adapter Shijith Thotton
  2017-04-19  7:26 ` [dpdk-dev] [PATCH 1/2] net/liquidio: add support for 25G link speed Shijith Thotton
  2017-04-19  7:26 ` [dpdk-dev] [PATCH 2/2] doc: update supported liquidio adapters Shijith Thotton
@ 2017-04-19 11:31 ` Ferruh Yigit
  2 siblings, 0 replies; 4+ messages in thread
From: Ferruh Yigit @ 2017-04-19 11:31 UTC (permalink / raw)
  To: Shijith Thotton; +Cc: dev

On 4/19/2017 8:26 AM, Shijith Thotton wrote:
> Current LiquidIO PMD only supports 10G link speed. A 25G variant of
> LiquidIO II CN23XX is available and this series adds support for that.
> 
> Shijith Thotton (2):
>   net/liquidio: add support for 25G link speed
>   doc: update supported liquidio adapters

Series applied to dpdk-next-net/master, thanks.

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

end of thread, other threads:[~2017-04-19 11:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-19  7:26 [dpdk-dev] [PATCH 0/2] add support for 25G variant of CN23XX adapter Shijith Thotton
2017-04-19  7:26 ` [dpdk-dev] [PATCH 1/2] net/liquidio: add support for 25G link speed Shijith Thotton
2017-04-19  7:26 ` [dpdk-dev] [PATCH 2/2] doc: update supported liquidio adapters Shijith Thotton
2017-04-19 11:31 ` [dpdk-dev] [PATCH 0/2] add support for 25G variant of CN23XX adapter Ferruh Yigit

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).