Skip to contentSkip to conversation

doc: introduce networking driver matrix

PATCH Superseded Thomas Monjalon 3 participants 8 messages Jan 26, 2016 – Mar 1, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: introduce networking driver matrix

In order to better compare the drivers and check what is missing for a common baseline, we need to fill a matrix.

A CSS trick is used to fit the HTML page.
The PDF output needs some LaTeX wizardry.

---
 doc/guides/nics/index.rst    |   1 +
 doc/guides/nics/overview.rst | 145 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 146 insertions(+)
 create mode 100644 doc/guides/nics/overview.rst
doc/guides/nics/index.rst +1 -0
index 33c9cea..8618114 100644
@@ -35,6 +35,7 @@ Network Interface Controller Drivers
     :maxdepth: 3
     :numbered:
 
+    overview
     bnx2x
     cxgbe
     e1000em
doc/guides/nics/overview.rst new file +145 -0

145 lines not on this page · raw message

Signature · 1 line
2.5.2
#1 lore raw

PATCH v2 1/1 doc: introduce networking driver matrix

In order to better compare the drivers and check what is missing for a common baseline, we need to fill a matrix.

A CSS trick is used to fit the HTML page.
The PDF output needs some LaTeX wizardry.

---
v2: add vector PMDs

---
 doc/guides/nics/index.rst    |   1 +
 doc/guides/nics/overview.rst | 147 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 148 insertions(+)
 create mode 100644 doc/guides/nics/overview.rst
doc/guides/nics/index.rst +1 -0
index 33c9cea..8618114 100644
@@ -35,6 +35,7 @@ Network Interface Controller Drivers
     :maxdepth: 3
     :numbered:
 
+    overview
     bnx2x
     cxgbe
     e1000em
doc/guides/nics/overview.rst new file +147 -0

147 lines not on this page · raw message

Signature · 1 line
2.5.2
#2 lore raw

2016-01-27 21:07, Thomas Monjalon:

Quoted 9 lines

In order to better compare the drivers and check what is missing for a common baseline, we need to fill a matrix.

A CSS trick is used to fit the HTML page.
The PDF output needs some LaTeX wizardry.

---
v2: add vector PMDs

Nobody complains after 2 weeks, so I guess the idea is welcomed. Applied

The LaTeX formatting still needs to be fixed to view the entire table in the PDF doc.

This empty table will have a value when it will be properly filled. Please, maintainers of drivers, your help is requested here. We now have 2 months to fill each driver columns with crosses (X). Thanks

#3 lore raw
In reply to Thomas Monjalon

Hi Thomas,

Got a couple of questions on how to mark some of the features for CXGBE below.

Quoted 15 lines · Thomas Monjalon

In order to better compare the drivers and check what is missing for a common baseline, we need to fill a matrix.

A CSS trick is used to fit the HTML page.
The PDF output needs some LaTeX wizardry.

---
v2: add vector PMDs

---
 doc/guides/nics/index.rst    |   1 +
 doc/guides/nics/overview.rst | 147 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 148 insertions(+)
 create mode 100644 doc/guides/nics/overview.rst

[...]

Quoted 20 lines
doc/guides/nics/overview.rst new file +20 -0
+
+   ==================== = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
+   Feature              a b b b c e e i i i i i i i i i i f f m m m n n p r s v v v x
+                        f n n o x 1 n 4 4 4 4 g g x x x x m m l l p f u c i z i i m e
+                        p x x n g 0 i 0 0 0 0 b b g g g g 1 1 x x i p l a n e r r x n
+                        a 2 2 d b 0 c e e e e   v b b b b 0 0 4 5 p   l p g d t t n v
+                        c x x i e 0     . v v   f e e e e k k     e         a i i e i
+                        k   v n         . f f       . v v   .               t o o t r
+                        e   f g         .   .       . f f   .               a   . 3 t
+                        t               v   v       v   v   v               2   v
+                                        e   e       e   e   e                   e
+                                        c   c       c   c   c                   c
+   ==================== = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
+   link status
+   link status event
+   Rx interrupt
+   queue start/stop
+   MTU update
+   jumbo frame
+   scattered Rx

[...]

doc/guides/nics/overview.rst line 115

Quoted 8 lines
doc/guides/nics/overview.rst new file +8 -0
+   VLAN filter
+   ethertype filter
+   n-tuple filter
+   SYN filter
+   tunnel filter
+   flexible filter
+   hash filter
+   flow director

It is possible to set some of the above filters via our cxgbe flow director. Do we mark these filter features as supported?

[...]

Quoted 1 line

+ packet type parsing

Is this the same as the driver's ability to fill the mbuf->packet_type field?

Thanks,
Rahul

#4 lore raw

2016-02-16 17:05, Rahul Lakkireddy:

Quoted 6 lines

Hi Thomas,

Got a couple of questions on how to mark some of the features for CXGBE below.

On Wednesday, January 01/27/16, 2016 at 21:07:09 +0100, Thomas Monjalon wrote:

[...]

Quoted 11 lines

doc/guides/nics/overview.rst line 115

Quoted 8 lines
doc/guides/nics/overview.rst new file +8 -0
+   VLAN filter
+   ethertype filter
+   n-tuple filter
+   SYN filter
+   tunnel filter
+   flexible filter
+   hash filter
+   flow director

It is possible to set some of the above filters via our cxgbe flow director. Do we mark these filter features as supported?

How do you configure these filters? rte_eth_dev_filter_ctrl()? Which type in rte_filter_type?

Quoted 5 lines

[...]

Quoted 1 line

+ packet type parsing

Is this the same as the driver's ability to fill the mbuf->packet_type field?

Yes

#5 lore raw

Hi Thomas,

Quoted 17 lines · Thomas Monjalon

2016-02-16 17:05, Rahul Lakkireddy:

Quoted 6 lines

Hi Thomas,

Got a couple of questions on how to mark some of the features for CXGBE below.

On Wednesday, January 01/27/16, 2016 at 21:07:09 +0100, Thomas Monjalon wrote:

[...]

Quoted 9 lines
Quoted 8 lines
doc/guides/nics/overview.rst new file +8 -0
+   VLAN filter
+   ethertype filter
+   n-tuple filter
+   SYN filter
+   tunnel filter
+   flexible filter
+   hash filter
+   flow director
Quoted 6 lines
Quoted 2 lines

It is possible to set some of the above filters via our cxgbe flow director. Do we mark these filter features as supported?

How do you configure these filters? rte_eth_dev_filter_ctrl()? Which type in rte_filter_type?

Yes, we configure it with rte_eth_dev_filter_ctrl() and with RTE_ETH_FILTER_FDIR filter type. With Chelsio hardware it's possible to match several different filters in the same rule.

For e.g., it's possible to set a vlan, ethertype, and n-tuple filters all on the same rule.

The generic architecture [1] for flow director can accept these several filters in the same rule and hence the cxgbe flow director can handle these different filters with this generic approach.

[1] http://dpdk.org/ml/archives/dev/2016-February/032605.html

Thanks,
Rahul

#6 lore raw
In reply to Thomas Monjalon

Hi Thomas,

Dňa 27.01.2016 o 21:07 Thomas Monjalon napísal(a):

Quoted 15 lines

In order to better compare the drivers and check what is missing for a common baseline, we need to fill a matrix.

A CSS trick is used to fit the HTML page.
The PDF output needs some LaTeX wizardry.

---
v2: add vector PMDs

---
  doc/guides/nics/index.rst    |   1 +
  doc/guides/nics/overview.rst | 147 +++++++++++++++++++++++++++++++++++++++++++
  2 files changed, 148 insertions(+)

create mode 100644 doc/guides/nics/overview.rst

[...]

Quoted 13 lines
doc/guides/nics/overview.rst new file +13 -0
+
+   ==================== = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
+   Feature              a b b b c e e i i i i i i i i i i f f m m m n n p r s v v v x
+                        f n n o x 1 n 4 4 4 4 g g x x x x m m l l p f u c i z i i m e
+                        p x x n g 0 i 0 0 0 0 b b g g g g 1 1 x x i p l a n e r r x n
+                        a 2 2 d b 0 c e e e e   v b b b b 0 0 4 5 p   l p g d t t n v
+                        c x x i e 0     . v v   f e e e e k k     e         a i i e i
+                        k   v n         . f f       . v v   .               t o o t r
+                        e   f g         .   .       . f f   .               a   . 3 t
+                        t               v   v       v   v   v               2   v
+                                        e   e       e   e   e                   e
+                                        c   c       c   c   c                   c
+   ==================== = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

[...]

Quoted 1 line

+ multiprocess aware

Could you please clarify what was meant by this "multiprocess aware" field?

Thanks,
Matej

#7 lore raw

2016-03-01 14:53, Matej Vido:

Quoted 3 lines

Dňa 27.01.2016 o 21:07 Thomas Monjalon napísal(a):

Quoted 1 line

+ multiprocess aware

Could you please clarify what was meant by this "multiprocess aware" field?

The short answer is "git grep RTE_PROC -- drivers/" Some initializations must be done only in primay process.