Skip to contentSkip to conversation

refresh NIC features matrix

PATCH Applied Thomas Monjalon 4 participants 13 messages Mar 11, 2020 – Apr 17, 2020

lore
Share & tools
lore
#0 lore raw

cover refresh NIC features matrix

This series aims to clean-up the big table of ethdev features:
http://doc.dpdk.org/guides/nics/overview.html#id1

We could reorganize the information in this table, maybe split it or add/remove some rows.
Before going to such reorganization, we should clean it up.

The first patch is fixing the look & size of the table with recent sphinx.

The second and third patches are removing 8 columns which are clearly unneeded:
- bnx2x_vf
- bonding
- kni
- nfp_vf
- null
- ring
- softnic
- vdev_netvsc

More columns can be removed by merging PF/VF and vector datapaths. If a feature cannot be supported in all cases, it should be marked as partially supported (P).
If a feature is PF-specific (like flow control), that's OK to mark it fully supported because it's obviously impossible for VF. There are also some features which were probably marked in some columns and missed in its VF or vector counterpart. Please work to merge and drop these 16 columns:
- cxgbevf
- fm10k_vf
- hns3_vf
- i40e_vec
- i40e_vf
- i40e_vf_vec
- iavf_vec
- ice_vec
- igb_vf
- ixgbe_vec
- ixgbe_vf
- ixgbe_vf_vec
- octeontx2_vec
- octeontx2_vf
- qede_vf
- virtio_vec

The total gain is to reduce the table size from 71 to 47 columns.

Please send patches for Chelsio, Huawei, Intel, Marvell and virtio.

Thomas Monjalon (3):
doc: fix matrix CSS for recent sphinx
doc: remove empty columns from NIC features matrix
doc: remove similar columns from NIC features matrix

 doc/guides/conf.py                       | 16 +++++++++----
 doc/guides/nics/features/bnx2x.ini       |  1 +
 doc/guides/nics/features/bnx2x_vf.ini    | 18 ---------------
 doc/guides/nics/features/bonding.ini     |  6 -----
 doc/guides/nics/features/kni.ini         |  7 ------
 doc/guides/nics/features/nfp_vf.ini      | 29 ------------------------
 doc/guides/nics/features/null.ini        |  6 -----
 doc/guides/nics/features/ring.ini        |  6 -----
 doc/guides/nics/features/softnic.ini     |  9 --------
 doc/guides/nics/features/vdev_netvsc.ini | 12 ----------
 10 files changed, 13 insertions(+), 97 deletions(-)
 delete mode 100644 doc/guides/nics/features/bnx2x_vf.ini
 delete mode 100644 doc/guides/nics/features/bonding.ini
 delete mode 100644 doc/guides/nics/features/kni.ini
 delete mode 100644 doc/guides/nics/features/nfp_vf.ini
 delete mode 100644 doc/guides/nics/features/null.ini
 delete mode 100644 doc/guides/nics/features/ring.ini
 delete mode 100644 doc/guides/nics/features/softnic.ini
 delete mode 100644 doc/guides/nics/features/vdev_netvsc.ini
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/3 doc: fix matrix CSS for recent sphinx

It seems sphinx >= 2.0 is inserting a <p> tag in each table cell. The feature table (matrix) style needs to be updated to avoid cells being too big.

The margin, padding and line height are overriden.
The font size in percentage is replaced with an equivalent pixel size. The border is explicit because it disappeared for th.

---
 doc/guides/conf.py | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)
doc/guides/conf.py +12 -4
index c368fa51d4..804c4aa74f 100644
@@ -314,16 +314,22 @@ def print_table_css(outfile, table_id):
          cursor: default;
          overflow: hidden;
       }
+      table#idx p {
+         margin: 0;
+         line-height: inherit;
+      }
       table#idx th, table#idx td {
          text-align: center;
+         border: solid 1px #ddd;
       }
       table#idx th {
-         font-size: 72%;
+         padding: 0.5em 0;
+      }
+      table#idx th, table#idx th p {
+         font-size: 11px;
          white-space: pre-wrap;
          vertical-align: top;
-         padding: 0.5em 0;
          min-width: 0.9em;
-         width: 2em;
       }
       table#idx col:first-child {
          width: 0;
@@ -332,9 +338,11 @@ def print_table_css(outfile, table_id):
          vertical-align: bottom;
       }
       table#idx td {
-         font-size: 70%;
          padding: 1px;
       }
+      table#idx td, table#idx td p {
+         font-size: 11px;
+      }
       table#idx td:first-child {
          padding-left: 1em;
          text-align: left;
Signature · 1 line
2.25.1
#2 lore raw

PATCH 2/3 doc: remove empty columns from NIC features matrix

In reply to Thomas Monjalon

The virtual PMDs bonding, KNI, null, ring, softnic and vdev_netvsc have no real feature to advertise so they can be removed from the (too) big matrix of ethdev features.

---
 doc/guides/nics/features/bonding.ini     |  6 ------
 doc/guides/nics/features/kni.ini         |  7 -------
 doc/guides/nics/features/null.ini        |  6 ------
 doc/guides/nics/features/ring.ini        |  6 ------
 doc/guides/nics/features/softnic.ini     |  9 ---------
 doc/guides/nics/features/vdev_netvsc.ini | 12 ------------
 6 files changed, 46 deletions(-)
 delete mode 100644 doc/guides/nics/features/bonding.ini
 delete mode 100644 doc/guides/nics/features/kni.ini
 delete mode 100644 doc/guides/nics/features/null.ini
 delete mode 100644 doc/guides/nics/features/ring.ini
 delete mode 100644 doc/guides/nics/features/softnic.ini
 delete mode 100644 doc/guides/nics/features/vdev_netvsc.ini
doc/guides/nics/features/bonding.ini deleted +0 -6
deleted file mode 100644
index c1653051e7..0000000000
@@ -1,6 +0,0 @@
-;
-; Supported features of the 'bonding' network poll mode driver.
-;
-; Refer to default.ini for the full list of available PMD features.
-;
-[Features]
doc/guides/nics/features/kni.ini deleted +0 -7
deleted file mode 100644
index 6deb66ae2d..0000000000
@@ -1,7 +0,0 @@
-;
-; Supported features of the 'kni' network poll mode driver.
-;
-; Refer to default.ini for the full list of available PMD features.
-;
-[Features]
-Usage doc            = Y
doc/guides/nics/features/null.ini deleted +0 -6
deleted file mode 100644
index 3957f7ca18..0000000000
@@ -1,6 +0,0 @@
-;
-; Supported features of the 'null' network poll mode driver.
-;
-; Refer to default.ini for the full list of available PMD features.
-;
-[Features]
doc/guides/nics/features/ring.ini deleted +0 -6
deleted file mode 100644
index ac207ba31b..0000000000
@@ -1,6 +0,0 @@
-;
-; Supported features of the 'ring' network poll mode driver.
-;
-; Refer to default.ini for the full list of available PMD features.
-;
-[Features]
doc/guides/nics/features/softnic.ini deleted +0 -9
deleted file mode 100644
index 0583381cc7..0000000000
@@ -1,9 +0,0 @@
-;
-; Supported features of the 'softnic' poll mode driver.
-;
-; Refer to default.ini for the full list of available PMD features.
-;
-[Features]
-x86-32               = Y
-x86-64               = Y
-Usage doc            = Y
doc/guides/nics/features/vdev_netvsc.ini deleted +0 -12
deleted file mode 100644
index cfc5cb93ef..0000000000
@@ -1,12 +0,0 @@
-;
-; Supported features of the 'vdev_netvsc' network poll mode driver.
-;
-; Refer to default.ini for the full list of available PMD features.
-;
-[Features]
-ARMv7                = Y
-ARMv8                = Y
-Power8               = Y
-x86-32               = Y
-x86-64               = Y
-Usage doc            = Y
Signature · 1 line
2.25.1
#3 lore raw

PATCH 3/3 doc: remove similar columns from NIC features matrix

In reply to Thomas Monjalon

The PMDs bnx2x and nfp have a separate column for VF. Such separation is unneeded because the features are the same.

---
 doc/guides/nics/features/bnx2x.ini    |  1 +
 doc/guides/nics/features/bnx2x_vf.ini | 18 -----------------
 doc/guides/nics/features/nfp_vf.ini   | 29 ---------------------------
 3 files changed, 1 insertion(+), 47 deletions(-)
 delete mode 100644 doc/guides/nics/features/bnx2x_vf.ini
 delete mode 100644 doc/guides/nics/features/nfp_vf.ini
doc/guides/nics/features/bnx2x.ini +1 -0
index 3e33e9abd6..e17bf60689 100644
@@ -10,6 +10,7 @@ Link status event    = Y
 Promiscuous mode     = Y
 Unicast MAC filter   = Y
 Multicast MAC filter = Y
+SR-IOV               = Y
 Basic stats          = Y
 Extended stats       = Y
 Linux UIO            = Y
doc/guides/nics/features/bnx2x_vf.ini deleted +0 -18
deleted file mode 100644
index c270902e35..0000000000
@@ -1,18 +0,0 @@
-;
-; Supported features of the 'bnx2x_vf' network poll mode driver.
-;
-; Refer to default.ini for the full list of available PMD features.
-;
-[Features]
-Speed capabilities   = P
-Link status          = Y
-Link status event    = Y
-Promiscuous mode     = Y
-Unicast MAC filter   = Y
-Multicast MAC filter = Y
-SR-IOV               = Y
-Basic stats          = Y
-Extended stats       = Y
-Linux UIO            = Y
-x86-64               = Y
-Usage doc            = Y
doc/guides/nics/features/nfp_vf.ini deleted +0 -29
deleted file mode 100644
index 70297b0907..0000000000
@@ -1,29 +0,0 @@
-;
-; Supported features of the 'nfp' network poll mode driver.
-;
-; Refer to default.ini for the full list of available PMD features.
-;
-[Features]
-Speed capabilities   = Y
-Link status          = Y
-Link status event    = Y
-Rx interrupt         = Y
-Queue start/stop     = Y
-MTU update           = Y
-Jumbo frame          = Y
-Promiscuous mode     = Y
-TSO                  = Y
-RSS hash             = Y
-RSS key update       = Y
-RSS reta update      = Y
-Flow control         = Y
-VLAN offload         = Y
-L3 checksum offload  = Y
-L4 checksum offload  = Y
-Basic stats          = Y
-Stats per queue      = Y
-Linux UIO            = Y
-Linux VFIO           = Y
-Multiprocess aware   = Y
-x86-64               = Y
-Usage doc            = Y
Signature · 1 line
2.25.1
#4 lore raw
In reply to Thomas Monjalon

Ping for review and action on follow-up patches please. I hope we won't have to block patches to get things done.

Ferruh, I think we need an action plan.

12/03/2020 00:01, Thomas Monjalon:

Quoted 48 lines

This series aims to clean-up the big table of ethdev features:
http://doc.dpdk.org/guides/nics/overview.html#id1

We could reorganize the information in this table, maybe split it or add/remove some rows.
Before going to such reorganization, we should clean it up.

The first patch is fixing the look & size of the table with recent sphinx.

The second and third patches are removing 8 columns which are clearly unneeded:
- bnx2x_vf
- bonding
- kni
- nfp_vf
- null
- ring
- softnic
- vdev_netvsc

More columns can be removed by merging PF/VF and vector datapaths. If a feature cannot be supported in all cases, it should be marked as partially supported (P).
If a feature is PF-specific (like flow control), that's OK to mark it fully supported because it's obviously impossible for VF. There are also some features which were probably marked in some columns and missed in its VF or vector counterpart. Please work to merge and drop these 16 columns:
- cxgbevf
- fm10k_vf
- hns3_vf
- i40e_vec
- i40e_vf
- i40e_vf_vec
- iavf_vec
- ice_vec
- igb_vf
- ixgbe_vec
- ixgbe_vf
- ixgbe_vf_vec
- octeontx2_vec
- octeontx2_vf
- qede_vf
- virtio_vec

The total gain is to reduce the table size from 71 to 47 columns.

Please send patches for Chelsio, Huawei, Intel, Marvell and virtio.

#5 lore raw
In reply to Thomas Monjalon

Hi Thomas:

Quoted 58 lines

-----Original Message-----
From: Thomas Monjalon <[email protected]>
Sent: Thursday, March 12, 2020 7:02 AM
To: [email protected]
Cc: [email protected]; Zhang, Qi Z <[email protected]>; Wang, Xiao W <[email protected]>; [email protected]; Xing, Beilei <[email protected]>; Lu, Wenzhuo <[email protected]>; Yang, Qiming <[email protected]>; Ananyev, Konstantin <[email protected]>; Yigit, Ferruh <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; Ye, Xiaolong <[email protected]>
Subject: [PATCH 0/3] refresh NIC features matrix

This series aims to clean-up the big table of ethdev features:
http://doc.dpdk.org/guides/nics/overview.html#id1

We could reorganize the information in this table, maybe split it or add/remove some rows.
Before going to such reorganization, we should clean it up.

The first patch is fixing the look & size of the table with recent sphinx.

The second and third patches are removing 8 columns which are clearly unneeded:
- bnx2x_vf
- bonding
- kni
- nfp_vf
- null
- ring
- softnic
- vdev_netvsc

More columns can be removed by merging PF/VF and vector datapaths.
If a feature cannot be supported in all cases, it should be marked as partially supported (P).
If a feature is PF-specific (like flow control), that's OK to mark it fully supported because it's obviously impossible for VF.
There are also some features which were probably marked in some columns and missed in its VF or vector counterpart.
Please work to merge and drop these 16 columns:
- cxgbevf
- fm10k_vf
- hns3_vf
- i40e_vec
- i40e_vf
- i40e_vf_vec
- iavf_vec
- ice_vec
- igb_vf
- ixgbe_vec
- ixgbe_vf
- ixgbe_vf_vec
- octeontx2_vec
- octeontx2_vf
- qede_vf
- virtio_vec

Quoted 1 line

The total gain is to reduce the table size from 71 to 47 columns.

I agree to remove all the column with "vec", since vector PMD can be regarded as a feature of the a PMD.
But I'm not sure if it is a good idea to merge VF and PF into one column.
From my view, for intel device, VF driver and PF driver just share the code, but they actually are running at two different context. And likely they will support different feature, merge into one column may confuse our customer if they want to understand what exactly the PMD support.

Thanks
Qi

Quoted 31 lines

Please send patches for Chelsio, Huawei, Intel, Marvell and virtio.

Thomas Monjalon (3):
doc: fix matrix CSS for recent sphinx
doc: remove empty columns from NIC features matrix
doc: remove similar columns from NIC features matrix

 doc/guides/conf.py                       | 16 +++++++++----
 doc/guides/nics/features/bnx2x.ini       |  1 +
 doc/guides/nics/features/bnx2x_vf.ini    | 18 ---------------
 doc/guides/nics/features/bonding.ini     |  6 -----
 doc/guides/nics/features/kni.ini         |  7 ------
 doc/guides/nics/features/nfp_vf.ini      | 29 ------------------------
 doc/guides/nics/features/null.ini        |  6 -----
 doc/guides/nics/features/ring.ini        |  6 -----
 doc/guides/nics/features/softnic.ini     |  9 --------
 doc/guides/nics/features/vdev_netvsc.ini | 12 ----------
 10 files changed, 13 insertions(+), 97 deletions(-)  delete mode 100644
doc/guides/nics/features/bnx2x_vf.ini
 delete mode 100644 doc/guides/nics/features/bonding.ini
 delete mode 100644 doc/guides/nics/features/kni.ini  delete mode 100644
doc/guides/nics/features/nfp_vf.ini
 delete mode 100644 doc/guides/nics/features/null.ini  delete mode 100644
doc/guides/nics/features/ring.ini  delete mode 100644
doc/guides/nics/features/softnic.ini
 delete mode 100644 doc/guides/nics/features/vdev_netvsc.ini

--
2.25.1

#6 lore raw

20/03/2020 06:35, Zhang, Qi Z:

Quoted 49 lines

Hi Thomas:

From: Thomas Monjalon <[email protected]>

Quoted 46 lines

This series aims to clean-up the big table of ethdev features:
http://doc.dpdk.org/guides/nics/overview.html#id1

We could reorganize the information in this table, maybe split it or add/remove some rows.
Before going to such reorganization, we should clean it up.

The first patch is fixing the look & size of the table with recent sphinx.

The second and third patches are removing 8 columns which are clearly unneeded:
- bnx2x_vf
- bonding
- kni
- nfp_vf
- null
- ring
- softnic
- vdev_netvsc

More columns can be removed by merging PF/VF and vector datapaths.
If a feature cannot be supported in all cases, it should be marked as partially supported (P).
If a feature is PF-specific (like flow control), that's OK to mark it fully supported because it's obviously impossible for VF.
There are also some features which were probably marked in some columns and missed in its VF or vector counterpart.
Please work to merge and drop these 16 columns:
- cxgbevf
- fm10k_vf
- hns3_vf
- i40e_vec
- i40e_vf
- i40e_vf_vec
- iavf_vec
- ice_vec
- igb_vf
- ixgbe_vec
- ixgbe_vf
- ixgbe_vf_vec
- octeontx2_vec
- octeontx2_vf
- qede_vf
- virtio_vec

Quoted 6 lines
Quoted 1 line

The total gain is to reduce the table size from 71 to 47 columns.

I agree to remove all the column with "vec", since vector PMD can be regarded as a feature of the a PMD.
But I'm not sure if it is a good idea to merge VF and PF into one column.
From my view, for intel device, VF driver and PF driver just share the code, but they actually are running at two different context. And likely they will support different feature, merge into one column may confuse our customer if they want to understand what exactly the PMD support.

I understand you have 2 different datapaths. My arguments are:
- it is the same NIC
- you cannot summarize everything in a table
- we have two many columns to make it readable

I think the right solution is mark features as partially available (P), and give details in the driver guide documentation.

Can you please, at least, remove the "vec" columns, as a first step? Thanks

#7 lore raw
Quoted 72 lines

-----Original Message-----
From: Thomas Monjalon <[email protected]>
Sent: Friday, March 20, 2020 6:45 PM
To: Zhang, Qi Z <[email protected]>
Cc: [email protected]; [email protected]; Wang, Xiao W <[email protected]>; [email protected]; Xing, Beilei <[email protected]>; Lu, Wenzhuo <[email protected]>; Yang, Qiming <[email protected]>; Ananyev, Konstantin <[email protected]>; Yigit, Ferruh <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; Ye, Xiaolong <[email protected]>
Subject: Re: [PATCH 0/3] refresh NIC features matrix

20/03/2020 06:35, Zhang, Qi Z:

Quoted 50 lines

Hi Thomas:

From: Thomas Monjalon <[email protected]>

Quoted 47 lines

This series aims to clean-up the big table of ethdev features:
http://doc.dpdk.org/guides/nics/overview.html#id1

We could reorganize the information in this table, maybe split it or add/remove some rows.
Before going to such reorganization, we should clean it up.

The first patch is fixing the look & size of the table with recent sphinx.

The second and third patches are removing 8 columns which are clearly
unneeded:
- bnx2x_vf
- bonding
- kni
- nfp_vf
- null
- ring
- softnic
- vdev_netvsc

More columns can be removed by merging PF/VF and vector datapaths. If a feature cannot be supported in all cases, it should be marked as partially supported (P).
If a feature is PF-specific (like flow control), that's OK to mark it fully supported because it's obviously impossible for VF. There are also some features which were probably marked in some columns and missed in its VF or vector counterpart. Please work to merge and drop these 16 columns:
- cxgbevf
- fm10k_vf
- hns3_vf
- i40e_vec
- i40e_vf
- i40e_vf_vec
- iavf_vec
- ice_vec
- igb_vf
- ixgbe_vec
- ixgbe_vf
- ixgbe_vf_vec
- octeontx2_vec
- octeontx2_vf
- qede_vf
- virtio_vec

Quoted 3 lines
Quoted 1 line

The total gain is to reduce the table size from 71 to 47 columns.

I agree to remove all the column with "vec", since vector PMD can be

regarded as a feature of the a PMD.

Quoted 2 lines

But I'm not sure if it is a good idea to merge VF and PF into one column. From my view, for intel device, VF driver and PF driver just share the code,

Quoted 8 lines

but they actually are running at two different context.

Quoted 1 line

And likely they will support different feature, merge into one column may

confuse our customer if they want to understand what exactly the PMD support.

I understand you have 2 different datapaths.
My arguments are:
- it is the same NIC

Yes, but one device can be polymorphic, ideally i40e and i40evf could be in two different folder, and the common part can be a library in driver/common/i40e.

Quoted 2 lines

- you cannot summarize everything in a table
- we have two many columns to make it readable

I don't think columns number is critical, typically user just need to focus on the first column and the specific driver's column, I guess it may not a big challenge to enable some filter by front end web technique?

Quoted 5 lines

I think the right solution is mark features as partially available (P), and give details in the driver guide documentation.

Can you please, at least, remove the "vec" columns, as a first step?

Sure, as I said, I agree to remove "vec".

Thanks
Qi

Quoted 2 lines

Thanks

#8 lore raw
Quoted 74 lines · Qi Z
Quoted 74 lines

-----Original Message-----
From: Thomas Monjalon <[email protected]>
Sent: Friday, March 20, 2020 6:45 PM
To: Zhang, Qi Z <[email protected]>
Cc: [email protected]; [email protected]; Wang, Xiao W <[email protected]>; [email protected]; Xing, Beilei <[email protected]>; Lu, Wenzhuo <[email protected]>; Yang, Qiming <[email protected]>; Ananyev, Konstantin <[email protected]>; Yigit, Ferruh <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; Ye, Xiaolong <[email protected]>
Subject: Re: [PATCH 0/3] refresh NIC features matrix

20/03/2020 06:35, Zhang, Qi Z:

Quoted 50 lines

Hi Thomas:

From: Thomas Monjalon <[email protected]>

Quoted 47 lines

This series aims to clean-up the big table of ethdev features:
http://doc.dpdk.org/guides/nics/overview.html#id1

We could reorganize the information in this table, maybe split it or add/remove some rows.
Before going to such reorganization, we should clean it up.

The first patch is fixing the look & size of the table with recent sphinx.

The second and third patches are removing 8 columns which are clearly
unneeded:
- bnx2x_vf
- bonding
- kni
- nfp_vf
- null
- ring
- softnic
- vdev_netvsc

More columns can be removed by merging PF/VF and vector datapaths. If a feature cannot be supported in all cases, it should be marked as partially supported (P).
If a feature is PF-specific (like flow control), that's OK to mark it fully supported because it's obviously impossible for VF. There are also some features which were probably marked in some columns and missed in its VF or vector counterpart. Please work to merge and drop these 16 columns:
- cxgbevf
- fm10k_vf
- hns3_vf
- i40e_vec
- i40e_vf
- i40e_vf_vec
- iavf_vec
- ice_vec
- igb_vf
- ixgbe_vec
- ixgbe_vf
- ixgbe_vf_vec
- octeontx2_vec
- octeontx2_vf
- qede_vf
- virtio_vec

Quoted 3 lines
Quoted 1 line

The total gain is to reduce the table size from 71 to 47 columns.

I agree to remove all the column with "vec", since vector PMD can be

regarded as a feature of the a PMD.

Quoted 2 lines

But I'm not sure if it is a good idea to merge VF and PF into one column. From my view, for intel device, VF driver and PF driver just share the code,

but they actually are running at two different context.

Quoted 1 line

And likely they will support different feature, merge into one column may

Quoted 8 lines
Quoted 6 lines

confuse our customer if they want to understand what exactly the PMD support.

I understand you have 2 different datapaths.
My arguments are:
- it is the same NIC

Yes, but one device can be polymorphic, ideally i40e and i40evf could be in two different folder, and the common part can be a library in driver/common/i40e.

For me, it does not sound like a good idea. Too many folders on the first level does not look nice. Should we go Linux way and group by vendor? Too early? However, it is not directly related to the topic.

Quoted 4 lines
Quoted 2 lines

- you cannot summarize everything in a table
- we have two many columns to make it readable

I don't think columns number is critical, typically user just need to focus on the first column and the specific driver's column,

Too many columns still makes it harder to read/analyze. I think the main goal of the table is too help making NIC choice to be installed in a server and you can't make a choice between PF and VF. Difference between PF and VF capabilities is a separate story and out-of-scope of the table.
We have a new driver(s) in each DPDK release and table is already big and will grow more and more.

Quoted 15 lines

I guess it may not a big challenge to enable some filter by front end web technique?

Quoted 4 lines

I think the right solution is mark features as partially available (P), and give details in the driver guide documentation.

Can you please, at least, remove the "vec" columns, as a first step?

Sure, as I said, I agree to remove "vec".

Thanks
Qi

Quoted 2 lines

Thanks

#9 lore raw

Any more opinion about removing VF columns from the NIC matrix?

24/03/2020 09:36, Andrew Rybchenko:

Quoted 80 lines · Qi Z
Quoted 48 lines

From: Thomas Monjalon <[email protected]>

Quoted 47 lines

20/03/2020 06:35, Zhang, Qi Z:

Quoted 38 lines

From: Thomas Monjalon <[email protected]>

Quoted 37 lines

The second and third patches are removing 8 columns which are clearly
unneeded:
- bnx2x_vf
- bonding
- kni
- nfp_vf
- null
- ring
- softnic
- vdev_netvsc

More columns can be removed by merging PF/VF and vector datapaths. If a feature cannot be supported in all cases, it should be marked as partially supported (P).
If a feature is PF-specific (like flow control), that's OK to mark it fully supported because it's obviously impossible for VF. There are also some features which were probably marked in some columns and missed in its VF or vector counterpart. Please work to merge and drop these 16 columns:
- cxgbevf
- fm10k_vf
- hns3_vf
- i40e_vec
- i40e_vf
- i40e_vf_vec
- iavf_vec
- ice_vec
- igb_vf
- ixgbe_vec
- ixgbe_vf
- ixgbe_vf_vec
- octeontx2_vec
- octeontx2_vf
- qede_vf
- virtio_vec

Quoted 3 lines
Quoted 1 line

The total gain is to reduce the table size from 71 to 47 columns.

I agree to remove all the column with "vec", since vector PMD can be

regarded as a feature of the a PMD.

Quoted 2 lines

But I'm not sure if it is a good idea to merge VF and PF into one column. From my view, for intel device, VF driver and PF driver just share the code,

but they actually are running at two different context.

Quoted 1 line

And likely they will support different feature, merge into one column may

Quoted 8 lines
Quoted 6 lines

confuse our customer if they want to understand what exactly the PMD support.

I understand you have 2 different datapaths.
My arguments are:
- it is the same NIC

Yes, but one device can be polymorphic, ideally i40e and i40evf could be in two different folder, and the common part can be a library in driver/common/i40e.

For me, it does not sound like a good idea. Too many folders on the first level does not look nice. Should we go Linux way and group by vendor? Too early? However, it is not directly related to the topic.

Quoted 4 lines
Quoted 2 lines

- you cannot summarize everything in a table
- we have two many columns to make it readable

I don't think columns number is critical, typically user just need to focus on the first column and the specific driver's column,

Too many columns still makes it harder to read/analyze. I think the main goal of the table is too help making NIC choice to be installed in a server and you can't make a choice between PF and VF. Difference between PF and VF capabilities is a separate story and out-of-scope of the table.
We have a new driver(s) in each DPDK release and table is already big and will grow more and more.

Quoted 4 lines

I guess it may not a big challenge to enable some filter by front end web technique?

Quoted 2 lines

I think the right solution is mark features as partially available (P), and give details in the driver guide documentation.

#10 lore raw
In reply to Andrew Rybchenko

Call for action below (especially for octeontx2 and virtio):

24/03/2020 09:36, Andrew Rybchenko:

Quoted 11 lines · Qi Z
Quoted 10 lines

From: Thomas Monjalon <[email protected]>

Quoted 9 lines

20/03/2020 06:35, Zhang, Qi Z:

Quoted 8 lines

From: Thomas Monjalon <[email protected]>

Quoted 7 lines

This series aims to clean-up the big table of ethdev features:
http://doc.dpdk.org/guides/nics/overview.html#id1

We could reorganize the information in this table, maybe split it or add/remove some rows.
Before going to such reorganization, we should clean it up.

[...]

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

More columns can be removed by merging PF/VF and vector datapaths. If a feature cannot be supported in all cases, it should be marked as partially supported (P).

I see that Intel merged "vec" columns for its PMDs.
We are still missing octeontx2 and virtio.
In order to make sure the message is received,
I suggest blocking any patch in these PMDs until features matrix is fixed.

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

If a feature is PF-specific (like flow control), that's OK to mark it fully supported because it's obviously impossible for VF. There are also some features which were probably marked in some columns and missed in its VF or vector counterpart.

Ideally we should remove all these columns (VF to be discussed):

Quoted 29 lines
Quoted 29 lines
Quoted 22 lines
Quoted 13 lines
Quoted 11 lines

- cxgbevf
- fm10k_vf
- hns3_vf
- i40e_vf
- igb_vf
- ixgbe_vf
- octeontx2_vec
- octeontx2_vf
- qede_vf
- virtio_vec

Quoted 1 line

The total gain is to reduce the table size from 71 to 47 columns.

Quoted 8 lines

I agree to remove all the column with "vec", since vector PMD can be regarded as a feature of the a PMD.
But I'm not sure if it is a good idea to merge VF and PF into one column. From my view, for intel device, VF driver and PF driver just share the code, but they actually are running at two different context.
And likely they will support different feature, merge into one column may confuse our customer if they want to understand what exactly the PMD support.

Quoted 3 lines

I understand you have 2 different datapaths.
My arguments are:
- it is the same NIC

Yes, but one device can be polymorphic, ideally i40e and i40evf could be in two different folder, and the common part can be a library in driver/common/i40e.

[...]

Quoted 7 lines
Quoted 6 lines
Quoted 3 lines

- you cannot summarize everything in a table
- we have two many columns to make it readable

I don't think columns number is critical, typically user just need to focus on the first column and the specific driver's column,

Quoted 12 lines

Too many columns still makes it harder to read/analyze. I think the main goal of the table is too help making NIC choice to be installed in a server and you can't make a choice between PF and VF. Difference between PF and VF capabilities is a separate story and out-of-scope of the table.
We have a new driver(s) in each DPDK release and table is already big and will grow more and more.

Quoted 4 lines

I guess it may not a big challenge to enable some filter by front end web technique?

Quoted 2 lines

I think the right solution is mark features as partially available (P), and give details in the driver guide documentation.

Other opinions about removing/merging VF columns?

#11 lore raw
Quoted 80 lines · Thomas Monjalon

Call for action below (especially for octeontx2 and virtio):

24/03/2020 09:36, Andrew Rybchenko:

Quoted 11 lines · Qi Z
Quoted 10 lines

From: Thomas Monjalon <[email protected]>

Quoted 9 lines

20/03/2020 06:35, Zhang, Qi Z:

Quoted 8 lines

From: Thomas Monjalon <[email protected]>

Quoted 7 lines

This series aims to clean-up the big table of ethdev features:
http://doc.dpdk.org/guides/nics/overview.html#id1

We could reorganize the information in this table, maybe split it or add/remove some rows.
Before going to such reorganization, we should clean it up.

[...]

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

More columns can be removed by merging PF/VF and vector datapaths. If a feature cannot be supported in all cases, it should be marked as partially supported (P).

I see that Intel merged "vec" columns for its PMDs.
We are still missing octeontx2 and virtio.
In order to make sure the message is received,
I suggest blocking any patch in these PMDs until features matrix is fixed.

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

If a feature is PF-specific (like flow control), that's OK to mark it fully supported because it's obviously impossible for VF. There are also some features which were probably marked in some columns and missed in its VF or vector counterpart.

Ideally we should remove all these columns (VF to be discussed):

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

- cxgbevf
- fm10k_vf
- hns3_vf
- i40e_vf
- igb_vf
- ixgbe_vf
- octeontx2_vec
- octeontx2_vf
- qede_vf
- virtio_vec

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line

The total gain is to reduce the table size from 71 to 47 columns.

I agree to remove all the column with "vec", since vector PMD can be regarded as a feature of the a PMD.
But I'm not sure if it is a good idea to merge VF and PF into one

column.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

From my view, for intel device, VF driver and PF driver just share

the code,

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

but they actually are running at two different context. And likely they will support different feature, merge into one

column may

Quoted 10 lines
Quoted 10 lines
Quoted 6 lines
Quoted 2 lines

confuse our customer if they want to understand what exactly the PMD support.

I understand you have 2 different datapaths.
My arguments are:
- it is the same NIC

Yes, but one device can be polymorphic, ideally i40e and i40evf could be in two different folder, and the common part can be a library in driver/common/i40e.

[...]

Quoted 15 lines
Quoted 6 lines
Quoted 3 lines

- you cannot summarize everything in a table
- we have two many columns to make it readable

I don't think columns number is critical, typically user just need to focus on the first column and the specific driver's column,

Too many columns still makes it harder to read/analyze. I think the main goal of the table is too help making NIC choice to be installed in a server and you can't make a choice between PF and VF. Difference between PF and VF capabilities is a separate story and out-of-scope of the table.
We have a new driver(s) in each DPDK release and table is already big and will grow more and more.

Quoted 3 lines
Quoted 1 line
Quoted 1 line

I guess it may not a big challenge to enable some filter by front end

web technique?

+1

Quoted 7 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

I think the right solution is mark features as partially available

(P), and give

Quoted 1 line
Quoted 1 line
Quoted 1 line

details in the driver guide documentation.

Other opinions about removing/merging VF columns?

PF and VF devices can have different feature support.
It will be good to keep them separate.
If it is difficult to tabulate the capabilities for various devices in a single page, then marking it with (P) is fine.
The Driver guide should carry the differences between PF and VF capabilities anyway.

author Applied
#12 lore raw
In reply to Thomas Monjalon

12/03/2020 00:01, Thomas Monjalon:

Quoted 20 lines

This series aims to clean-up the big table of ethdev features:
http://doc.dpdk.org/guides/nics/overview.html#id1

We could reorganize the information in this table, maybe split it or add/remove some rows.
Before going to such reorganization, we should clean it up.

The first patch is fixing the look & size of the table with recent sphinx.

The second and third patches are removing 8 columns which are clearly unneeded:
- bnx2x_vf
- bonding
- kni
- nfp_vf
- null
- ring
- softnic
- vdev_netvsc

[...]

Quoted 4 lines

Thomas Monjalon (3):
doc: fix matrix CSS for recent sphinx
doc: remove empty columns from NIC features matrix
doc: remove similar columns from NIC features matrix

Applied