doc: remove deprecated ethdev features
PATCH 1/1 doc: remove deprecated ethdev features
As legacy filter API "filter_ctrl" is superseded since 2017 by the rte_flow API, and got the deprecated attribute in DPDK 19.05, it is time to remove the associated features from the matrix. Not documenting deprecated features as supported will avoid confusion.
--- doc/guides/nics/features.rst | 78 ------------------------ doc/guides/nics/features/bnxt.ini | 3 - doc/guides/nics/features/default.ini | 7 --- doc/guides/nics/features/enic.ini | 1 - doc/guides/nics/features/i40e.ini | 4 -- doc/guides/nics/features/i40e_vec.ini | 4 -- doc/guides/nics/features/i40e_vf.ini | 1 - doc/guides/nics/features/i40e_vf_vec.ini | 1 - doc/guides/nics/features/igb.ini | 4 -- doc/guides/nics/features/ipn3ke.ini | 4 -- doc/guides/nics/features/ixgbe.ini | 5 -- doc/guides/nics/features/ixgbe_vec.ini | 5 -- doc/guides/nics/features/mlx5.ini | 1 - doc/guides/nics/features/qede.ini | 3 - 14 files changed, 121 deletions(-)
doc/guides/nics/features.rst +0 -78
@@ -366,84 +366,6 @@ Supports filtering of a VLAN Tag identifier. * **[related] API**: ``rte_eth_dev_vlan_filter()``. -.. _nic_features_ethertype_filter: - -Ethertype filter ----------------- - -Supports filtering on Ethernet type. - -* **[implements] eth_dev_ops**: ``filter_ctrl:RTE_ETH_FILTER_ETHERTYPE``. -* **[related] API**: ``rte_eth_dev_filter_ctrl()``, ``rte_eth_dev_filter_supported()``. - -.. _nic_features_ntuple_filter: - -N-tuple filter --------------- - -Supports filtering on N-tuple values. - -* **[implements] eth_dev_ops**: ``filter_ctrl:RTE_ETH_FILTER_NTUPLE``. -* **[related] API**: ``rte_eth_dev_filter_ctrl()``, ``rte_eth_dev_filter_supported()``. - - -.. _nic_features_syn_filter: - -SYN filter ----------- - -Supports TCP syn filtering. - -* **[implements] eth_dev_ops**: ``filter_ctrl:RTE_ETH_FILTER_SYN``. -* **[related] API**: ``rte_eth_dev_filter_ctrl()``, ``rte_eth_dev_filter_supported()``. - - -.. _nic_features_tunnel_filter: - -Tunnel filter -------------- - -Supports tunnel filtering. - -* **[implements] eth_dev_ops**: ``filter_ctrl:RTE_ETH_FILTER_TUNNEL``. -* **[related] API**: ``rte_eth_dev_filter_ctrl()``, ``rte_eth_dev_filter_supported()``. - - -.. _nic_features_flexible_filter: - -Flexible filter ---------------- - -Supports a flexible (non-tuple or Ethertype) filter. - -* **[implements] eth_dev_ops**: ``filter_ctrl:RTE_ETH_FILTER_FLEXIBLE``. -* **[related] API**: ``rte_eth_dev_filter_ctrl()``, ``rte_eth_dev_filter_supported()``. - - -.. _nic_features_hash_filter: - -Hash filter ------------ - -Supports Hash filtering. - -* **[implements] eth_dev_ops**: ``filter_ctrl:RTE_ETH_FILTER_HASH``. -* **[related] API**: ``rte_eth_dev_filter_ctrl()``, ``rte_eth_dev_filter_supported()``. - - -.. _nic_features_flow_director: - -Flow director -------------- - -Supports Flow Director style filtering to queues. - -* **[implements] eth_dev_ops**: ``filter_ctrl:RTE_ETH_FILTER_FDIR``. -* **[provides] mbuf**: ``mbuf.ol_flags:`` ``PKT_RX_FDIR``, ``PKT_RX_FDIR_ID``, - ``PKT_RX_FDIR_FLX``. -* **[related] API**: ``rte_eth_dev_filter_ctrl()``, ``rte_eth_dev_filter_supported()``. - - .. _nic_features_flow_control: Flow control
doc/guides/nics/features/bnxt.ini +0 -3
@@ -23,9 +23,6 @@ RSS reta update = Y VMDq = Y SR-IOV = Y VLAN filter = Y -Ethertype filter = Y -N-tuple filter = Y -Flow director = Y Flow control = Y Flow API = Y CRC offload = Y
doc/guides/nics/features/default.ini +0 -7
@@ -36,13 +36,6 @@ VMDq = SR-IOV = DCB = VLAN filter = -Ethertype filter = -N-tuple filter = -SYN filter = -Tunnel filter = -Flexible filter = -Hash filter = -Flow director = Flow control = Flow API = Rate limitation =
doc/guides/nics/features/enic.ini +0 -1
@@ -24,7 +24,6 @@ Inner RSS = Y SR-IOV = Y CRC offload = Y VLAN offload = Y -Flow director = Y Flow API = Y L3 checksum offload = Y L4 checksum offload = Y
doc/guides/nics/features/i40e.ini +0 -4
@@ -25,10 +25,6 @@ VMDq = Y SR-IOV = Y DCB = Y VLAN filter = Y -Ethertype filter = Y -Tunnel filter = Y -Hash filter = Y -Flow director = Y Flow control = Y Flow API = Y Traffic mirroring = Y
doc/guides/nics/features/i40e_vec.ini +0 -4
@@ -23,10 +23,6 @@ VMDq = Y SR-IOV = Y DCB = Y VLAN filter = Y -Ethertype filter = Y -Tunnel filter = Y -Hash filter = Y -Flow director = Y Flow control = Y Traffic mirroring = Y Timesync = Y
doc/guides/nics/features/i40e_vf.ini +0 -1
@@ -18,7 +18,6 @@ RSS hash = Y RSS key update = Y RSS reta update = Y VLAN filter = Y -Hash filter = Y CRC offload = Y VLAN offload = Y QinQ offload = Y
doc/guides/nics/features/i40e_vf_vec.ini +0 -1
@@ -18,7 +18,6 @@ RSS hash = Y RSS key update = Y RSS reta update = Y VLAN filter = Y -Hash filter = Y Rx descriptor status = Y Tx descriptor status = Y Basic stats = Y
doc/guides/nics/features/igb.ini +0 -4
@@ -22,10 +22,6 @@ VMDq = Y SR-IOV = Y DCB = Y VLAN filter = Y -Ethertype filter = Y -N-tuple filter = Y -SYN filter = Y -Flexible filter = Y Flow control = Y Flow API = Y CRC offload = Y
doc/guides/nics/features/ipn3ke.ini +0 -4
@@ -25,10 +25,6 @@ VMDq = Y SR-IOV = Y DCB = Y VLAN filter = Y -Ethertype filter = Y -Tunnel filter = Y -Hash filter = Y -Flow director = Y Flow control = Y Flow API = Y Traffic mirroring = Y
doc/guides/nics/features/ixgbe.ini +0 -5
@@ -24,11 +24,6 @@ VMDq = Y SR-IOV = Y DCB = Y VLAN filter = Y -Ethertype filter = Y -N-tuple filter = Y -SYN filter = Y -Tunnel filter = Y -Flow director = Y Flow control = Y Flow API = Y Rate limitation = Y
doc/guides/nics/features/ixgbe_vec.ini +0 -5
@@ -24,11 +24,6 @@ VMDq = Y SR-IOV = Y DCB = Y VLAN filter = Y -Ethertype filter = Y -N-tuple filter = Y -SYN filter = Y -Tunnel filter = Y -Flow director = Y Flow control = Y Rate limitation = Y Traffic mirroring = Y
doc/guides/nics/features/mlx5.ini +0 -1
@@ -25,7 +25,6 @@ RSS reta update = Y Inner RSS = Y SR-IOV = Y VLAN filter = Y -Flow director = Y Flow control = Y Flow API = Y CRC offload = Y
doc/guides/nics/features/qede.ini +0 -3
@@ -19,9 +19,6 @@ RSS hash = Y RSS key update = Y RSS reta update = Y VLAN filter = Y -N-tuple filter = Y -Tunnel filter = Y -Flow director = Y Flow control = Y Flow API = Y CRC offload = Y
Signature · 1 line
2.21.0
Quoted 6 lines · Thomas Monjalon
As legacy filter API "
filter_ctrl" is superseded since 2017 by therte_flowAPI, and got the deprecated attribute in DPDK 19.05, it is time to remove the associated features from the matrix. Not documenting deprecated features as supported will avoid confusion.Signed-off-by Thomas Monjalon <[email protected]>
Jerin Jacob Kollanukkaran
Acked-byQuoted 19 lines
-----Original Message-----
From: dev <[email protected]> On Behalf Of Andrew Rybchenko
Sent: Wednesday, July 31, 2019 3:04 PM
To: Thomas Monjalon <[email protected]>; John McNamara <[email protected]>; Marko Kovacevic <[email protected]>; Ajit Khaparde <[email protected]>; Somnath Kotur <[email protected]>; Ferruh Yigit <[email protected]>; John Daley <[email protected]>; Hyong Youb Kim <[email protected]>; Beilei Xing <[email protected]>; Qi Zhang <[email protected]>; Wenzhuo Lu <[email protected]>; Rosen Xu <[email protected]>; Konstantin Ananyev <[email protected]>; Shahaf Shuler <[email protected]>; Yongseok Koh <[email protected]>; Viacheslav Ovsiienko <[email protected]>; Rasesh Mody <[email protected]>; Shahed Shaikh <[email protected]>
Cc: [email protected]
Subject: Re: [dpdk-dev] [PATCH] doc: remove deprecated ethdev featuresOn 7/30/19 6:57 PM, Thomas Monjalon wrote:
Quoted 8 lines
Quoted 6 lines
As legacy filter API "
filter_ctrl" is superseded since 2017 by therte_flowAPI, and got the deprecated attribute in DPDK 19.05, it is time to remove the associated features from the matrix.
Not documenting deprecated features as supported will avoid confusion.Signed-off-by Thomas Monjalon <[email protected]>Acked-by Andrew Rybchenko <[email protected]>
Ajit Khaparde
Acked-byQuoted 24 lines · Jerin Jacob Kollanukkaran
Quoted 24 lines
-----Original Message-----
From: dev <[email protected]> On Behalf Of Andrew Rybchenko
Sent: Wednesday, July 31, 2019 3:04 PM
To: Thomas Monjalon <[email protected]>; John McNamara <[email protected]>; Marko Kovacevic <[email protected]>; Ajit Khaparde <[email protected]>; Somnath Kotur <[email protected]>; Ferruh Yigit <[email protected]>; John Daley <[email protected]>; Hyong Youb Kim <[email protected]>; Beilei Xing <[email protected]>; Qi Zhang <[email protected]>; Wenzhuo Lu <[email protected]>; Rosen Xu <[email protected]>; Konstantin Ananyev <[email protected]>; Shahaf Shuler <[email protected]>; Yongseok Koh <[email protected]>; Viacheslav Ovsiienko <[email protected]>; Rasesh Mody <[email protected]>; Shahed Shaikh <[email protected]>
Cc: [email protected]
Subject: Re: [dpdk-dev] [PATCH] doc: remove deprecated ethdev featuresQuoted 5 lines · Thomas Monjalon
As legacy filter API "
filter_ctrl" is superseded since 2017 by therte_flowAPI, and got the deprecated attribute in DPDK 19.05, it is time to remove the associated features from the matrix.
Not documenting deprecated features as supported will avoid confusion.
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Thomas Monjalon <[email protected]>Acked-by Andrew Rybchenko <[email protected]>Acked-by Jerin Jacob <[email protected]>
Thomas Monjalon
AppliedQuoted 9 lines
Quoted 8 lines
Quoted 7 lines
Quoted 6 lines
As legacy filter API "
filter_ctrl" is superseded since 2017 by therte_flowAPI, and got the deprecated attribute in DPDK 19.05, it is time to remove the associated features from the matrix.
Not documenting deprecated features as supported will avoid confusion.Signed-off-by Thomas Monjalon <[email protected]>Acked-by Andrew Rybchenko <[email protected]>Acked-by Jerin Jacob <[email protected]>Acked-by Ajit Khaparde <[email protected]>
Applied
Quoted 7 lines · Thomas Monjalon
As legacy filter API "
filter_ctrl" is superseded since 2017 by therte_flowAPI, and got the deprecated attribute in DPDK 19.05, it is time to remove the associated features from the matrix. Not documenting deprecated features as supported will avoid confusion.Signed-off-by Thomas Monjalon <[email protected]>
Quoted 16 lines
--- doc/guides/nics/features.rst | 78 ------------------------ doc/guides/nics/features/bnxt.ini | 3 - doc/guides/nics/features/default.ini | 7 --- doc/guides/nics/features/enic.ini | 1 - doc/guides/nics/features/i40e.ini | 4 -- doc/guides/nics/features/i40e_vec.ini | 4 -- doc/guides/nics/features/i40e_vf.ini | 1 - doc/guides/nics/features/i40e_vf_vec.ini | 1 - doc/guides/nics/features/igb.ini | 4 -- doc/guides/nics/features/ipn3ke.ini | 4 -- doc/guides/nics/features/ixgbe.ini | 5 -- doc/guides/nics/features/ixgbe_vec.ini | 5 -- doc/guides/nics/features/mlx5.ini | 1 - doc/guides/nics/features/qede.ini | 3 - 14 files changed, 121 deletions(-)
The drivers docs still list and/or describe those features. Is this intended ?
Example:
https://git.dpdk.org/dpdk/tree/doc/guides/nics/enic.rst#n505
https://git.dpdk.org/dpdk/tree/doc/guides/nics/i40e.rst#n16
etc...
Signature · 1 line
David Marchand
31/07/2019 11:45, David Marchand:
Quoted 25 lines · Thomas Monjalon
Quoted 7 lines
As legacy filter API "
filter_ctrl" is superseded since 2017 by therte_flowAPI, and got the deprecated attribute in DPDK 19.05, it is time to remove the associated features from the matrix. Not documenting deprecated features as supported will avoid confusion.Signed-off-by Thomas Monjalon <[email protected]>Quoted 16 lines
--- doc/guides/nics/features.rst | 78 ------------------------ doc/guides/nics/features/bnxt.ini | 3 - doc/guides/nics/features/default.ini | 7 --- doc/guides/nics/features/enic.ini | 1 - doc/guides/nics/features/i40e.ini | 4 -- doc/guides/nics/features/i40e_vec.ini | 4 -- doc/guides/nics/features/i40e_vf.ini | 1 - doc/guides/nics/features/i40e_vf_vec.ini | 1 - doc/guides/nics/features/igb.ini | 4 -- doc/guides/nics/features/ipn3ke.ini | 4 -- doc/guides/nics/features/ixgbe.ini | 5 -- doc/guides/nics/features/ixgbe_vec.ini | 5 -- doc/guides/nics/features/mlx5.ini | 1 - doc/guides/nics/features/qede.ini | 3 - 14 files changed, 121 deletions(-)
Quoted 7 lines
The drivers docs still list and/or describe those features. Is this intended ?
Example:
https://git.dpdk.org/dpdk/tree/doc/guides/nics/enic.rst#n505
https://git.dpdk.org/dpdk/tree/doc/guides/nics/i40e.rst#n16
etc...
Yes, we should find the same features with the legacy API and rte_flow. I think each PMD can adjust their documentation while finishing the migration to rte_flow API.
Quoted 6 lines · Thomas Monjalon
As legacy filter API "
filter_ctrl" is superseded since 2017 by therte_flowAPI, and got the deprecated attribute in DPDK 19.05, it is time to remove the associated features from the matrix. Not documenting deprecated features as supported will avoid confusion.Signed-off-by Thomas Monjalon <[email protected]>
<...>
Quoted 8 lines
doc/guides/nics/features/default.ini +0
-0@@ -36,13 +36,6 @@ VMDq = SR-IOV = DCB = VLAN filter =
doc/guides/nics/features/default.ini VMDq = · line 41
Quoted 10 lines
doc/guides/nics/features/default.ini +0
-7-Ethertype filter = -N-tuple filter = -SYN filter = -Tunnel filter = -Flexible filter = -Hash filter = -Flow director = Flow control = Flow API = Rate limitation =
I suggest adding these features back!
"Flow director" and other filters are features that device/driver supports.
And "Flow API" and "filter_ctrl" are methods used to implement these features. Indeed they are only different APIs to get input from application/user.
It doesn't really mean much to say "Flow API" is supported? So what is really supported? It matters more what feature is supported.
Since we are saying old method is deprecated, we can update the feature list of drivers which implements filtering features using old method as not supported. And that is the case with this patch since old APIs are marked as deprecated, users can't use them to enable a filtering feature.
Indeed I am for removing the "Flow API" from feature list, first it is not a feature, second if it is only method to enable a filtering, and if filtering is enabled in a driver, what is the point of redundant "Flow API" listing?
I can make a quick patch if there is no objection, thanks.
Cc Adrien
Quoted 42 lines · Ferruh
Quoted 6 lines · Thomas Monjalon
As legacy filter API "
filter_ctrl" is superseded since 2017 by therte_flowAPI, and got the deprecated attribute in DPDK 19.05, it is time to remove the associated features from the matrix. Not documenting deprecated features as supported will avoid confusion.Signed-off-by Thomas Monjalon <[email protected]><...>
Quoted 8 lines
doc/guides/nics/features/default.ini +0
-0@@ -36,13 +36,6 @@ VMDq = SR-IOV = DCB = VLAN filter =doc/guides/nics/features/default.ini VMDq = · line 41
Quoted 10 lines
doc/guides/nics/features/default.ini +0
-7-Ethertype filter = -N-tuple filter = -SYN filter = -Tunnel filter = -Flexible filter = -Hash filter = -Flow director = Flow control = Flow API = Rate limitation =I suggest adding these features back!
"Flow director" and other filters are features that device/driver supports.
And "Flow API" and "
filter_ctrl" are methods used to implement these features. Indeed they are only different APIs to get input from application/user.It doesn't really mean much to say "Flow API" is supported? So what is really supported? It matters more what feature is supported.
Since we are saying old method is deprecated, we can update the feature list of drivers which implements filtering features using old method as not supported. And that is the case with this patch since old APIs are marked as deprecated, users can't use them to enable a filtering feature.
Quoted 5 lines
Indeed I am for removing the "Flow API" from feature list, first it is not a feature, second if it is only method to enable a filtering, and if filtering is enabled in a driver, what is the point of redundant "Flow API" listing?
I can make a quick patch if there is no objection, thanks.
As I understand it was a decision to avoid details about flow API support in features matrix. Mainly because matrix would be really huge in attempt to represent it. The question is why filters/patterns mentioned above are better than others and should be mentioned.
I'm not against adding some details, just want to understand criteria. Flexible and hash are definitely not well defined.
What is flow director and which features should be supported to say yes?
Quoted 51 lines · Andrew Rybchenko
Cc Adrien
Quoted 42 lines · Ferruh
Quoted 6 lines · Thomas Monjalon
As legacy filter API "
filter_ctrl" is superseded since 2017 by therte_flowAPI, and got the deprecated attribute in DPDK 19.05, it is time to remove the associated features from the matrix. Not documenting deprecated features as supported will avoid confusion.Signed-off-by Thomas Monjalon <[email protected]><...>
Quoted 8 lines
doc/guides/nics/features/default.ini +0
-0@@ -36,13 +36,6 @@ VMDq = SR-IOV = DCB = VLAN filter =doc/guides/nics/features/default.ini VMDq = · line 41
Quoted 10 lines
doc/guides/nics/features/default.ini +0
-7-Ethertype filter = -N-tuple filter = -SYN filter = -Tunnel filter = -Flexible filter = -Hash filter = -Flow director = Flow control = Flow API = Rate limitation =I suggest adding these features back!
"Flow director" and other filters are features that device/driver supports.
And "Flow API" and "
filter_ctrl" are methods used to implement these features. Indeed they are only different APIs to get input from application/user.It doesn't really mean much to say "Flow API" is supported? So what is really supported? It matters more what feature is supported.
Since we are saying old method is deprecated, we can update the feature list of drivers which implements filtering features using old method as not supported. And that is the case with this patch since old APIs are marked as deprecated, users can't use them to enable a filtering feature.
Quoted 5 lines
Indeed I am for removing the "Flow API" from feature list, first it is not a feature, second if it is only method to enable a filtering, and if filtering is enabled in a driver, what is the point of redundant "Flow API" listing?
I can make a quick patch if there is no objection, thanks.
Quoted 8 lines
As I understand it was a decision to avoid details about flow API support in features matrix. Mainly because matrix would be really huge in attempt to represent it. The question is why filters/patterns mentioned above are better than others and should be mentioned.
I'm not against adding some details, just want to understand criteria. Flexible and hash are definitely not well defined.
What is flow director and which features should be supported to say yes?
The criteria I have is what users will be interested about a device/driver.
Will it be really huge to list filtering capabilities of the devices? I believe we can group them into a few groups like above.
Or at least keep existing one and improve it by time and +1 to clarify them more but that is something else.
A device can have capabilities but it is not easy to find if that capability has been enabled via DPDK, this kind of feature matrix works for it, and all features together makes it much easier than digging datasheets and code.
Saying that "Flow API" is enabled for a driver doesn't really gives any information to the user if they are interested what kind of filtering features are supported by that device/driver.
Quoted 52 lines
Quoted 35 lines
Quoted 29 lines
Quoted 4 lines
doc/guides/nics/features/default.ini +0
-0@@ -36,13 +36,6 @@ VMDq = SR-IOV = DCB = VLAN filter =doc/guides/nics/features/default.ini VMDq = · line 41
Quoted 10 lines
doc/guides/nics/features/default.ini +0
-7-Ethertype filter = -N-tuple filter = -SYN filter = -Tunnel filter = -Flexible filter = -Hash filter = -Flow director = Flow control = Flow API = Rate limitation =I suggest adding these features back!
"Flow director" and other filters are features that device/driver supports.
And "Flow API" and "
filter_ctrl" are methods used to implement these features. Indeed they are only different APIs to get input from application/user.It doesn't really mean much to say "Flow API" is supported? So what is really supported? It matters more what feature is supported.
Since we are saying old method is deprecated, we can update the feature list of drivers which implements filtering features using old method as not supported. And that is the case with this patch since old APIs are marked as deprecated, users can't use them to enable a filtering feature.
Quoted 5 lines
Indeed I am for removing the "Flow API" from feature list, first it is not a feature, second if it is only method to enable a filtering, and if filtering is enabled in a driver, what is the point of redundant "Flow API" listing?
I can make a quick patch if there is no objection, thanks.
Quoted 8 lines
As I understand it was a decision to avoid details about flow API support in features matrix. Mainly because matrix would be really huge in attempt to represent it. The question is why filters/patterns mentioned above are better than others and should be mentioned.
I'm not against adding some details, just want to understand criteria. Flexible and hash are definitely not well defined.
What is flow director and which features should be supported to say yes?The criteria I have is what users will be interested about a device/driver.
Will it be really huge to list filtering capabilities of the devices? I believe we can group them into a few groups like above.
Or at least keep existing one and improve it by time and +1 to clarify them more but that is something else.
Quoted 7 lines
A device can have capabilities but it is not easy to find if that capability has been enabled via DPDK, this kind of feature matrix works for it, and all features together makes it much easier than digging datasheets and code.
Saying that "Flow API" is enabled for a driver doesn't really gives any information to the user if they are interested what kind of filtering features are supported by that device/driver.
I agree. I think, we need to enumerate rte flow patterns and actions supported by the PMD.
Since there was no single place such documentation, we added the same in PMD documentation
See 39.8. RTE Flow Support at https://doc.dpdk.org/guides/nics/octeontx2.html
And IMO, We should not add deprecated features in the features matrix as new PMDs are not planning to implement the deprecated APIs. That makes, matrix looks
new PMDs do not implement a lot of features, but in reality, those are deprecated and never planning to implement if even though HW supports it.
Quoted 66 lines · Jerin Jacob
Quoted 52 lines
Quoted 35 lines
Quoted 29 lines
Quoted 4 lines
doc/guides/nics/features/default.ini +0
-0@@ -36,13 +36,6 @@ VMDq = SR-IOV = DCB = VLAN filter =doc/guides/nics/features/default.ini VMDq = · line 41
Quoted 10 lines
doc/guides/nics/features/default.ini +0
-7-Ethertype filter = -N-tuple filter = -SYN filter = -Tunnel filter = -Flexible filter = -Hash filter = -Flow director = Flow control = Flow API = Rate limitation =I suggest adding these features back!
"Flow director" and other filters are features that device/driver supports.
And "Flow API" and "
filter_ctrl" are methods used to implement these features. Indeed they are only different APIs to get input from application/user.It doesn't really mean much to say "Flow API" is supported? So what is really supported? It matters more what feature is supported.
Since we are saying old method is deprecated, we can update the feature list of drivers which implements filtering features using old method as not supported. And that is the case with this patch since old APIs are marked as deprecated, users can't use them to enable a filtering feature.
Quoted 5 lines
Indeed I am for removing the "Flow API" from feature list, first it is not a feature, second if it is only method to enable a filtering, and if filtering is enabled in a driver, what is the point of redundant "Flow API" listing?
I can make a quick patch if there is no objection, thanks.
Quoted 8 lines
As I understand it was a decision to avoid details about flow API support in features matrix. Mainly because matrix would be really huge in attempt to represent it. The question is why filters/patterns mentioned above are better than others and should be mentioned.
I'm not against adding some details, just want to understand criteria. Flexible and hash are definitely not well defined.
What is flow director and which features should be supported to say yes?The criteria I have is what users will be interested about a device/driver.
Will it be really huge to list filtering capabilities of the devices? I believe we can group them into a few groups like above.
Or at least keep existing one and improve it by time and +1 to clarify them more but that is something else.Quoted 7 lines
A device can have capabilities but it is not easy to find if that capability has been enabled via DPDK, this kind of feature matrix works for it, and all features together makes it much easier than digging datasheets and code.
Saying that "Flow API" is enabled for a driver doesn't really gives any information to the user if they are interested what kind of filtering features are supported by that device/driver.
I agree. I think, we need to enumerate rte flow patterns and actions supported by the PMD.
Since there was no single place such documentation, we added the same in PMD documentation
See 39.8. RTE Flow Support at https://doc.dpdk.org/guides/nics/octeontx2.html
Quoted 6 lines
And IMO, We should not add deprecated features in the features matrix as new PMDs are not planning to implement the deprecated APIs. That makes, matrix looks
new PMDs do not implement a lot of features, but in reality, those are deprecated and never planning to implement if even though HW supports it.
+1 to not add deprecated features to the matrix, but those removed ones [1] are not deprecated. Implementing them via "filter_ctrl" is deprecated. Below features still can be implemented via "Flow API", that is why I am for adding them back to default.ini.
And announce them as supported per PMD only if they are implemented via Flow API.
[1]
Ethertype filter = N-tuple filter = SYN filter = Tunnel filter = Flexible filter = Hash filter = Flow director =
Quoted 75 lines · Ferruh Yigit
Quoted 66 lines · Jerin Jacob
Quoted 52 lines
Quoted 35 lines
Quoted 29 lines
Quoted 4 lines
doc/guides/nics/features/default.ini +0
-0@@ -36,13 +36,6 @@ VMDq = SR-IOV = DCB = VLAN filter =doc/guides/nics/features/default.ini VMDq = · line 41
Quoted 10 lines
doc/guides/nics/features/default.ini +0
-7-Ethertype filter = -N-tuple filter = -SYN filter = -Tunnel filter = -Flexible filter = -Hash filter = -Flow director = Flow control = Flow API = Rate limitation =I suggest adding these features back!
"Flow director" and other filters are features that device/driver supports.
And "Flow API" and "
filter_ctrl" are methods used to implement these features. Indeed they are only different APIs to get input from application/user.It doesn't really mean much to say "Flow API" is supported? So what is really supported? It matters more what feature is supported.
Since we are saying old method is deprecated, we can update the feature list of drivers which implements filtering features using old method as not supported. And that is the case with this patch since old APIs are marked as deprecated, users can't use them to enable a filtering feature.
Quoted 5 lines
Indeed I am for removing the "Flow API" from feature list, first it is not a feature, second if it is only method to enable a filtering, and if filtering is enabled in a driver, what is the point of redundant "Flow API" listing?
I can make a quick patch if there is no objection, thanks.
Quoted 8 lines
As I understand it was a decision to avoid details about flow API support in features matrix. Mainly because matrix would be really huge in attempt to represent it. The question is why filters/patterns mentioned above are better than others and should be mentioned.
I'm not against adding some details, just want to understand criteria. Flexible and hash are definitely not well defined.
What is flow director and which features should be supported to say yes?The criteria I have is what users will be interested about a device/driver.
Will it be really huge to list filtering capabilities of the devices? I believe we can group them into a few groups like above.
Or at least keep existing one and improve it by time and +1 to clarify them more but that is something else.Quoted 7 lines
A device can have capabilities but it is not easy to find if that capability has been enabled via DPDK, this kind of feature matrix works for it, and all features together makes it much easier than digging datasheets and code.
Saying that "Flow API" is enabled for a driver doesn't really gives any information to the user if they are interested what kind of filtering features are supported by that device/driver.
I agree. I think, we need to enumerate rte flow patterns and actions supported by the PMD.
Since there was no single place such documentation, we added the same in PMD documentation
See 39.8. RTE Flow Support at https://doc.dpdk.org/guides/nics/octeontx2.htmlQuoted 6 lines
And IMO, We should not add deprecated features in the features matrix as new PMDs are not planning to implement the deprecated APIs. That makes, matrix looks
new PMDs do not implement a lot of features, but in reality, those are deprecated and never planning to implement if even though HW supports it.
Quoted 4 lines
+1 to not add deprecated features to the matrix, but those removed ones [1] are not deprecated. Implementing them via "
filter_ctrl" is deprecated. Below features still can be implemented via "Flow API", that is why I am for adding them back to default.ini.
Got it. Instead of [1], Can we document it as in the form of rte_flow semantics(patterns and actions) so
that for the end-user it is very clear. Reason being:
# Expressing "Tunnel filter" or "N-tupe filter" or "Flexible filter" or "Flow director" etc is very vague in rte_flow semantics and function is not just limited with above-fixed functions # The new PMDs also can express the rte_flow aka "Flow API" support in the rte_flow semantics.
Quoted 10 lines
And announce them as supported per PMD only if they are implemented via Flow API.
[1]
Ethertype filter = N-tuple filter = SYN filter = Tunnel filter = Flexible filter = Hash filter = Flow director =
Quoted 109 lines · Jerin Jacob
Quoted 18 lines · Ferruh Yigit
Quoted 16 lines · Jerin Jacob
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 4 lines
(quoted diff) +0
-0@@ -36,13 +36,6 @@ VMDq = SR-IOV = DCB = VLAN filter =Review VMDq = · line 41
Quoted 10 lines
(quoted diff) +0
-7-Ethertype filter = -N-tuple filter = -SYN filter = -Tunnel filter = -Flexible filter = -Hash filter = -Flow director = Flow control = Flow API = Rate limitation =I suggest adding these features back!
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Flow director" and other filters are features that device/driver
supports.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
And "Flow API" and "
filter_ctrl" are methods used to implementthese features.
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Indeed they are only different APIs to get input from
application/user.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
It doesn't really mean much to say "Flow API" is supported? So what
is really
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
supported? It matters more what feature is supported.
Since we are saying old method is deprecated, we can update the
feature list of
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
drivers which implements filtering features using old method as not
supported.
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
And that is the case with this patch since old APIs are marked as
deprecated,
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
users can't use them to enable a filtering feature.
Indeed I am for removing the "Flow API" from feature list, first it
is not a
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
feature, second if it is only method to enable a filtering, and if
filtering is
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
enabled in a driver, what is the point of redundant "Flow API"
listing?
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
I can make a quick patch if there is no objection, thanks.
As I understand it was a decision to avoid details about flow API
support
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
in features matrix. Mainly because matrix would be really huge in attempt to represent it. The question is why filters/patterns
mentioned
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
above are better than others and should be mentioned. I'm not against adding some details, just want to understand
criteria.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Flexible and hash are definitely not well defined.
What is flow director and which features should be supported to sayyes?
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
The criteria I have is what users will be interested about a
device/driver.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Will it be really huge to list filtering capabilities of the devices?
I believe
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
we can group them into a few groups like above.
Or at least keep existing one and improve it by time and +1 toclarify them more
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
but that is something else.
A device can have capabilities but it is not easy to find if that
capability has
Quoted 1 line
Quoted 1 line
Quoted 1 line
been enabled via DPDK, this kind of feature matrix works for it, and
all
Quoted 1 line
Quoted 1 line
Quoted 1 line
features together makes it much easier than digging datasheets and
code.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Saying that "Flow API" is enabled for a driver doesn't really gives
any
Quoted 1 line
Quoted 1 line
Quoted 1 line
information to the user if they are interested what kind of filtering
features
Quoted 7 lines
Quoted 7 lines
Quoted 1 line
are supported by that device/driver.
I agree. I think, we need to enumerate rte flow patterns and actions supported by the PMD.
Since there was no single place such documentation, we added the same in PMD documentation
See 39.8. RTE Flow Support athttps://doc.dpdk.org/guides/nics/octeontx2.html
Quoted 2 lines
Quoted 2 lines
And IMO, We should not add deprecated features in the features matrix
as
Quoted 4 lines
Quoted 4 lines
new PMDs are not planning to implement the deprecated APIs. That makes, matrix looks
new PMDs do not implement a lot of features, but in reality, those are deprecated and never planning to implement if even though HW supportsit.
Quoted 3 lines
Quoted 1 line
+1 to not add deprecated features to the matrix, but those removed ones
[1] are
Quoted 2 lines
not deprecated. Implementing them via "
filter_ctrl" is deprecated. Below features still can be implemented via "Flow API", that is why I am foradding
Quoted 1 line
them back to default.ini.
Quoted 9 lines
Got it. Instead of [1], Can we document it as in the form of
rte_flowsemantics(patterns and actions) so
that for the end-user it is very clear. Reason being:
# Expressing "Tunnel filter" or "N-tupe filter" or "Flexible filter" or "Flow director" etc is very vague inrte_flowsemantics and function is not just limited with above-fixed functions # The new PMDs also can express therte_flowaka "Flow API" support in therte_flowsemantics.
+1
Quoted 14 lines
Quoted 3 lines
And announce them as supported per PMD only if they are implemented via
Flow API.
Quoted 9 lines
[1]
Ethertype filter = N-tuple filter = SYN filter = Tunnel filter = Flexible filter = Hash filter = Flow director =
Quoted 81 lines · Jerin Jacob
Quoted 75 lines · Ferruh Yigit
Quoted 66 lines · Jerin Jacob
Quoted 52 lines
Quoted 35 lines
Quoted 29 lines
Quoted 4 lines
(quoted diff) +0
-0@@ -36,13 +36,6 @@ VMDq = SR-IOV = DCB = VLAN filter =Review VMDq = · line 41
Quoted 10 lines
(quoted diff) +0
-7-Ethertype filter = -N-tuple filter = -SYN filter = -Tunnel filter = -Flexible filter = -Hash filter = -Flow director = Flow control = Flow API = Rate limitation =I suggest adding these features back!
"Flow director" and other filters are features that device/driver supports.
And "Flow API" and "
filter_ctrl" are methods used to implement these features. Indeed they are only different APIs to get input from application/user.It doesn't really mean much to say "Flow API" is supported? So what is really supported? It matters more what feature is supported.
Since we are saying old method is deprecated, we can update the feature list of drivers which implements filtering features using old method as not supported. And that is the case with this patch since old APIs are marked as deprecated, users can't use them to enable a filtering feature.
Quoted 5 lines
Indeed I am for removing the "Flow API" from feature list, first it is not a feature, second if it is only method to enable a filtering, and if filtering is enabled in a driver, what is the point of redundant "Flow API" listing?
I can make a quick patch if there is no objection, thanks.
Quoted 8 lines
As I understand it was a decision to avoid details about flow API support in features matrix. Mainly because matrix would be really huge in attempt to represent it. The question is why filters/patterns mentioned above are better than others and should be mentioned.
I'm not against adding some details, just want to understand criteria. Flexible and hash are definitely not well defined.
What is flow director and which features should be supported to say yes?The criteria I have is what users will be interested about a device/driver.
Will it be really huge to list filtering capabilities of the devices? I believe we can group them into a few groups like above.
Or at least keep existing one and improve it by time and +1 to clarify them more but that is something else.Quoted 7 lines
A device can have capabilities but it is not easy to find if that capability has been enabled via DPDK, this kind of feature matrix works for it, and all features together makes it much easier than digging datasheets and code.
Saying that "Flow API" is enabled for a driver doesn't really gives any information to the user if they are interested what kind of filtering features are supported by that device/driver.
I agree. I think, we need to enumerate rte flow patterns and actions supported by the PMD.
Since there was no single place such documentation, we added the same in PMD documentation
See 39.8. RTE Flow Support at https://doc.dpdk.org/guides/nics/octeontx2.htmlQuoted 6 lines
And IMO, We should not add deprecated features in the features matrix as new PMDs are not planning to implement the deprecated APIs. That makes, matrix looks
new PMDs do not implement a lot of features, but in reality, those are deprecated and never planning to implement if even though HW supports it.Quoted 4 lines
+1 to not add deprecated features to the matrix, but those removed ones [1] are not deprecated. Implementing them via "
filter_ctrl" is deprecated. Below features still can be implemented via "Flow API", that is why I am for adding them back to default.ini.
Quoted 8 lines
Got it. Instead of [1], Can we document it as in the form of
rte_flowsemantics(patterns and actions) so
that for the end-user it is very clear. Reason being:
# Expressing "Tunnel filter" or "N-tupe filter" or "Flexible filter" or "Flow director" etc is very vague inrte_flowsemantics and function is not just limited with above-fixed functions # The new PMDs also can express therte_flowaka "Flow API" support in therte_flowsemantics.
rte_flow is implementation detail, as well as 'filter_ctrl', I believe listing rte_flow semantic will be too much detail for the feature table.
And end user may be interested in features, as if that drive/device support "Flow Director" or not, instead of rte_flow semantic.
But I can see feature being vague is also problem, perhaps we can have rte_flow level details in features.rst file, will it work?
Quoted 12 lines
Quoted 12 lines
And announce them as supported per PMD only if they are implemented via Flow API.
[1]
Ethertype filter = N-tuple filter = SYN filter = Tunnel filter = Flexible filter = Hash filter = Flow director =
Quoted 123 lines · Ferruh Yigit,
Quoted 1 line · Jerin Jacob
On Tue, Oct 15, 2019 at 9:26 PM Ferruh Yigit <[email protected]>
Quoted 18 lines · wrote:
Quoted 18 lines · Jerin Jacob
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 4 lines
(quoted diff) +0
-0@@ -36,13 +36,6 @@ VMDq = SR-IOV = DCB = VLAN filter =Review VMDq = · line 41
Quoted 10 lines
(quoted diff) +0
-7-Ethertype filter = -N-tuple filter = -SYN filter = -Tunnel filter = -Flexible filter = -Hash filter = -Flow director = Flow control = Flow API = Rate limitation =I suggest adding these features back!
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Flow director" and other filters are features that device/driver
supports.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
And "Flow API" and "
filter_ctrl" are methods used to implementthese features.
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Indeed they are only different APIs to get input from
application/user.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
It doesn't really mean much to say "Flow API" is supported? So what
is really
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
supported? It matters more what feature is supported.
Since we are saying old method is deprecated, we can update the
feature list of
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
drivers which implements filtering features using old method as not
supported.
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
And that is the case with this patch since old APIs are marked as
deprecated,
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
users can't use them to enable a filtering feature.
Indeed I am for removing the "Flow API" from feature list, first it
is not a
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
feature, second if it is only method to enable a filtering, and if
filtering is
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
enabled in a driver, what is the point of redundant "Flow API"
listing?
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
I can make a quick patch if there is no objection, thanks.
As I understand it was a decision to avoid details about flow API
support
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
in features matrix. Mainly because matrix would be really huge in attempt to represent it. The question is why filters/patterns
mentioned
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
above are better than others and should be mentioned. I'm not against adding some details, just want to understand
criteria.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Flexible and hash are definitely not well defined.
What is flow director and which features should be supported to sayyes?
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
The criteria I have is what users will be interested about a
device/driver.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Will it be really huge to list filtering capabilities of the devices?
I believe
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
we can group them into a few groups like above.
Or at least keep existing one and improve it by time and +1 toclarify them more
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
but that is something else.
A device can have capabilities but it is not easy to find if that
capability has
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
been enabled via DPDK, this kind of feature matrix works for it, and
all
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
features together makes it much easier than digging datasheets and
code.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Saying that "Flow API" is enabled for a driver doesn't really gives
any
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
information to the user if they are interested what kind of filtering
features
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 1 line
are supported by that device/driver.
I agree. I think, we need to enumerate rte flow patterns and actions supported by the PMD.
Since there was no single place such documentation, we added the same in PMD documentation
See 39.8. RTE Flow Support athttps://doc.dpdk.org/guides/nics/octeontx2.html
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
And IMO, We should not add deprecated features in the features matrix
as
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
new PMDs are not planning to implement the deprecated APIs. That makes, matrix looks
new PMDs do not implement a lot of features, but in reality, those are deprecated and never planning to implement if even though HW supportsit.
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
+1 to not add deprecated features to the matrix, but those removed ones
[1] are
Quoted 2 lines
Quoted 2 lines
not deprecated. Implementing them via "
filter_ctrl" is deprecated. Below features still can be implemented via "Flow API", that is why I am foradding
Quoted 10 lines
Quoted 1 line
them back to default.ini.
Got it. Instead of [1], Can we document it as in the form of
rte_flowsemantics(patterns and actions) so
that for the end-user it is very clear. Reason being:
# Expressing "Tunnel filter" or "N-tupe filter" or "Flexible filter" or "Flow director" etc is very vague inrte_flowsemantics and function is not just limited with above-fixed functions # The new PMDs also can express therte_flowaka "Flow API" support in therte_flowsemantics.
rte_flowis implementation detail, as well as 'filter_ctrl', I believe listingrte_flowsemantic will be too much detail for the feature table.
Quoted 7 lines
And end user may be interested in features, as if that drive/device support "Flow Director" or not, instead of
rte_flowsemantic.But I can see feature being vague is also problem, perhaps we can have
rte_flow
level details infeatures.rstfile, will it work?
+1 for adding rte_flow level level details in features.rst
IMO, Supported packet types(ptype) also good addition in features list.
Quoted 15 lines
Quoted 3 lines
Quoted 3 lines
And announce them as supported per PMD only if they are implemented via
Flow API.
Quoted 9 lines
Quoted 9 lines
[1]
Ethertype filter = N-tuple filter = SYN filter = Tunnel filter = Flexible filter = Hash filter = Flow director =
Quoted 117 lines · Jerin Jacob
On Wed, 16 Oct, 2019, 3:32 PM Ferruh Yigit, <[email protected] <mailto:[email protected]>> wrote:
On 10/15/2019 5:19 PM, Jerin Jacob wrote:
> On Tue, Oct 15, 2019 at 9:26 PM Ferruh Yigit <[email protected] <mailto:[email protected]>> wrote:
>>
>> On 10/15/2019 3:16 PM, Jerin Jacob wrote:
>>>>>>> @@ -36,13 +36,6 @@ VMDq =
>>>>>>> SR-IOV =
>>>>>>> DCB =
>>>>>>> VLAN filter =
>>>>>>> -Ethertype filter =
>>>>>>> -N-tuple filter =
>>>>>>> -SYN filter =
>>>>>>> -Tunnel filter =
>>>>>>> -Flexible filter =
>>>>>>> -Hash filter =
>>>>>>> -Flow director =
>>>>>>> Flow control =
>>>>>>> Flow API =
>>>>>>> Rate limitation =
>>>>>> I suggest adding these features back!
>>>>>>
>>>>>> "Flow director" and other filters are features that device/driver supports.
>>>>>>
>>>>>> And "Flow API" and "filter_ctrl" are methods used to implement these features.
>>>>>> Indeed they are only different APIs to get input from application/user. >>>>>>
>>>>>> It doesn't really mean much to say "Flow API" is supported? So what is really
>>>>>> supported? It matters more what feature is supported. >>>>>>
>>>>>> Since we are saying old method is deprecated, we can update the feature list of
>>>>>> drivers which implements filtering features using old method as not supported.
>>>>>> And that is the case with this patch since old APIs are marked as deprecated,
>>>>>> users can't use them to enable a filtering feature.
>>>>>>
>>>>>> Indeed I am for removing the "Flow API" from feature list, first it is not a
>>>>>> feature, second if it is only method to enable a filtering, and if filtering is
>>>>>> enabled in a driver, what is the point of redundant "Flow API" listing? >>>>>>
>>>>>> I can make a quick patch if there is no objection, thanks. >>>>>
>>>>> As I understand it was a decision to avoid details about flow API support >>>>> in features matrix. Mainly because matrix would be really huge in >>>>> attempt to represent it. The question is why filters/patterns mentioned >>>>> above are better than others and should be mentioned.
>>>>> I'm not against adding some details, just want to understand criteria. >>>>> Flexible and hash are definitely not well defined.
>>>>> What is flow director and which features should be supported to say yes? >>>>>
>>>
>>>>
>>>> The criteria I have is what users will be interested about a device/driver. >>>>
>>>> Will it be really huge to list filtering capabilities of the devices? I believe
>>>> we can group them into a few groups like above.
>>>> Or at least keep existing one and improve it by time and +1 to clarify them more
>>>> but that is something else.
>>>>
>>>> A device can have capabilities but it is not easy to find if that capability has
>>>> been enabled via DPDK, this kind of feature matrix works for it, and all >>>> features together makes it much easier than digging datasheets and code. >>>>
>>>> Saying that "Flow API" is enabled for a driver doesn't really gives any >>>> information to the user if they are interested what kind of filtering features
>>>> are supported by that device/driver.
>>>
>>> I agree. I think, we need to enumerate rte flow patterns and actions >>> supported by the PMD.
>>> Since there was no single place such documentation, we added the same >>> in PMD documentation
>>> See 39.8. RTE Flow Support at
https://doc.dpdk.org/guides/nics/octeontx2.html
>>>
>>> And IMO, We should not add deprecated features in the features matrix as >>> new PMDs are not planning to implement the deprecated APIs. That >>> makes, matrix looks
>>> new PMDs do not implement a lot of features, but in reality, those are >>> deprecated and never planning to implement if even though HW supports it. >>>
>>
>> +1 to not add deprecated features to the matrix, but those removed ones
[1] are
>> not deprecated. Implementing them via "filter_ctrl" is deprecated. Below >> features still can be implemented via "Flow API", that is why I am for adding >> them back to default.ini.
>
> Got it. Instead of [1], Can we document it as in the form ofrte_flow> semantics(patterns and actions) so
> that for the end-user it is very clear. Reason being:
> # Expressing "Tunnel filter" or "N-tupe filter" or "Flexible filter" > or "Flow director" etc is very vague inrte_flowsemantics
> and function is not just limited with above-fixed functions
> # The new PMDs also can express therte_flowaka "Flow API" support > in therte_flowsemantics.
rte_flowis implementation detail, as well as 'filter_ctrl', I believe listingrte_flowsemantic will be too much detail for the feature table.And end user may be interested in features, as if that drive/device support "Flow Director" or not, instead of
rte_flowsemantic.
Quoted 6 lines
But I can see feature being vague is also problem, perhaps we can have
rte_flowlevel details infeatures.rstfile, will it work?+1 for adding
rte_flowlevel level details infeatures.rst
OK, let me check this
Quoted 2 lines
IMO, Supported packet types(ptype) also good addition in features list.
"Packet type parsing" feature is already there,
http://lxr.dpdk.org/dpdk/v19.08/source/doc/guides/nics/features/default.ini#L53
If you mean the list of supported types, it is possible to get list on runtime via an API, it will be hard to maintain that list in documentation.
Quoted 16 lines
Quoted 5 lines
Quoted 5 lines
And announce them as supported per PMD only if they are implemented via
Flow API.
>>
>> [1]
>> Ethertype filter =
>> N-tuple filter =
>> SYN filter =
>> Tunnel filter =
>> Flexible filter =
>> Hash filter =
>> Flow director =
Quoted 156 lines · Ferruh Yigit,
Quoted 7 lines · Jerin Jacob
On Wed, 16 Oct, 2019, 3:32 PM Ferruh Yigit, <[email protected] <mailto:[email protected]>> wrote:
On 10/15/2019 5:19 PM, Jerin Jacob wrote: > On Tue, Oct 15, 2019 at 9:26 PM Ferruh Yigit <Quoted 12 lines
<mailto:[email protected]>> wrote: >> >> On 10/15/2019 3:16 PM, Jerin Jacob wrote: >>>>>>> @@ -36,13 +36,6 @@ VMDq = >>>>>>> SR-IOV = >>>>>>> DCB = >>>>>>> VLAN filter = >>>>>>> -Ethertype filter = >>>>>>> -N-tuple filter = >>>>>>> -SYN filter = >>>>>>> -Tunnel filter = >>>>>>> -Flexible filter =Quoted 8 lines
>>>>>>> -Hash filter = >>>>>>> -Flow director = >>>>>>> Flow control = >>>>>>> Flow API = >>>>>>> Rate limitation = >>>>>> I suggest adding these features back! >>>>>> >>>>>> "Flow director" and other filters are features thatdevice/driver
Quoted 3 lines
supports.
>>>>>>
>>>>>> And "Flow API" and "filter_ctrl" are methods used toimplement these
Quoted 2 lines
features.
>>>>>> Indeed they are only different APIs to get input fromapplication/user.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
It doesn't really mean much to say "Flow API" is supported?
So what
Quoted 4 lines
is really
>>>>>> supported? It matters more what feature is supported. >>>>>>
>>>>>> Since we are saying old method is deprecated, we can updatethe
Quoted 2 lines
feature list of
>>>>>> drivers which implements filtering features using old methodas not
Quoted 2 lines
supported.
>>>>>> And that is the case with this patch since old APIs aremarked as
Quoted 4 lines
deprecated,
>>>>>> users can't use them to enable a filtering feature. >>>>>>
>>>>>> Indeed I am for removing the "Flow API" from feature list,first it
Quoted 2 lines
is not a
>>>>>> feature, second if it is only method to enable a filtering,and if
Quoted 2 lines
filtering is
>>>>>> enabled in a driver, what is the point of redundant "FlowAPI" listing?
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
I can make a quick patch if there is no objection, thanks.
As I understand it was a decision to avoid details about flow
API support
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
in features matrix. Mainly because matrix would be really huge
in
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
attempt to represent it. The question is why filters/patterns
mentioned
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
above are better than others and should be mentioned. I'm not against adding some details, just want to understand
criteria.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Flexible and hash are definitely not well defined. What is flow director and which features should be supported
to say yes?
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
The criteria I have is what users will be interested about a
device/driver.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Will it be really huge to list filtering capabilities of the
devices? I
Quoted 3 lines
believe
>>>> we can group them into a few groups like above. >>>> Or at least keep existing one and improve it by time and +1 toclarify
Quoted 4 lines
them more
>>>> but that is something else.
>>>>
>>>> A device can have capabilities but it is not easy to find ifthat
Quoted 2 lines
capability has
>>>> been enabled via DPDK, this kind of feature matrix works forit, and all
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
features together makes it much easier than digging datasheets
and code.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Saying that "Flow API" is enabled for a driver doesn't really
gives any
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
information to the user if they are interested what kind of
filtering
Quoted 4 lines
features
>>>> are supported by that device/driver.
>>>
>>> I agree. I think, we need to enumerate rte flow patterns andactions
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
supported by the PMD.
Since there was no single place such documentation, we added thesame
Quoted 5 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
in PMD documentation
See 39.8. RTE Flow Support athttps://doc.dpdk.org/guides/nics/octeontx2.html
>>>
>>> And IMO, We should not add deprecated features in the featuresmatrix as
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
new PMDs are not planning to implement the deprecated APIs. That makes, matrix looks
new PMDs do not implement a lot of features, but in reality,those are
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
deprecated and never planning to implement if even though HW
supports it.
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
+1 to not add deprecated features to the matrix, but those
removed ones
Quoted 2 lines
[1] are
>> not deprecated. Implementing them via "filter_ctrl" isdeprecated. Below
Quoted 1 line
Quoted 1 line
Quoted 1 line
features still can be implemented via "Flow API", that is why I
am for adding
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
them back to default.ini.
Got it. Instead of [1], Can we document it as in the form of
rte_flowQuoted 3 lines
Quoted 3 lines
semantics(patterns and actions) so
that for the end-user it is very clear. Reason being:
# Expressing "Tunnel filter" or "N-tupe filter" or "Flexiblefilter"
Quoted 3 lines
Quoted 3 lines
or "Flow director" etc is very vague in
rte_flowsemantics and function is not just limited with above-fixed functions # The new PMDs also can express therte_flowaka "Flow API"support
Quoted 3 lines
Quoted 1 line
in the
rte_flowsemantics.
rte_flowis implementation detail, as well as 'filter_ctrl', Ibelieve listing
Quoted 3 lines
rte_flowsemantic will be too much detail for the feature table.And end user may be interested in features, as if that drive/device
support
Quoted 3 lines
"Flow Director" or not, instead of
rte_flowsemantic.But I can see feature being vague is also problem, perhaps we can
Quoted 9 lines
have
rte_flowQuoted 5 lines
level details in
features.rstfile, will it work?+1 for adding
rte_flowlevel level details infeatures.rstOK, let me check this
Ok
Quoted 11 lines
Quoted 2 lines
IMO, Supported packet types(ptype) also good addition in features list.
"Packet type parsing" feature is already there,
http://lxr.dpdk.org/dpdk/v19.08/source/doc/guides/nics/features/default.ini#L53
If you mean the list of supported types, it is possible to get list on runtime
via an API, it will be hard to maintain that list in documentation.
Yes. I meant the list of supported types.
Ok. I will check the feasibility.
Quoted 19 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
And announce them as supported per PMD only if they are
implemented via
Quoted 11 lines
Flow API.
>>
>> [1]
>> Ethertype filter =
>> N-tuple filter =
>> SYN filter =
>> Tunnel filter =
>> Flexible filter =
>> Hash filter =
>> Flow director =
16/10/2019 12:20, Jerin Jacob:
Quoted 163 lines · Ferruh Yigit,
Quoted 162 lines · Jerin Jacob
Quoted 7 lines
On Wed, 16 Oct, 2019, 3:32 PM Ferruh Yigit, <[email protected] <mailto:[email protected]>> wrote:
On 10/15/2019 5:19 PM, Jerin Jacob wrote: > On Tue, Oct 15, 2019 at 9:26 PM Ferruh Yigit <Quoted 12 lines
<mailto:[email protected]>> wrote: >> >> On 10/15/2019 3:16 PM, Jerin Jacob wrote: >>>>>>> @@ -36,13 +36,6 @@ VMDq = >>>>>>> SR-IOV = >>>>>>> DCB = >>>>>>> VLAN filter = >>>>>>> -Ethertype filter = >>>>>>> -N-tuple filter = >>>>>>> -SYN filter = >>>>>>> -Tunnel filter = >>>>>>> -Flexible filter =Quoted 8 lines
>>>>>>> -Hash filter = >>>>>>> -Flow director = >>>>>>> Flow control = >>>>>>> Flow API = >>>>>>> Rate limitation = >>>>>> I suggest adding these features back! >>>>>> >>>>>> "Flow director" and other filters are features thatdevice/driver
Quoted 3 lines
supports.
>>>>>>
>>>>>> And "Flow API" and "filter_ctrl" are methods used toimplement these
Quoted 2 lines
features.
>>>>>> Indeed they are only different APIs to get input fromapplication/user.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
It doesn't really mean much to say "Flow API" is supported?
So what
Quoted 4 lines
is really
>>>>>> supported? It matters more what feature is supported. >>>>>>
>>>>>> Since we are saying old method is deprecated, we can updatethe
Quoted 2 lines
feature list of
>>>>>> drivers which implements filtering features using old methodas not
Quoted 2 lines
supported.
>>>>>> And that is the case with this patch since old APIs aremarked as
Quoted 4 lines
deprecated,
>>>>>> users can't use them to enable a filtering feature. >>>>>>
>>>>>> Indeed I am for removing the "Flow API" from feature list,first it
Quoted 2 lines
is not a
>>>>>> feature, second if it is only method to enable a filtering,and if
Quoted 2 lines
filtering is
>>>>>> enabled in a driver, what is the point of redundant "FlowAPI" listing?
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
I can make a quick patch if there is no objection, thanks.
As I understand it was a decision to avoid details about flow
API support
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
in features matrix. Mainly because matrix would be really huge
in
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
attempt to represent it. The question is why filters/patterns
mentioned
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
above are better than others and should be mentioned. I'm not against adding some details, just want to understand
criteria.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Flexible and hash are definitely not well defined. What is flow director and which features should be supported
to say yes?
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
The criteria I have is what users will be interested about a
device/driver.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Will it be really huge to list filtering capabilities of the
devices? I
Quoted 3 lines
believe
>>>> we can group them into a few groups like above. >>>> Or at least keep existing one and improve it by time and +1 toclarify
Quoted 4 lines
them more
>>>> but that is something else.
>>>>
>>>> A device can have capabilities but it is not easy to find ifthat
Quoted 2 lines
capability has
>>>> been enabled via DPDK, this kind of feature matrix works forit, and all
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
features together makes it much easier than digging datasheets
and code.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Saying that "Flow API" is enabled for a driver doesn't really
gives any
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
information to the user if they are interested what kind of
filtering
Quoted 4 lines
features
>>>> are supported by that device/driver.
>>>
>>> I agree. I think, we need to enumerate rte flow patterns andactions
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
supported by the PMD.
Since there was no single place such documentation, we added thesame
Quoted 5 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
in PMD documentation
See 39.8. RTE Flow Support athttps://doc.dpdk.org/guides/nics/octeontx2.html
>>>
>>> And IMO, We should not add deprecated features in the featuresmatrix as
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
new PMDs are not planning to implement the deprecated APIs. That makes, matrix looks
new PMDs do not implement a lot of features, but in reality,those are
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
deprecated and never planning to implement if even though HW
supports it.
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
+1 to not add deprecated features to the matrix, but those
removed ones
Quoted 2 lines
[1] are
>> not deprecated. Implementing them via "filter_ctrl" isdeprecated. Below
Quoted 1 line
Quoted 1 line
Quoted 1 line
features still can be implemented via "Flow API", that is why I
am for adding
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
them back to default.ini.
Got it. Instead of [1], Can we document it as in the form of
rte_flowQuoted 3 lines
Quoted 3 lines
semantics(patterns and actions) so
that for the end-user it is very clear. Reason being:
# Expressing "Tunnel filter" or "N-tupe filter" or "Flexiblefilter"
Quoted 3 lines
Quoted 3 lines
or "Flow director" etc is very vague in
rte_flowsemantics and function is not just limited with above-fixed functions # The new PMDs also can express therte_flowaka "Flow API"support
Quoted 3 lines
Quoted 1 line
in the
rte_flowsemantics.
rte_flowis implementation detail, as well as 'filter_ctrl', Ibelieve listing
Quoted 3 lines
rte_flowsemantic will be too much detail for the feature table.And end user may be interested in features, as if that drive/device
support
Quoted 3 lines
"Flow Director" or not, instead of
rte_flowsemantic.But I can see feature being vague is also problem, perhaps we can
have
rte_flowQuoted 4 lines
level details in
features.rstfile, will it work?
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
+1 for adding
rte_flowlevel level details infeatures.rstOK, let me check this
Ok
Just to confirm my thought:
The name of the removed "features" came from the filter API, which is very similar to Intel datasheets.
In rte_flow API, these categories may not make sense.
I am OK to not refer to rte_flow but to show the real implemented features, if you find a way to express them concisely.
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
IMO, Supported packet types(ptype) also good addition in features list.
"Packet type parsing" feature is already there,
http://lxr.dpdk.org/dpdk/v19.08/source/doc/guides/nics/features/default.ini#L53
Quoted 7 lines
Quoted 4 lines
If you mean the list of supported types, it is possible to get list on runtime
via an API, it will be hard to maintain that list in documentation.Yes. I meant the list of supported types.
Ok. I will check the feasibility.
We need to be careful about the size of this matrix. We can split in several matrix if needed.