uio: dfl: add HSSI subsystem feature id
Subsystems (3)
PATCH v3 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.
---
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
@@ -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 0x15static 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
Quoted 6 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_dfldriver.
Quoted 6 lines
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.
Generally you should include the url for the dfl definitions.
Can you add it here to the commit log ?
Otherwise fine.
Quoted 27 lines
Signed-off-by Matthew Gerlach <[email protected]>Signed-off-by Tianfei Zhang <[email protected]>---
v3: change the name of this feature id toHSSI_SUBSYSand 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@@ -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 0x15static 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);
Quoted 15 lines · Tom Rix
Quoted 6 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_dfldriver.Quoted 6 lines
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 3 lines
Generally you should include the url for the dfl definitions.
Can you add it here to the commit log ?
Do you refer to this url, https://github.com/OPAE/dfl-feature-id ?
Hao has some comments about this at
Quoted 8 lines
Otherwise fine.
Reviewed-by Tom Rix <[email protected]>Quoted 3 lines
Signed-off-by Matthew Gerlach <[email protected]>Signed-off-by Tianfei Zhang <[email protected]>
This patch is now good to me.
Quoted 22 lines
Quoted 22 lines
---
v3: change the name of this feature id toHSSI_SUBSYSand 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@@ -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 0x15static 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);
Tom Rix
reviewerQuoted 14 lines · Xu Yilun
Quoted 13 lines · Tom Rix
Quoted 12 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_dfldriver.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 4 lines
Quoted 3 lines
Generally you should include the url for the dfl definitions.
Can you add it here to the commit log ?
Do you refer to this url, https://github.com/OPAE/dfl-feature-id ?
Yes, exactly.
To someone not working the day-to-day working dfl they will have no clue where the fids come from.
When a new one is added to the kernel, it should have a listing in dfl-feature-id repo.
If it doesn't, there will be a future conflict.
Tom
Quoted 37 lines
Hao has some comments about this at
https://lore.kernel.org/all/DM6PR11MB38190E6EEF6DE3EB900290C585F39@DM6PR11MB3819.namprd11.prod.outlook.com/Quoted 6 lines
Otherwise fine.
Reviewed-by Tom Rix <[email protected]>Quoted 2 lines
Signed-off-by Matthew Gerlach <[email protected]>Signed-off-by Tianfei Zhang <[email protected]>This patch is now good to me.
Acked-by Xu Yilun <[email protected]>Quoted 22 lines
Quoted 22 lines
---
v3: change the name of this feature id toHSSI_SUBSYSand 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@@ -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 0x15static 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);
Xu Yilun
maintainerQuoted 23 lines · Tom Rix
Quoted 14 lines · Xu Yilun
Quoted 13 lines · Tom Rix
Quoted 12 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_dfldriver.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 4 lines
Quoted 3 lines
Generally you should include the url for the dfl definitions.
Can you add it here to the commit log ?
Do you refer to this url, https://github.com/OPAE/dfl-feature-id ?
Yes, exactly.
Quoted 7 lines
To someone not working the day-to-day working dfl they will have no clue where the fids come from.
When a new one is added to the kernel, it should have a listing in dfl-feature-id repo.
If it doesn't, there will be a future conflict.
I remember a recent patch records the url in Documentation/fpga/dfl.rst. Anyway I'm OK with or without the url in commit message.
Thanks,
Yilun
Quoted 40 lines
Tom
Quoted 37 lines
Hao has some comments about this at
https://lore.kernel.org/all/DM6PR11MB38190E6EEF6DE3EB900290C585F39@DM6PR11MB3819.namprd11.prod.outlook.com/Quoted 6 lines
Otherwise fine.
Reviewed-by Tom Rix <[email protected]>Quoted 2 lines
Signed-off-by Matthew Gerlach <[email protected]>Signed-off-by Tianfei Zhang <[email protected]>This patch is now good to me.
Acked-by Xu Yilun <[email protected]>Quoted 22 lines
Quoted 22 lines
---
v3: change the name of this feature id toHSSI_SUBSYSand 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@@ -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 0x15static 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);
Quoted 27 lines · Tom Rix
Quoted 26 lines · Xu Yilun
Quoted 14 lines · Tom Rix
Quoted 13 lines · Tianfei Zhang
Quoted 12 lines
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_dfldriver.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 4 lines
Quoted 3 lines
Generally you should include the url for the dfl definitions.
Can you add it here to the commit log ?
Do you refer to this url, https://github.com/OPAE/dfl-feature-id ?
Yes, exactly.
To someone not working the day-to-day working dfl they will have no clue where the fids come from.
Quoted 8 lines
Quoted 4 lines
When a new one is added to the kernel, it should have a listing in dfl-feature-id repo.
If it doesn't, there will be a future conflict.
I remember a recent patch records the url in
Documentation/fpga/dfl.rst. Anyway I'm OK with or without the url in commit message.
Yes, it's better that people can find that in Documentation instead of some commit message. That's another patch from Tianfei.
Thanks
Hao
Quoted 45 lines
Thanks,
YilunQuoted 7 lines
Tom
Quoted 4 lines
Hao has some comments about this at
https://lore.kernel.org/all/DM6PR11MB38190E6EEF6DE3EB900290C585F39@D
M6PR11MB3819.namprd11.prod.outlook.com/Quoted 33 lines
Quoted 33 lines
Quoted 7 lines
Otherwise fine.
Reviewed-by Tom Rix <[email protected]>Quoted 2 lines
Signed-off-by Matthew Gerlach <[email protected]>Signed-off-by Tianfei Zhang <[email protected]>This patch is now good to me.
Acked-by Xu Yilun <[email protected]>Quoted 22 lines
Quoted 22 lines
---
v3: change the name of this feature id toHSSI_SUBSYSand 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@@ -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 0x15static 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);