* [dts] [PATCH V1] add fortville 25G Nics and its identifiers supported by the framework.
@ 2017-03-20 6:24 lu,peipei
2017-03-20 6:57 ` Liu, Yong
0 siblings, 1 reply; 4+ messages in thread
From: lu,peipei @ 2017-03-20 6:24 UTC (permalink / raw)
To: dts; +Cc: Lu,peipei
From: "Lu,peipei" <peipeix.lu@intel.com>
Signed-off-by: Lu,peipei <peipeix.lu@intel.com>
---
framework/settings.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/framework/settings.py b/framework/settings.py
index 86a29a3..e01ff84 100644
--- a/framework/settings.py
+++ b/framework/settings.py
@@ -90,6 +90,7 @@ NICS = {
'ConnectX3': '15b3:1003',
'ConnectX4': '15b3:1013',
'boulderrapid': '8086:15d0',
+ 'fortville_25g':'8086:158b',
}
DRIVERS = {
@@ -134,6 +135,7 @@ DRIVERS = {
'ConnectX3': 'mlx4_core',
'ConnectX4': 'mlx5_core',
'boulderrapid': 'fm10k',
+ 'fortville_25g':'i40e',
}
"""
--
1.9.3
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dts] [PATCH V1] add fortville 25G Nics and its identifiers supported by the framework.
2017-03-20 6:24 [dts] [PATCH V1] add fortville 25G Nics and its identifiers supported by the framework lu,peipei
@ 2017-03-20 6:57 ` Liu, Yong
0 siblings, 0 replies; 4+ messages in thread
From: Liu, Yong @ 2017-03-20 6:57 UTC (permalink / raw)
To: lu,peipei, dts
Applied, please use pep8 tool to check format issue first.
On 03/20/2017 02:24 PM, lu,peipei wrote:
> From: "Lu,peipei" <peipeix.lu@intel.com>
>
> Signed-off-by: Lu,peipei <peipeix.lu@intel.com>
> ---
> framework/settings.py | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/framework/settings.py b/framework/settings.py
> index 86a29a3..e01ff84 100644
> --- a/framework/settings.py
> +++ b/framework/settings.py
> @@ -90,6 +90,7 @@ NICS = {
> 'ConnectX3': '15b3:1003',
> 'ConnectX4': '15b3:1013',
> 'boulderrapid': '8086:15d0',
> + 'fortville_25g':'8086:158b',
> }
>
> DRIVERS = {
> @@ -134,6 +135,7 @@ DRIVERS = {
> 'ConnectX3': 'mlx4_core',
> 'ConnectX4': 'mlx5_core',
> 'boulderrapid': 'fm10k',
> + 'fortville_25g':'i40e',
> }
>
> """
^ permalink raw reply [flat|nested] 4+ messages in thread
* [dts] [PATCH V1] add fortville 25G Nics and its identifiers supported by the framework
@ 2017-03-20 7:47 lu,peipei
2017-03-27 1:19 ` Liu, Yong
0 siblings, 1 reply; 4+ messages in thread
From: lu,peipei @ 2017-03-20 7:47 UTC (permalink / raw)
To: dts; +Cc: lu,peipei
Signed-off-by: lu,peipei <peipeix.lu@intel.com>
---
framework/settings.py | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/framework/settings.py b/framework/settings.py
index 86a29a3..9584cd1 100644
--- a/framework/settings.py
+++ b/framework/settings.py
@@ -90,6 +90,7 @@ NICS = {
'ConnectX3': '15b3:1003',
'ConnectX4': '15b3:1013',
'boulderrapid': '8086:15d0',
+ 'fortville_25g': '8086:158b',
}
DRIVERS = {
@@ -109,7 +110,7 @@ DRIVERS = {
'sageville_vf': 'ixgbevf',
'sagepond': 'ixgbe',
'sagepond_vf': 'ixgbevf',
- 'magnolia_park' : 'ixgbe',
+ 'magnolia_park': 'ixgbe',
'hartwell': 'igb',
'82545EM': 'igb',
'82540EM': 'igb',
@@ -134,6 +135,7 @@ DRIVERS = {
'ConnectX3': 'mlx4_core',
'ConnectX4': 'mlx5_core',
'boulderrapid': 'fm10k',
+ 'fortville_25g': 'i40e',
}
"""
@@ -209,13 +211,14 @@ DTS global error table
"""
DTS_ERR_TBL = {
"GENERIC_ERR": 1,
- "DPDK_BUILD_ERR" : 2,
- "DUT_SETUP_ERR" : 3,
- "TESTER_SETUP_ERR" : 4,
+ "DPDK_BUILD_ERR": 2,
+ "DUT_SETUP_ERR": 3,
+ "TESTER_SETUP_ERR": 4,
"SUITE_SETUP_ERR": 5,
"SUITE_EXECUTE_ERR": 6,
}
+
def get_nic_name(type):
"""
strip nic code name by nic type
--
1.9.3
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dts] [PATCH V1] add fortville 25G Nics and its identifiers supported by the framework
2017-03-20 7:47 lu,peipei
@ 2017-03-27 1:19 ` Liu, Yong
0 siblings, 0 replies; 4+ messages in thread
From: Liu, Yong @ 2017-03-27 1:19 UTC (permalink / raw)
To: Lu, PeipeiX, dts; +Cc: Lu, PeipeiX
Thanks peipei, has merged in 25G support.
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of lu,peipei
> Sent: Monday, March 20, 2017 3:48 PM
> To: dts@dpdk.org
> Cc: Lu, PeipeiX <peipeix.lu@intel.com>
> Subject: [dts] [PATCH V1] add fortville 25G Nics and its identifiers
> supported by the framework
>
> Signed-off-by: lu,peipei <peipeix.lu@intel.com>
> ---
> framework/settings.py | 11 +++++++----
> 1 file changed, 7 insertions(+), 4 deletions(-)
>
> diff --git a/framework/settings.py b/framework/settings.py
> index 86a29a3..9584cd1 100644
> --- a/framework/settings.py
> +++ b/framework/settings.py
> @@ -90,6 +90,7 @@ NICS = {
> 'ConnectX3': '15b3:1003',
> 'ConnectX4': '15b3:1013',
> 'boulderrapid': '8086:15d0',
> + 'fortville_25g': '8086:158b',
> }
>
> DRIVERS = {
> @@ -109,7 +110,7 @@ DRIVERS = {
> 'sageville_vf': 'ixgbevf',
> 'sagepond': 'ixgbe',
> 'sagepond_vf': 'ixgbevf',
> - 'magnolia_park' : 'ixgbe',
> + 'magnolia_park': 'ixgbe',
> 'hartwell': 'igb',
> '82545EM': 'igb',
> '82540EM': 'igb',
> @@ -134,6 +135,7 @@ DRIVERS = {
> 'ConnectX3': 'mlx4_core',
> 'ConnectX4': 'mlx5_core',
> 'boulderrapid': 'fm10k',
> + 'fortville_25g': 'i40e',
> }
>
> """
> @@ -209,13 +211,14 @@ DTS global error table
> """
> DTS_ERR_TBL = {
> "GENERIC_ERR": 1,
> - "DPDK_BUILD_ERR" : 2,
> - "DUT_SETUP_ERR" : 3,
> - "TESTER_SETUP_ERR" : 4,
> + "DPDK_BUILD_ERR": 2,
> + "DUT_SETUP_ERR": 3,
> + "TESTER_SETUP_ERR": 4,
> "SUITE_SETUP_ERR": 5,
> "SUITE_EXECUTE_ERR": 6,
> }
>
> +
> def get_nic_name(type):
> """
> strip nic code name by nic type
> --
> 1.9.3
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-03-27 1:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-20 6:24 [dts] [PATCH V1] add fortville 25G Nics and its identifiers supported by the framework lu,peipei
2017-03-20 6:57 ` Liu, Yong
2017-03-20 7:47 lu,peipei
2017-03-27 1:19 ` Liu, Yong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).