uio: dfl: add HSSI feature id
Subsystems (3)
PATCH v2 1/1 uio: dfl: add HSSI feature id
From: Matthew Gerlach <[email protected]>
Add the feature id of the OFS HSSI (High Speed Serial Interface) subsystem to table of ids supported by the uio_dfl driver. HSSI subsystem consists of harden/soft Ethernet MAC to support various ethernet usages and PCS/FEC/PMA direct modes for non-ethernet usages.
We leverage the uio_dfl driver to access the HSSI subsystem on user space, because the HSSI subsystem was designed for specific purposes and does not fit into the standard MAC and net kernel subsystems.
The Feature ID table of DFL can be found:
https://github.com/OPAE/dfl-feature-id
---
v2: add HSSI introduction and the git repo of Feature ID table.
--- drivers/uio/uio_dfl.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/uio/uio_dfl.c +2 -0
@@ -45,9 +45,11 @@ static int uio_dfl_probe(struct dfl_device *ddev) }#define FME_FEATURE_ID_ETH_GROUP 0x10 +#define FME_FEATURE_ID_OFS_HSSI 0x15static const struct dfl_device_id uio_dfl_ids[] = { {FME_ID ,FME_FEATURE_ID_ETH_GROUP }, + {FME_ID ,FME_FEATURE_ID_OFS_HSSI }, { } };MODULE_DEVICE_TABLE (dfl, uio_dfl_ids);
Signature · 1 line
2.26.2
Xu Yilun
maintainerQuoted 9 lines · Tianfei Zhang
From: Matthew Gerlach <[email protected]>
Add the feature id of the OFS HSSI (High Speed Serial Interface) subsystem to table of ids supported by the
uio_dfldriver. HSSI subsystem consists of harden/soft Ethernet MAC to support various ethernet usages and PCS/FEC/PMA direct modes for non-ethernet usages.We leverage the
uio_dfldriver to access the HSSI subsystem on user space, because the HSSI subsystem was designed for specific purposes and does
Could you explain what's the main difference between this MAC and other MACs, which prevents it from fitting into net kernel subsystem?
For FME_FEATURE_ID_ETH_GROUP, it is not designed as the full functional ethernet controller. It is specially developed for the Intel N3000 NIC. Since it is an FPGA based card, it is designed for the users to runtime reload part of the MAC layer logic developed by themselves, while the ETH GROUP is another part of the MAC which is not expected to be reloaded by customers, but it provides some configurations for software to work with the user logic.
And what's the difference for the FME_FEATURE_ID_OFS_HSSI?
Thanks,
Yilun
Quoted 31 lines
not fit into the standard MAC and net kernel subsystems.
The Feature ID table of DFL can be found:
https://github.com/OPAE/dfl-feature-idSigned-off-by Matthew Gerlach <[email protected]>Signed-off-by Tianfei Zhang <[email protected]>---
v2: add HSSI introduction and the git repo of Feature ID table.--- drivers/uio/uio_dfl.c | 2 ++ 1 file changed, 2 insertions(+)drivers/uio/uio_dfl.c +2
-0@@ -45,9 +45,11 @@ static int uio_dfl_probe(struct dfl_device *ddev) }#define FME_FEATURE_ID_ETH_GROUP 0x10 +#define FME_FEATURE_ID_OFS_HSSI 0x15static const struct dfl_device_id uio_dfl_ids[] = { {FME_ID ,FME_FEATURE_ID_ETH_GROUP }, + {FME_ID ,FME_FEATURE_ID_OFS_HSSI }, { } };MODULE_DEVICE_TABLE (dfl, uio_dfl_ids);Signature · 1 line
2.26.2
Quoted 19 lines
-----Original Message-----
From: Xu, Yilun <[email protected]>
Sent: Saturday, April 16, 2022 10:48 PM
To: Zhang, Tianfei <[email protected]>
Cc: Wu, Hao <[email protected]>; [email protected]; [email protected]; linux- [email protected]; [email protected]; linux- [email protected]; Matthew Gerlach <[email protected]>
Subject: Re: [PATCH v2] uio: dfl: add HSSI feature idQuoted 7 lines · Tianfei Zhang
From: Matthew Gerlach <[email protected]>
Add the feature id of the OFS HSSI (High Speed Serial Interface) subsystem to table of ids supported by the
uio_dfldriver. HSSI subsystem consists of harden/soft Ethernet MAC to support various ethernet usages and PCS/FEC/PMA direct modes for non-ethernet usages.
Quoted 6 lines
Quoted 3 lines
We leverage the
uio_dfldriver to access the HSSI subsystem on user space, because the HSSI subsystem was designed for specific purposes and doesCould you explain what's the main difference between this MAC and other MACs, which prevents it from fitting into net kernel subsystem?
This MAC in FPGA has not implemented the full functional for PHY driver, we use uio_dfl driver for faster verification and product prototype when we reload a new fpga image. The major work for driver include setting the loopback mode for MAC and getting the MAC statics.
Quoted 9 lines
For
FME_FEATURE_ID_ETH_GROUP, it is not designed as the full functional ethernet controller. It is specially developed for the Intel N3000 NIC. Since it is an FPGA based card, it is designed for the users to runtime reload part of the MAC layer logic developed by themselves, while the ETH GROUP is another part of the MAC which is not expected to be reloaded by customers, but it provides some configurations for software to work with the user logic.And what's the difference for the
FME_FEATURE_ID_OFS_HSSI?
I think ETH_GROUP is designed for N3000 NIC card, and the HSSI is a new design for N6000 NIC card.
Quoted 35 lines
Thanks,
YilunQuoted 31 lines
not fit into the standard MAC and net kernel subsystems.
The Feature ID table of DFL can be found:
https://github.com/OPAE/dfl-feature-idSigned-off-by Matthew Gerlach <[email protected]>Signed-off-by Tianfei Zhang <[email protected]>---
v2: add HSSI introduction and the git repo of Feature ID table.--- drivers/uio/uio_dfl.c | 2 ++ 1 file changed, 2 insertions(+)drivers/uio/uio_dfl.c index renamed from drivers/uio/uio_dfl.c +0
-0
89c0fc7b0cbc..660e1d0bf6b9100644drivers/uio/uio_dfl.c +2
-1@@ -45,9 +45,11 @@ static int uio_dfl_probe(struct dfl_device *ddev) }#define FME_FEATURE_ID_ETH_GROUP 0x10 +#define FME_FEATURE_ID_OFS_HSSI 0x15static const struct dfl_device_id uio_dfl_ids[] = { {FME_ID ,FME_FEATURE_ID_ETH_GROUP }, + {FME_ID ,FME_FEATURE_ID_OFS_HSSI }, { } };MODULE_DEVICE_TABLE (dfl, uio_dfl_ids); --2.26.2
Quoted 12 lines
-----Original Message-----
From: Zhang, Tianfei <[email protected]>
Sent: Tuesday, April 12, 2022 2:24 PM
To: Wu, Hao <[email protected]>; [email protected]; [email protected]; Xu, Yilun <[email protected]>; [email protected]; [email protected]
Cc: [email protected]; Matthew Gerlach <[email protected]>; Zhang, Tianfei <[email protected]>
Subject: [PATCH v2] uio: dfl: add HSSI feature id
Quoted 3 lines
From: Matthew Gerlach <[email protected]>
Add the feature id of the OFS HSSI (High Speed Serial Interface)
We still don't see any description on what OFS is here, or will OFS be added to title as well? we don't expect another submission with the same title but for XXX HSSI again.
Quoted 10 lines
subsystem to table of ids supported by the
uio_dfldriver. HSSI subsystem consists of harden/soft Ethernet MAC to support various ethernet usages and PCS/FEC/PMA direct modes for non-ethernet usages.We leverage the
uio_dfldriver to access the HSSI subsystem on user space, because the HSSI subsystem was designed for specific purposes and does not fit into the standard MAC and net kernel subsystems.The Feature ID table of DFL can be found:
https://github.com/OPAE/dfl-feature-id
Why you put it here? even this link there is no more descriptions to understand what it is. Or can be removed here.
Quoted 27 lines
Signed-off-by Matthew Gerlach <[email protected]>Signed-off-by Tianfei Zhang <[email protected]>---
v2: add HSSI introduction and the git repo of Feature ID table.--- drivers/uio/uio_dfl.c | 2 ++ 1 file changed, 2 insertions(+)drivers/uio/uio_dfl.c +2
-1@@ -45,9 +45,11 @@ static int uio_dfl_probe(struct dfl_device *ddev) }#define FME_FEATURE_ID_ETH_GROUP 0x10 +#define FME_FEATURE_ID_OFS_HSSI 0x15static const struct dfl_device_id uio_dfl_ids[] = { {FME_ID ,FME_FEATURE_ID_ETH_GROUP }, + {FME_ID ,FME_FEATURE_ID_OFS_HSSI }, { } };MODULE_DEVICE_TABLE (dfl, uio_dfl_ids); --2.26.2
Quoted 13 lines
Quoted 13 lines
-----Original Message-----
From: Zhang, Tianfei <[email protected]>
Sent: Tuesday, April 12, 2022 2:24 PM
To: Wu, Hao <[email protected]>; [email protected]; [email protected]; Xu, Yilun <[email protected]>; [email protected]; [email protected]
Cc: [email protected]; Matthew Gerlach <[email protected]>; Zhang, Tianfei <[email protected]>
Subject: [PATCH v2] uio: dfl: add HSSI feature id
Quoted 7 lines
Quoted 3 lines
From: Matthew Gerlach <[email protected]>
Add the feature id of the OFS HSSI (High Speed Serial Interface)
We still don't see any description on what OFS is here, or will OFS be added to title as well? we don't expect another submission with the same title but for XXX HSSI again.
This name of HSSI module in dfl feature id table is : OFS HSSI subsystem.
How about this tile:
uio: dfl: add OFS HSSI device id
Add OFS HSSI (Open FPGA Stack High Speed Serial Interface) device ID in uio_dfl driver for Intel PAC N6000 Card.
Quoted 9 lines
Quoted 9 lines
subsystem to table of ids supported by the
uio_dfldriver. HSSI subsystem consists of harden/soft Ethernet MAC to support various ethernet usages and PCS/FEC/PMA direct modes for non-ethernet usages.We leverage the
uio_dfldriver to access the HSSI subsystem on user space, because the HSSI subsystem was designed for specific purposes and does not fit into the standard MAC and net kernel subsystems.
Quoted 5 lines
Quoted 2 lines
The Feature ID table of DFL can be found:
https://github.com/OPAE/dfl-feature-idWhy you put it here? even this link there is no more descriptions to understand what it is. Or can be removed here.
Yes, I agree, I will remove it.
Quoted 28 lines
Quoted 28 lines
Signed-off-by Matthew Gerlach <[email protected]>Signed-off-by Tianfei Zhang <[email protected]>---
v2: add HSSI introduction and the git repo of Feature ID table.--- drivers/uio/uio_dfl.c | 2 ++ 1 file changed, 2 insertions(+)drivers/uio/uio_dfl.c index renamed from drivers/uio/uio_dfl.c +0
-0
89c0fc7b0cbc..660e1d0bf6b9100644drivers/uio/uio_dfl.c +2
-1@@ -45,9 +45,11 @@ static int uio_dfl_probe(struct dfl_device *ddev) }#define FME_FEATURE_ID_ETH_GROUP 0x10 +#define FME_FEATURE_ID_OFS_HSSI 0x15static const struct dfl_device_id uio_dfl_ids[] = { {FME_ID ,FME_FEATURE_ID_ETH_GROUP }, + {FME_ID ,FME_FEATURE_ID_OFS_HSSI }, { } };MODULE_DEVICE_TABLE (dfl, uio_dfl_ids); --2.26.2
Quoted 21 lines · Tianfei
Quoted 13 lines
Quoted 13 lines
-----Original Message-----
From: Zhang, Tianfei <[email protected]>
Sent: Tuesday, April 12, 2022 2:24 PM
To: Wu, Hao <[email protected]>; [email protected]; [email protected]; Xu, Yilun <[email protected]>; [email protected]; [email protected]
Cc: [email protected]; Matthew Gerlach <[email protected]>; Zhang, Tianfei <[email protected]>
Subject: [PATCH v2] uio: dfl: add HSSI feature idQuoted 7 lines
Quoted 3 lines
From: Matthew Gerlach <[email protected]>
Add the feature id of the OFS HSSI (High Speed Serial Interface)
We still don't see any description on what OFS is here, or will OFS be added to title as well? we don't expect another submission with the same title but for XXX HSSI again.
Quoted 6 lines
This name of HSSI module in dfl feature id table is : OFS HSSI subsystem.
How about this tile:
uio: dfl: add OFS HSSI device idAdd OFS HSSI (Open FPGA Stack High Speed Serial Interface) device ID in
uio_dfldriver for Intel PAC N6000 Card.
Hi Tianfei,
In the Platform Designer tool, this IP block is referred to as the HSSI Subsystem. I think we should use the same name here. Additionally, this subsystem is already in use in multiple cards; so I suggest dropping any reference to a particular card.
Matthew
Quoted 47 lines
Quoted 10 lines
Quoted 10 lines
subsystem to table of ids supported by the
uio_dfldriver. HSSI subsystem consists of harden/soft Ethernet MAC to support various ethernet usages and PCS/FEC/PMA direct modes for non-ethernet usages.We leverage the
uio_dfldriver to access the HSSI subsystem on user space, because the HSSI subsystem was designed for specific purposes and does not fit into the standard MAC and net kernel subsystems.Quoted 5 lines
Quoted 2 lines
The Feature ID table of DFL can be found:
https://github.com/OPAE/dfl-feature-idWhy you put it here? even this link there is no more descriptions to understand what it is. Or can be removed here.
Yes, I agree, I will remove it.
Quoted 28 lines
Quoted 28 lines
Signed-off-by Matthew Gerlach <[email protected]>Signed-off-by Tianfei Zhang <[email protected]>---
v2: add HSSI introduction and the git repo of Feature ID table.--- drivers/uio/uio_dfl.c | 2 ++ 1 file changed, 2 insertions(+)drivers/uio/uio_dfl.c index renamed from drivers/uio/uio_dfl.c +0
-0
89c0fc7b0cbc..660e1d0bf6b9100644drivers/uio/uio_dfl.c +2
-1@@ -45,9 +45,11 @@ static int uio_dfl_probe(struct dfl_device *ddev) }#define FME_FEATURE_ID_ETH_GROUP 0x10 +#define FME_FEATURE_ID_OFS_HSSI 0x15static const struct dfl_device_id uio_dfl_ids[] = { {FME_ID ,FME_FEATURE_ID_ETH_GROUP }, + {FME_ID ,FME_FEATURE_ID_OFS_HSSI }, { } };MODULE_DEVICE_TABLE (dfl, uio_dfl_ids); --2.26.2
Quoted 26 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
-----Original Message-----
From: Zhang, Tianfei <[email protected]>
Sent: Tuesday, April 12, 2022 2:24 PM
To: Wu, Hao <[email protected]>; [email protected]; [email protected]; Xu, Yilun <[email protected]>; [email protected]; [email protected]
Cc: [email protected]; Matthew Gerlach <[email protected]>; Zhang, Tianfei <[email protected]>
Subject: [PATCH v2] uio: dfl: add HSSI feature idQuoted 6 lines
Quoted 6 lines
Quoted 3 lines
From: Matthew Gerlach <[email protected]>
Add the feature id of the OFS HSSI (High Speed Serial Interface)
We still don't see any description on what OFS is here, or will OFS be added to title as well? we don't expect another submission with the same title but for
XXX
Quoted 8 lines
Quoted 1 line
HSSI again.
This name of HSSI module in dfl feature id table is : OFS HSSI subsystem.
How about this tile:
uio: dfl: add OFS HSSI device idAdd OFS HSSI (Open FPGA Stack High Speed Serial Interface) device ID in
Quoted 8 lines
uio_dfldriver for Intel PAC N6000 Card.Hi Tianfei,
In the Platform Designer tool, this IP block is referred to as the HSSI Subsystem. I think we should use the same name here. Additionally, this subsystem is already in use in multiple cards; so I suggest dropping any reference to a particular card.
The only concern is that there are 4 HSSI in the feature id table. Without any prefix, it may confuse people.
https://github.com/OPAE/dfl-feature-id
Quoted 51 lines
Matthew
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
subsystem to table of ids supported by the
uio_dfldriver. HSSI subsystem consists of harden/soft Ethernet MAC to support various ethernet usages and PCS/FEC/PMA direct modes for non-ethernet usages.Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
We leverage the
uio_dfldriver to access the HSSI subsystem on user space, because the HSSI subsystem was designed for specific purposes and does not fit into the standard MAC and net kernel subsystems.The Feature ID table of DFL can be found:
https://github.com/OPAE/dfl-feature-idWhy you put it here? even this link there is no more descriptions to
understand
Quoted 33 lines
Quoted 1 line
what it is. Or can be removed here.
Yes, I agree, I will remove it.
Quoted 28 lines
Quoted 28 lines
Signed-off-by Matthew Gerlach <[email protected]>Signed-off-by Tianfei Zhang <[email protected]>---
v2: add HSSI introduction and the git repo of Feature ID table.--- drivers/uio/uio_dfl.c | 2 ++ 1 file changed, 2 insertions(+)drivers/uio/uio_dfl.c index renamed from drivers/uio/uio_dfl.c +0
-0
89c0fc7b0cbc..660e1d0bf6b9100644drivers/uio/uio_dfl.c +2
-1@@ -45,9 +45,11 @@ static int uio_dfl_probe(struct dfl_device *ddev) }#define FME_FEATURE_ID_ETH_GROUP 0x10 +#define FME_FEATURE_ID_OFS_HSSI 0x15static const struct dfl_device_id uio_dfl_ids[] = { {FME_ID ,FME_FEATURE_ID_ETH_GROUP }, + {FME_ID ,FME_FEATURE_ID_OFS_HSSI }, { } };MODULE_DEVICE_TABLE (dfl, uio_dfl_ids); --2.26.2
Quoted 30 lines · Hao
Quoted 30 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
-----Original Message-----
From: Zhang, Tianfei <[email protected]>
Sent: Tuesday, April 12, 2022 2:24 PM
To: Wu, Hao <[email protected]>; [email protected]; [email protected]; Xu, Yilun <[email protected]>; [email protected]; [email protected]
Cc: [email protected]; Matthew Gerlach <[email protected]>; Zhang, Tianfei <[email protected]>
Subject: [PATCH v2] uio: dfl: add HSSI feature idQuoted 6 lines
Quoted 6 lines
Quoted 3 lines
From: Matthew Gerlach <[email protected]>
Add the feature id of the OFS HSSI (High Speed Serial Interface)
We still don't see any description on what OFS is here, or will OFS be added to title as well? we don't expect another submission with the same title but for
XXX
Quoted 8 lines
Quoted 1 line
HSSI again.
This name of HSSI module in dfl feature id table is : OFS HSSI subsystem.
How about this tile:
uio: dfl: add OFS HSSI device idAdd OFS HSSI (Open FPGA Stack High Speed Serial Interface) device ID in
uio_dfldriver for Intel PAC N6000 Card.Hi Tianfei,
Quoted 8 lines
Quoted 4 lines
In the Platform Designer tool, this IP block is referred to as the HSSI Subsystem. I think we should use the same name here. Additionally, this subsystem is already in use in multiple cards; so I suggest dropping any reference to a particular card.
The only concern is that there are 4 HSSI in the feature id table. Without any prefix, it may confuse people.
https://github.com/OPAE/dfl-feature-id
Hi Hao,
Good point about the possible confusion of 4 HSSI implementations mentioned in the table. I have submitted a pull request adding clarity to the table:
https://github.com/OPAE/dfl-feature-id/pull/1
Matthew
Quoted 53 lines
Quoted 52 lines
Matthew
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
subsystem to table of ids supported by the
uio_dfldriver. HSSI subsystem consists of harden/soft Ethernet MAC to support various ethernet usages and PCS/FEC/PMA direct modes for non-ethernet usages.Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
We leverage the
uio_dfldriver to access the HSSI subsystem on user space, because the HSSI subsystem was designed for specific purposes and does not fit into the standard MAC and net kernel subsystems.The Feature ID table of DFL can be found:
https://github.com/OPAE/dfl-feature-idWhy you put it here? even this link there is no more descriptions to
understand
Quoted 33 lines
Quoted 1 line
what it is. Or can be removed here.
Yes, I agree, I will remove it.
Quoted 28 lines
Quoted 28 lines
Signed-off-by Matthew Gerlach <[email protected]>Signed-off-by Tianfei Zhang <[email protected]>---
v2: add HSSI introduction and the git repo of Feature ID table.--- drivers/uio/uio_dfl.c | 2 ++ 1 file changed, 2 insertions(+)drivers/uio/uio_dfl.c index renamed from drivers/uio/uio_dfl.c +0
-0
89c0fc7b0cbc..660e1d0bf6b9100644drivers/uio/uio_dfl.c +2
-1@@ -45,9 +45,11 @@ static int uio_dfl_probe(struct dfl_device *ddev) }#define FME_FEATURE_ID_ETH_GROUP 0x10 +#define FME_FEATURE_ID_OFS_HSSI 0x15static const struct dfl_device_id uio_dfl_ids[] = { {FME_ID ,FME_FEATURE_ID_ETH_GROUP }, + {FME_ID ,FME_FEATURE_ID_OFS_HSSI }, { } };MODULE_DEVICE_TABLE (dfl, uio_dfl_ids); --2.26.2