All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] uio: dfl: add HSSI feature id
@ 2022-04-12  6:23 Tianfei Zhang
  2022-04-16 14:47 ` Xu Yilun
  2022-04-18  1:32 ` Wu, Hao
  0 siblings, 2 replies; 8+ messages in thread
From: Tianfei Zhang @ 2022-04-12  6:23 UTC (permalink / raw)
  To: hao.wu, trix, mdf, yilun.xu, linux-fpga, gregkh
  Cc: linux-kernel, Matthew Gerlach, Tianfei Zhang

From: Matthew Gerlach <matthew.gerlach@linux.intel.com>

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

Signed-off-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
Signed-off-by: Tianfei Zhang <tianfei.zhang@intel.com>
---
v2: add HSSI introduction and the git repo of Feature ID table.
---
 drivers/uio/uio_dfl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/uio/uio_dfl.c b/drivers/uio/uio_dfl.c
index 89c0fc7b0cbc..660e1d0bf6b9 100644
--- a/drivers/uio/uio_dfl.c
+++ b/drivers/uio/uio_dfl.c
@@ -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		0x15
 
 static 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


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-04-26 17:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-12  6:23 [PATCH v2] uio: dfl: add HSSI feature id Tianfei Zhang
2022-04-16 14:47 ` Xu Yilun
2022-04-19  8:17   ` Zhang, Tianfei
2022-04-18  1:32 ` Wu, Hao
2022-04-19  8:25   ` Zhang, Tianfei
2022-04-19 17:52     ` matthew.gerlach
2022-04-26  2:31       ` Wu, Hao
2022-04-26 17:54         ` matthew.gerlach

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.