RE: [PATCH v3 net-next 01/13] net: enetc: add initial netc-lib driver to support NTMP

2025-03-07 Thread Wei Fang
> On Sat, 8 Mar 2025 02:05:35 + Wei Fang wrote: > > > > On Tue, 4 Mar 2025 15:21:49 +0800 Wei Fang wrote: > > > hm..., there are some interfaces of netc-lib are used in common .c > > > files in downstream, so I used "ifdef" in downstream. Now for the > > > upstream, I'm going to separate them

Re: [PATCH v3 net-next 01/13] net: enetc: add initial netc-lib driver to support NTMP

2025-03-07 Thread Jakub Kicinski
On Sat, 8 Mar 2025 02:05:35 + Wei Fang wrote: > > > On Tue, 4 Mar 2025 15:21:49 +0800 Wei Fang wrote: > > hm..., there are some interfaces of netc-lib are used in common .c files > > in downstream, so I used "ifdef" in downstream. Now for the upstream, > > I'm going to separate them from the

RE: [PATCH v3 net-next 01/13] net: enetc: add initial netc-lib driver to support NTMP

2025-03-07 Thread Wei Fang
> > On Tue, 4 Mar 2025 15:21:49 +0800 Wei Fang wrote: > > > +config NXP_NETC_LIB > > > + tristate "NETC Library" > > > > Remove the string after "tristate", the user should not be prompted > > to make a choice for this, since the consumers "select" this config > > directly. > > > > Okay, I will r

RE: [PATCH v3 net-next 01/13] net: enetc: add initial netc-lib driver to support NTMP

2025-03-07 Thread Wei Fang
> On Tue, 4 Mar 2025 15:21:49 +0800 Wei Fang wrote: > > +config NXP_NETC_LIB > > + tristate "NETC Library" > > Remove the string after "tristate", the user should not be prompted > to make a choice for this, since the consumers "select" this config > directly. > Okay, I will remove it. > > +

Re: [PATCH v3 net-next 01/13] net: enetc: add initial netc-lib driver to support NTMP

2025-03-06 Thread Jakub Kicinski
On Tue, 4 Mar 2025 15:21:49 +0800 Wei Fang wrote: > +config NXP_NETC_LIB > + tristate "NETC Library" Remove the string after "tristate", the user should not be prompted to make a choice for this, since the consumers "select" this config directly. > + help > + This module provides c

[PATCH v3 net-next 01/13] net: enetc: add initial netc-lib driver to support NTMP

2025-03-03 Thread Wei Fang
Some NETC functionality is controlled using control messages sent to the hardware using BD ring interface with 32B descriptor similar to transmit BD ring used on ENETC. This BD ring interface is referred to as command BD ring. It is used to configure functionality where the underlying resources may