* [PATCH v3] uio: dfl: add HSSI subsystem feature id
@ 2022-04-29 0:57 Tianfei Zhang
2022-04-29 12:23 ` Tom Rix
0 siblings, 1 reply; 7+ messages in thread
From: Tianfei Zhang @ 2022-04-29 0:57 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 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.
Signed-off-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
Signed-off-by: Tianfei Zhang <tianfei.zhang@intel.com>
---
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(+)
diff --git a/drivers/uio/uio_dfl.c b/drivers/uio/uio_dfl.c
index 89c0fc7b0cbc..8f39cc8bb034 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_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
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v3] uio: dfl: add HSSI subsystem feature id
2022-04-29 0:57 [PATCH v3] uio: dfl: add HSSI subsystem feature id Tianfei Zhang
@ 2022-04-29 12:23 ` Tom Rix
2022-04-30 14:24 ` Xu Yilun
0 siblings, 1 reply; 7+ messages in thread
From: Tom Rix @ 2022-04-29 12:23 UTC (permalink / raw)
To: Tianfei Zhang, hao.wu, mdf, yilun.xu, linux-fpga, gregkh
Cc: linux-kernel, Matthew Gerlach
On 4/28/22 5:57 PM, Tianfei Zhang wrote:
> From: Matthew Gerlach <matthew.gerlach@linux.intel.com>
>
> 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.
Generally you should include the url for the dfl definitions.
Can you add it here to the commit log ?
Otherwise fine.
Reviewed-by: Tom Rix <trix@redhat.com>
>
> Signed-off-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
> Signed-off-by: Tianfei Zhang <tianfei.zhang@intel.com>
> ---
> 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(+)
>
> diff --git a/drivers/uio/uio_dfl.c b/drivers/uio/uio_dfl.c
> index 89c0fc7b0cbc..8f39cc8bb034 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_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);
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3] uio: dfl: add HSSI subsystem feature id
2022-04-29 12:23 ` Tom Rix
@ 2022-04-30 14:24 ` Xu Yilun
2022-04-30 14:54 ` Tom Rix
0 siblings, 1 reply; 7+ messages in thread
From: Xu Yilun @ 2022-04-30 14:24 UTC (permalink / raw)
To: Tom Rix
Cc: Tianfei Zhang, hao.wu, mdf, linux-fpga, gregkh, linux-kernel,
Matthew Gerlach
On Fri, Apr 29, 2022 at 05:23:53AM -0700, Tom Rix wrote:
>
> On 4/28/22 5:57 PM, Tianfei Zhang wrote:
> > From: Matthew Gerlach <matthew.gerlach@linux.intel.com>
> >
> > 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.
>
> 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
https://lore.kernel.org/all/DM6PR11MB38190E6EEF6DE3EB900290C585F39@DM6PR11MB3819.namprd11.prod.outlook.com/
>
> Otherwise fine.
>
> Reviewed-by: Tom Rix <trix@redhat.com>
>
> >
> > Signed-off-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
> > Signed-off-by: Tianfei Zhang <tianfei.zhang@intel.com>
This patch is now good to me.
Acked-by: Xu Yilun <yilun.xu@intel.com>
> > ---
> > 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(+)
> >
> > diff --git a/drivers/uio/uio_dfl.c b/drivers/uio/uio_dfl.c
> > index 89c0fc7b0cbc..8f39cc8bb034 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_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);
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3] uio: dfl: add HSSI subsystem feature id
2022-04-30 14:24 ` Xu Yilun
@ 2022-04-30 14:54 ` Tom Rix
2022-04-30 16:58 ` Xu Yilun
0 siblings, 1 reply; 7+ messages in thread
From: Tom Rix @ 2022-04-30 14:54 UTC (permalink / raw)
To: Xu Yilun
Cc: Tianfei Zhang, hao.wu, mdf, linux-fpga, gregkh, linux-kernel,
Matthew Gerlach
On 4/30/22 7:24 AM, Xu Yilun wrote:
> On Fri, Apr 29, 2022 at 05:23:53AM -0700, Tom Rix wrote:
>> On 4/28/22 5:57 PM, Tianfei Zhang wrote:
>>> From: Matthew Gerlach <matthew.gerlach@linux.intel.com>
>>>
>>> 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.
>> 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
>
> Hao has some comments about this at
>
> https://lore.kernel.org/all/DM6PR11MB38190E6EEF6DE3EB900290C585F39@DM6PR11MB3819.namprd11.prod.outlook.com/
>
>> Otherwise fine.
>>
>> Reviewed-by: Tom Rix <trix@redhat.com>
>>
>>> Signed-off-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
>>> Signed-off-by: Tianfei Zhang <tianfei.zhang@intel.com>
> This patch is now good to me.
>
> Acked-by: Xu Yilun <yilun.xu@intel.com>
>
>>> ---
>>> 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(+)
>>>
>>> diff --git a/drivers/uio/uio_dfl.c b/drivers/uio/uio_dfl.c
>>> index 89c0fc7b0cbc..8f39cc8bb034 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_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);
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3] uio: dfl: add HSSI subsystem feature id
2022-04-30 14:54 ` Tom Rix
@ 2022-04-30 16:58 ` Xu Yilun
2022-05-05 6:22 ` Wu, Hao
0 siblings, 1 reply; 7+ messages in thread
From: Xu Yilun @ 2022-04-30 16:58 UTC (permalink / raw)
To: Tom Rix
Cc: Tianfei Zhang, hao.wu, mdf, linux-fpga, gregkh, linux-kernel,
Matthew Gerlach
On Sat, Apr 30, 2022 at 07:54:57AM -0700, Tom Rix wrote:
>
> On 4/30/22 7:24 AM, Xu Yilun wrote:
> > On Fri, Apr 29, 2022 at 05:23:53AM -0700, Tom Rix wrote:
> > > On 4/28/22 5:57 PM, Tianfei Zhang wrote:
> > > > From: Matthew Gerlach <matthew.gerlach@linux.intel.com>
> > > >
> > > > 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.
> > > 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.
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
>
> Tom
>
> >
> > Hao has some comments about this at
> >
> > https://lore.kernel.org/all/DM6PR11MB38190E6EEF6DE3EB900290C585F39@DM6PR11MB3819.namprd11.prod.outlook.com/
> >
> > > Otherwise fine.
> > >
> > > Reviewed-by: Tom Rix <trix@redhat.com>
> > >
> > > > Signed-off-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
> > > > Signed-off-by: Tianfei Zhang <tianfei.zhang@intel.com>
> > This patch is now good to me.
> >
> > Acked-by: Xu Yilun <yilun.xu@intel.com>
> >
> > > > ---
> > > > 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(+)
> > > >
> > > > diff --git a/drivers/uio/uio_dfl.c b/drivers/uio/uio_dfl.c
> > > > index 89c0fc7b0cbc..8f39cc8bb034 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_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);
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [PATCH v3] uio: dfl: add HSSI subsystem feature id
2022-04-30 16:58 ` Xu Yilun
@ 2022-05-05 6:22 ` Wu, Hao
0 siblings, 0 replies; 7+ messages in thread
From: Wu, Hao @ 2022-05-05 6:22 UTC (permalink / raw)
To: Xu, Yilun, Tom Rix
Cc: Zhang, Tianfei, mdf, linux-fpga, gregkh, linux-kernel, Matthew Gerlach
> On Sat, Apr 30, 2022 at 07:54:57AM -0700, Tom Rix wrote:
> >
> > On 4/30/22 7:24 AM, Xu Yilun wrote:
> > > On Fri, Apr 29, 2022 at 05:23:53AM -0700, Tom Rix wrote:
> > > > On 4/28/22 5:57 PM, Tianfei Zhang wrote:
> > > > > From: Matthew Gerlach <matthew.gerlach@linux.intel.com>
> > > > >
> > > > > 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.
> > > > 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.
>
> 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
> Thanks,
> Yilun
>
> >
> > Tom
> >
> > >
> > > Hao has some comments about this at
> > >
> > >
> https://lore.kernel.org/all/DM6PR11MB38190E6EEF6DE3EB900290C585F39@D
> M6PR11MB3819.namprd11.prod.outlook.com/
> > >
> > > > Otherwise fine.
> > > >
> > > > Reviewed-by: Tom Rix <trix@redhat.com>
> > > >
> > > > > Signed-off-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
> > > > > Signed-off-by: Tianfei Zhang <tianfei.zhang@intel.com>
> > > This patch is now good to me.
> > >
> > > Acked-by: Xu Yilun <yilun.xu@intel.com>
> > >
> > > > > ---
> > > > > 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(+)
> > > > >
> > > > > diff --git a/drivers/uio/uio_dfl.c b/drivers/uio/uio_dfl.c
> > > > > index 89c0fc7b0cbc..8f39cc8bb034 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_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);
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v3] uio: dfl: add HSSI subsystem feature id
@ 2022-04-29 0:55 Tianfei Zhang
0 siblings, 0 replies; 7+ messages in thread
From: Tianfei Zhang @ 2022-04-29 0:55 UTC (permalink / raw)
To: hao.wu, trix, mdf, yilun.xu, linux-fpga; +Cc: Matthew Gerlach, Tianfei Zhang
From: Matthew Gerlach <matthew.gerlach@linux.intel.com>
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.
Signed-off-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
Signed-off-by: Tianfei Zhang <tianfei.zhang@intel.com>
---
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(+)
diff --git a/drivers/uio/uio_dfl.c b/drivers/uio/uio_dfl.c
index 89c0fc7b0cbc..8f39cc8bb034 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_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
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-05-05 6:23 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-29 0:57 [PATCH v3] uio: dfl: add HSSI subsystem feature id Tianfei Zhang
2022-04-29 12:23 ` Tom Rix
2022-04-30 14:24 ` Xu Yilun
2022-04-30 14:54 ` Tom Rix
2022-04-30 16:58 ` Xu Yilun
2022-05-05 6:22 ` Wu, Hao
-- strict thread matches above, loose matches on Subject: below --
2022-04-29 0:55 Tianfei Zhang
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.