[dpdk-web] [PATCH v3 3/5] simplify NICs list

Thomas Monjalon thomas at monjalon.net
Wed Nov 21 01:11:15 CET 2018


The weight metadata is replaced by sorting by name,
with hardware devices first.
An index is added in NICs directory in order to list them separately.

The software devices (including paravirtualization) are now visible
in the menu.

The description (details of each vendor) is removed
because it was not formatted and looked messy.

Doc about the shortcode "children":
	https://docdock.netlify.com/shortcodes/children/

Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
---
 content/supported/_index.md             | 3 ++-
 content/supported/nics/_index.md        | 4 ++++
 content/supported/nics/amazon.md        | 1 -
 content/supported/nics/atomicrules.md   | 1 -
 content/supported/nics/broadcom.md      | 1 -
 content/supported/nics/cavium.md        | 1 -
 content/supported/nics/chelsio.md       | 1 -
 content/supported/nics/cisco.md         | 1 -
 content/supported/nics/intel.md         | 1 -
 content/supported/nics/marvell.md       | 1 -
 content/supported/nics/mellanox.md      | 1 -
 content/supported/nics/netcope.md       | 1 -
 content/supported/nics/netronome.md     | 1 -
 content/supported/nics/nxp.md           | 1 -
 content/supported/nics/solarflare.md    | 1 -
 content/supported/others.md             | 4 +---
 content/supported/paravirtualization.md | 2 --
 17 files changed, 7 insertions(+), 19 deletions(-)
 create mode 100644 content/supported/nics/_index.md

diff --git a/content/supported/_index.md b/content/supported/_index.md
index cdc7ff8..4046c18 100644
--- a/content/supported/_index.md
+++ b/content/supported/_index.md
@@ -10,4 +10,5 @@ Features supported by the drivers can be checked in the
 [networking drivers matrix](http://doc.dpdk.org/guides/nics/overview.html#id1).
 {{% /notice %}}
 
-{{% children style="card" showhidden="true" sort="weight" description="true" %}}
+{{% children style="card" page="supported/nics" showhidden="true" sort="name" %}}
+{{% children style="card" sort="name" %}}
diff --git a/content/supported/nics/_index.md b/content/supported/nics/_index.md
new file mode 100644
index 0000000..d4d49bd
--- /dev/null
+++ b/content/supported/nics/_index.md
@@ -0,0 +1,4 @@
++++
+title = "Hardware NICs"
+hidden = true
++++
diff --git a/content/supported/nics/amazon.md b/content/supported/nics/amazon.md
index fe91484..0715c47 100644
--- a/content/supported/nics/amazon.md
+++ b/content/supported/nics/amazon.md
@@ -1,7 +1,6 @@
 +++
 title = "Amazon"
 hidden = true
-weight = "1"
 +++
 
 - [ena (Elastic Network Adapter)](http://doc.dpdk.org/guides/nics/ena.html)
diff --git a/content/supported/nics/atomicrules.md b/content/supported/nics/atomicrules.md
index b261719..470a6ba 100644
--- a/content/supported/nics/atomicrules.md
+++ b/content/supported/nics/atomicrules.md
@@ -1,7 +1,6 @@
 +++
 title = "Atomic Rules"
 hidden = true
-weight = "2"
 +++
 
 - [ark](http://doc.dpdk.org/guides/nics/ark.html) (Arkville Packet Conduit FX0/FX1)
diff --git a/content/supported/nics/broadcom.md b/content/supported/nics/broadcom.md
index dbfae3d..f4c4b8d 100644
--- a/content/supported/nics/broadcom.md
+++ b/content/supported/nics/broadcom.md
@@ -1,7 +1,6 @@
 +++
 title = "Broadcom"
 hidden = true
-weight = "3"
 +++
 
 - [bnxt](http://doc.dpdk.org/guides/nics/bnxt.html) (NetXtreme-C, NetXtreme-E, StrataGX)
diff --git a/content/supported/nics/cavium.md b/content/supported/nics/cavium.md
index 462f967..0c1714c 100644
--- a/content/supported/nics/cavium.md
+++ b/content/supported/nics/cavium.md
@@ -1,7 +1,6 @@
 +++
 title = "Cavium"
 hidden = true
-weight = "4"
 +++
 
 - [thunderx](http://doc.dpdk.org/guides/nics/thunderx.html) (CN88XX)
diff --git a/content/supported/nics/chelsio.md b/content/supported/nics/chelsio.md
index 27f368c..67973bd 100644
--- a/content/supported/nics/chelsio.md
+++ b/content/supported/nics/chelsio.md
@@ -1,7 +1,6 @@
 +++
 title = "Chelsio"
 hidden = true
-weight = "5"
 +++
 
 - [cxgbe](http://doc.dpdk.org/guides/nics/cxgbe.html) (Terminator 5, Terminator 6)
diff --git a/content/supported/nics/cisco.md b/content/supported/nics/cisco.md
index 6b310fd..bcd5557 100644
--- a/content/supported/nics/cisco.md
+++ b/content/supported/nics/cisco.md
@@ -1,7 +1,6 @@
 +++
 title = "Cisco"
 hidden = true
-weight = "6"
 +++
 
 - [enic](http://doc.dpdk.org/guides/nics/enic.html) (UCS Virtual Interface Card)
diff --git a/content/supported/nics/intel.md b/content/supported/nics/intel.md
index 111dfa6..e0baf1d 100644
--- a/content/supported/nics/intel.md
+++ b/content/supported/nics/intel.md
@@ -1,7 +1,6 @@
 +++
 title = "Intel"
 hidden = true
-weight = "7"
 +++
 
 - [e1000](http://doc.dpdk.org/guides/nics/e1000em.html) (82540, 82545, 82546)
diff --git a/content/supported/nics/marvell.md b/content/supported/nics/marvell.md
index d2605fd..1cbf14d 100644
--- a/content/supported/nics/marvell.md
+++ b/content/supported/nics/marvell.md
@@ -1,7 +1,6 @@
 +++
 title = "Marvell"
 hidden = true
-weight = "8"
 +++
 
 - [mvpp2](http://doc.dpdk.org/guides/nics/mvpp2.html) (Marvell Packet Processor v2)
diff --git a/content/supported/nics/mellanox.md b/content/supported/nics/mellanox.md
index 0d6a9d5..8030149 100644
--- a/content/supported/nics/mellanox.md
+++ b/content/supported/nics/mellanox.md
@@ -1,7 +1,6 @@
 +++
 title = "Mellanox"
 hidden = true
-weight = "9"
 +++
 
 - [mlx4](http://doc.dpdk.org/guides/nics/mlx4.html) (ConnectX-3, ConnectX-3 Pro)
diff --git a/content/supported/nics/netcope.md b/content/supported/nics/netcope.md
index 5beefa8..25a8e8d 100644
--- a/content/supported/nics/netcope.md
+++ b/content/supported/nics/netcope.md
@@ -1,7 +1,6 @@
 +++
 title = "Netcope"
 hidden = true
-weight = "10"
 +++
 
 - [szedata2](http://doc.dpdk.org/guides/nics/szedata2.html) (NFB-*, NPC-*, NSF-*)
diff --git a/content/supported/nics/netronome.md b/content/supported/nics/netronome.md
index e12f00d..118b502 100644
--- a/content/supported/nics/netronome.md
+++ b/content/supported/nics/netronome.md
@@ -1,7 +1,6 @@
 +++
 title = "Netronome"
 hidden = true
-weight = "11"
 +++
 
 - [nfp](http://doc.dpdk.org/guides/nics/nfp.html) (NFP-4xxx, NFP-6xxx)
diff --git a/content/supported/nics/nxp.md b/content/supported/nics/nxp.md
index 28bb8aa..c12bb7d 100644
--- a/content/supported/nics/nxp.md
+++ b/content/supported/nics/nxp.md
@@ -1,7 +1,6 @@
 +++
 title = "NXP"
 hidden = true
-weight = "12"
 +++
 
 - [dpaa](http://doc.dpdk.org/guides/nics/dpaa.html) (LS102x, LS1043, LS1046)
diff --git a/content/supported/nics/solarflare.md b/content/supported/nics/solarflare.md
index 8e20cf6..fab8374 100644
--- a/content/supported/nics/solarflare.md
+++ b/content/supported/nics/solarflare.md
@@ -1,7 +1,6 @@
 +++
 title = "Solarflare"
 hidden = true
-weight = "13"
 +++
 
 - [sfc_efx](http://doc.dpdk.org/guides/nics/sfc_efx.html) (SFN7xxx, SFN8xxx, XtremeScale X2)
diff --git a/content/supported/others.md b/content/supported/others.md
index 9347efb..c73cfdc 100644
--- a/content/supported/others.md
+++ b/content/supported/others.md
@@ -1,7 +1,5 @@
 +++
-title = "Software Devices"
-weight = "15"
-hidden = "true"
+title = "Software NICs"
 +++
 
 - [af_packet](http://git.dpdk.org/dpdk/tree/drivers/net/af_packet) (Linux AF_PACKET socket)
diff --git a/content/supported/paravirtualization.md b/content/supported/paravirtualization.md
index 0272995..3b95f2a 100644
--- a/content/supported/paravirtualization.md
+++ b/content/supported/paravirtualization.md
@@ -1,7 +1,5 @@
 +++
 title = "Paravirtualization"
-weight = "14"
-hidden = "true"
 +++
 
 - [avp](http://doc.dpdk.org/guides/nics/avp.html) (Wind River Accelerated Virtual Port)
-- 
2.19.0



More information about the web mailing list