Skip to contentSkip to conversation

uio: dfl: add HSSI subsystem feature id

PATCH Superseded Tianfei Zhang 3 participants 5 messages May 5, 2022

Subsystems (3)

v4 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 uio: dfl: add HSSI subsystem feature id

From: Matthew Gerlach <[email protected]>

Add the Device Feature List (DFL) feature id for the High Speed Serial Interface (HSSI) Subsystem to the table of ids supported by the uio_dfl driver.

The HSSI Subsystem is a configurable set of IP blocks to be used as part of a Ethernet or PCS/FEC/PMA pipeline. Like the Ethernet group used by the N3000 card, the HSSI Subsystem does not fully implement a network device from a Linux netdev perspective and is controlled and monitored from user space software via the uio interface.

The Feature ID table of DFL can be found:
https://github.com/OPAE/dfl-feature-id

---
v4: add Reviewed-by and Acked-by tag and add Feature ID table url in git message.
v3: change the name of this feature id to HSSI_SUBSYS and rewrite
the git message.
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
index 89c0fc7b0cbc..8f39cc8bb034 100644
@@ -45,9 +45,11 @@ static int uio_dfl_probe(struct dfl_device *ddev)
 }
 
 #define FME_FEATURE_ID_ETH_GROUP	0x10
+#define FME_FEATURE_ID_HSSI_SUBSYS	0x15
 
 static const struct dfl_device_id uio_dfl_ids[] = {
 	{ FME_ID, FME_FEATURE_ID_ETH_GROUP },
+	{ FME_ID, FME_FEATURE_ID_HSSI_SUBSYS },
 	{ }
 };
 MODULE_DEVICE_TABLE(dfl, uio_dfl_ids);
Signature · 1 line
2.26.2
maintainer Reviewed-by Tom Rix Acked-by on v4 1/1
#1 lore raw
Quoted 13 lines · Tianfei Zhang

From: Matthew Gerlach <[email protected]>

Add the Device Feature List (DFL) feature id for the High Speed Serial Interface (HSSI) Subsystem to the table of ids supported by the uio_dfl driver.

The HSSI Subsystem is a configurable set of IP blocks to be used as part of a Ethernet or PCS/FEC/PMA pipeline. Like the Ethernet group used by the N3000 card, the HSSI Subsystem does not fully implement a network device from a Linux netdev perspective and is controlled and monitored from user space software via the uio interface.

Quoted 7 lines

The Feature ID table of DFL can be found:
https://github.com/OPAE/dfl-feature-id

Please re-order the tags. The earliest at the top and the latest at the bottom.

"SoB chains should reflect the **real** route a patch took as it was propagated to the maintainers and ultimately to Linus, with the first SoB entry signalling primary authorship of a single author."

For more details, please refer to Documentation/process/submitting-patches.rst

For you case, I assume:

is it?

Thanks,
Yilun

Quoted 27 lines

---
v4: add Reviewed-by and Acked-by tag and add Feature ID table url in git message.
v3: change the name of this feature id to HSSI_SUBSYS and rewrite
the git message.
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
index 89c0fc7b0cbc..8f39cc8bb034 100644
@@ -45,9 +45,11 @@ static int uio_dfl_probe(struct dfl_device *ddev)
 }
 
 #define FME_FEATURE_ID_ETH_GROUP	0x10
+#define FME_FEATURE_ID_HSSI_SUBSYS	0x15
 
 static const struct dfl_device_id uio_dfl_ids[] = {
 	{ FME_ID, FME_FEATURE_ID_ETH_GROUP },
+	{ FME_ID, FME_FEATURE_ID_HSSI_SUBSYS },
 	{ }
 };
 MODULE_DEVICE_TABLE(dfl, uio_dfl_ids);
Signature · 1 line
2.26.2
#2 lore raw
Quoted 42 lines

-----Original Message-----
From: Xu, Yilun <[email protected]>
Sent: Thursday, May 5, 2022 10:16 AM
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 v4] uio: dfl: add HSSI subsystem feature id

Quoted 13 lines · Tianfei Zhang

From: Matthew Gerlach <[email protected]>

Add the Device Feature List (DFL) feature id for the High Speed Serial Interface (HSSI) Subsystem to the table of ids supported by the uio_dfl driver.

The HSSI Subsystem is a configurable set of IP blocks to be used as part of a Ethernet or PCS/FEC/PMA pipeline.
Like the Ethernet group used by the N3000 card, the HSSI Subsystem does not fully implement a network device from a Linux netdev perspective and is controlled and monitored from user space software via the uio interface.

Quoted 7 lines

The Feature ID table of DFL can be found:
https://github.com/OPAE/dfl-feature-id

Please re-order the tags. The earliest at the top and the latest at the bottom.

"SoB chains should reflect the **real** route a patch took as it was propagated to the maintainers and ultimately to Linus, with the first SoB entry signalling primary authorship of a single author."

For more details, please refer to Documentation/process/submitting-patches.rst

Quoted 8 lines

For you case, I assume:

is it?

Yes, I agree, I will send a new one.

Quoted 33 lines

Thanks,
Yilun

Quoted 2 lines

---
v4: add Reviewed-by and Acked-by tag and add Feature ID table url in git

message.

Quoted 25 lines

v3: change the name of this feature id to HSSI_SUBSYS and rewrite
the git message.
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..8f39cc8bb034 100644

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_HSSI_SUBSYS	0x15
 
 static const struct dfl_device_id uio_dfl_ids[] = {
 	{ FME_ID, FME_FEATURE_ID_ETH_GROUP },
+	{ FME_ID, FME_FEATURE_ID_HSSI_SUBSYS },
 	{ }
 };
 MODULE_DEVICE_TABLE(dfl, uio_dfl_ids);
--

2.26.2

#3 lore raw
In reply to Tianfei Zhang
Quoted 23 lines

-----Original Message-----
From: Zhang, Tianfei <[email protected]>
Sent: Thursday, May 5, 2022 8:16 AM
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 v4] uio: dfl: add HSSI subsystem feature id

From: Matthew Gerlach <[email protected]>

Add the Device Feature List (DFL) feature id for the High Speed Serial Interface (HSSI) Subsystem to the table of ids supported by the uio_dfl driver.

The HSSI Subsystem is a configurable set of IP blocks to be used as part of a Ethernet or PCS/FEC/PMA pipeline. Like the Ethernet group used by the N3000 card, the HSSI Subsystem does not fully implement a network device from a Linux netdev perspective and is controlled and monitored from user space software via the uio interface.

Quoted 2 lines

The Feature ID table of DFL can be found:
https://github.com/OPAE/dfl-feature-id

Is it possible to have multiple different HSSI implementations? Will they share the same feature id or not? If yes, why uses a generic name here?

Is it possible someday this feature id is marked as legacy not used and introduce a new one as the same name?

Quoted 33 lines

---
v4: add Reviewed-by and Acked-by tag and add Feature ID table url in git message.
v3: change the name of this feature id to HSSI_SUBSYS and rewrite
the git message.
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
index 89c0fc7b0cbc..8f39cc8bb034 100644
@@ -45,9 +45,11 @@ static int uio_dfl_probe(struct dfl_device *ddev)
 }
 
 #define FME_FEATURE_ID_ETH_GROUP	0x10
+#define FME_FEATURE_ID_HSSI_SUBSYS	0x15
 
 static const struct dfl_device_id uio_dfl_ids[] = {
 	{ FME_ID, FME_FEATURE_ID_ETH_GROUP },
+	{ FME_ID, FME_FEATURE_ID_HSSI_SUBSYS },
 	{ }
 };
 MODULE_DEVICE_TABLE(dfl, uio_dfl_ids);
--

2.26.2

#4 lore raw
Quoted 36 lines

-----Original Message-----
From: Wu, Hao <[email protected]>
Sent: Thursday, May 5, 2022 2:35 PM
To: Zhang, Tianfei <[email protected]>; [email protected]; [email protected]; Xu, Yilun <[email protected]>; [email protected]; [email protected]
Cc: [email protected]; Matthew Gerlach <[email protected]>
Subject: RE: [PATCH v4] uio: dfl: add HSSI subsystem feature id

Quoted 24 lines

-----Original Message-----
From: Zhang, Tianfei <[email protected]>
Sent: Thursday, May 5, 2022 8:16 AM
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 v4] uio: dfl: add HSSI subsystem feature id

From: Matthew Gerlach <[email protected]>

Add the Device Feature List (DFL) feature id for the High Speed Serial Interface (HSSI) Subsystem to the table of ids supported by the uio_dfl driver.

The HSSI Subsystem is a configurable set of IP blocks to be used as part of a Ethernet or PCS/FEC/PMA pipeline.
Like the Ethernet group used by the N3000 card, the HSSI Subsystem does not fully implement a network device from a Linux netdev perspective and is controlled and monitored from user space software via the uio interface.

Quoted 6 lines
Quoted 2 lines

The Feature ID table of DFL can be found:
https://github.com/OPAE/dfl-feature-id

Is it possible to have multiple different HSSI implementations? Will they share the same feature id or not? If yes, why uses a generic name here?

The HSSI subsystem is a new design, there will use for a long time.

Quoted 3 lines

Is it possible someday this feature id is marked as legacy not used and introduce a new one as the same name?

No, this HSSI subsystem is a standard device which was designed for OFS. It will extensively use for Intel FPGA PAC card in the feature.

Quoted 34 lines
Quoted 34 lines

---
v4: add Reviewed-by and Acked-by tag and add Feature ID table url in git message.
v3: change the name of this feature id to HSSI_SUBSYS and rewrite
the git message.
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..8f39cc8bb034 100644

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_HSSI_SUBSYS	0x15
 
 static const struct dfl_device_id uio_dfl_ids[] = {
 	{ FME_ID, FME_FEATURE_ID_ETH_GROUP },
+	{ FME_ID, FME_FEATURE_ID_HSSI_SUBSYS },
 	{ }
 };
 MODULE_DEVICE_TABLE(dfl, uio_dfl_ids);
--

2.26.2