* [dpdk-dev] [PATCH] ethdev: introduce enable_driver_sdk to install driver headers
@ 2021-03-11 19:27 Tyler Retzlaff
2021-03-12 15:19 ` Ferruh Yigit
2021-03-12 22:20 ` [dpdk-dev] [PATCH v2] " Tyler Retzlaff
0 siblings, 2 replies; 20+ messages in thread
From: Tyler Retzlaff @ 2021-03-11 19:27 UTC (permalink / raw)
To: dev; +Cc: thomas, ferruh.yigit, andrew.rybchenko, bruce.richardson
Introduce a meson option enable_driver_sdk when true installs internal
driver headers for ethdev. this allows drivers that do not depend on
stable api/abi to be built external to the dpdk source tree.
Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
---
it's still unclear to me if we should be renaming the headers:
ethdev_driver.h -> rte_ethdev_driver.h
ethdev_pci.h -> rte_ethdev_pci.h
ethdev_vdev.h -> rte_ethdev_vdev.h
lib/librte_ethdev/meson.build | 5 +++++
meson_options.txt | 2 ++
2 files changed, 7 insertions(+)
diff --git a/lib/librte_ethdev/meson.build b/lib/librte_ethdev/meson.build
index c37b2e377..7ecdec6f0 100644
--- a/lib/librte_ethdev/meson.build
+++ b/lib/librte_ethdev/meson.build
@@ -20,6 +20,11 @@ headers = files('rte_ethdev.h',
'rte_mtr_driver.h',
'rte_tm.h',
'rte_tm_driver.h')
+if get_option('enable_driver_sdk')
+headers += files('ethdev_driver.h',
+ 'ethdev_pci.h',
+ 'ethdev_vdev.h')
+endif
indirect_headers += files(
'rte_ethdev_core.h',
'rte_eth_ctrl.h')
diff --git a/meson_options.txt b/meson_options.txt
index 6eff62e47..857874a19 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -8,6 +8,8 @@ option('drivers_install_subdir', type: 'string', value: 'dpdk/pmds-<VERSION>',
description: 'Subdirectory of libdir where to install PMDs. Defaults to using a versioned subdirectory.')
option('enable_docs', type: 'boolean', value: false,
description: 'build documentation')
+option('enable_driver_sdk', type: 'boolean', value: false,
+ description: 'install internal driver plugin headers')
option('enable_kmods', type: 'boolean', value: false,
description: 'build kernel modules')
option('examples', type: 'string', value: '',
--
2.30.0.vfs.0.2
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [dpdk-dev] [PATCH] ethdev: introduce enable_driver_sdk to install driver headers
2021-03-11 19:27 [dpdk-dev] [PATCH] ethdev: introduce enable_driver_sdk to install driver headers Tyler Retzlaff
@ 2021-03-12 15:19 ` Ferruh Yigit
2021-03-12 15:25 ` David Marchand
2021-03-12 22:20 ` [dpdk-dev] [PATCH v2] " Tyler Retzlaff
1 sibling, 1 reply; 20+ messages in thread
From: Ferruh Yigit @ 2021-03-12 15:19 UTC (permalink / raw)
To: Tyler Retzlaff, dev; +Cc: thomas, andrew.rybchenko, bruce.richardson
On 3/11/2021 7:27 PM, Tyler Retzlaff wrote:
> Introduce a meson option enable_driver_sdk when true installs internal
> driver headers for ethdev. this allows drivers that do not depend on
> stable api/abi to be built external to the dpdk source tree.
>
> Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
> ---
>
> it's still unclear to me if we should be renaming the headers:
>
> ethdev_driver.h -> rte_ethdev_driver.h
> ethdev_pci.h -> rte_ethdev_pci.h
> ethdev_vdev.h -> rte_ethdev_vdev.h
>
> lib/librte_ethdev/meson.build | 5 +++++
> meson_options.txt | 2 ++
> 2 files changed, 7 insertions(+)
>
> diff --git a/lib/librte_ethdev/meson.build b/lib/librte_ethdev/meson.build
> index c37b2e377..7ecdec6f0 100644
> --- a/lib/librte_ethdev/meson.build
> +++ b/lib/librte_ethdev/meson.build
> @@ -20,6 +20,11 @@ headers = files('rte_ethdev.h',
> 'rte_mtr_driver.h',
> 'rte_tm.h',
> 'rte_tm_driver.h')
> +if get_option('enable_driver_sdk')
> +headers += files('ethdev_driver.h',
> + 'ethdev_pci.h',
> + 'ethdev_vdev.h')
> +endif
Instead of adding the "get_option('enable_driver_sdk')" checks to the modules,
what about a more generic solution, like:
modules assign relevant headers into a new variable, let's say 'pmd_headers',
and in a high level meson file, all 'pmd_headers' are installed if
'enable_driver_sdk' enabled?
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [dpdk-dev] [PATCH] ethdev: introduce enable_driver_sdk to install driver headers
2021-03-12 15:19 ` Ferruh Yigit
@ 2021-03-12 15:25 ` David Marchand
2021-03-12 15:34 ` Bruce Richardson
0 siblings, 1 reply; 20+ messages in thread
From: David Marchand @ 2021-03-12 15:25 UTC (permalink / raw)
To: Ferruh Yigit
Cc: Tyler Retzlaff, dev, Thomas Monjalon, Andrew Rybchenko, Bruce Richardson
On Fri, Mar 12, 2021 at 4:20 PM Ferruh Yigit <ferruh.yigit@intel.com> wrote:
>
> On 3/11/2021 7:27 PM, Tyler Retzlaff wrote:
> > Introduce a meson option enable_driver_sdk when true installs internal
> > driver headers for ethdev. this allows drivers that do not depend on
> > stable api/abi to be built external to the dpdk source tree.
> >
> > Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
> > ---
> >
> > it's still unclear to me if we should be renaming the headers:
> >
> > ethdev_driver.h -> rte_ethdev_driver.h
> > ethdev_pci.h -> rte_ethdev_pci.h
> > ethdev_vdev.h -> rte_ethdev_vdev.h
> >
> > lib/librte_ethdev/meson.build | 5 +++++
> > meson_options.txt | 2 ++
> > 2 files changed, 7 insertions(+)
> >
> > diff --git a/lib/librte_ethdev/meson.build b/lib/librte_ethdev/meson.build
> > index c37b2e377..7ecdec6f0 100644
> > --- a/lib/librte_ethdev/meson.build
> > +++ b/lib/librte_ethdev/meson.build
> > @@ -20,6 +20,11 @@ headers = files('rte_ethdev.h',
> > 'rte_mtr_driver.h',
> > 'rte_tm.h',
> > 'rte_tm_driver.h')
> > +if get_option('enable_driver_sdk')
> > +headers += files('ethdev_driver.h',
> > + 'ethdev_pci.h',
> > + 'ethdev_vdev.h')
> > +endif
>
> Instead of adding the "get_option('enable_driver_sdk')" checks to the modules,
> what about a more generic solution, like:
>
> modules assign relevant headers into a new variable, let's say 'pmd_headers',
> and in a high level meson file, all 'pmd_headers' are installed if
> 'enable_driver_sdk' enabled?
>
+1.
Just, I don't like "pmd_headers" as the list name.
It can be misunderstood as the list of pmd-specific headers (thinking
of rte_pmd_i40e.h), that are exposed to applications.
--
David Marchand
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [dpdk-dev] [PATCH] ethdev: introduce enable_driver_sdk to install driver headers
2021-03-12 15:25 ` David Marchand
@ 2021-03-12 15:34 ` Bruce Richardson
2021-03-12 15:52 ` Thomas Monjalon
0 siblings, 1 reply; 20+ messages in thread
From: Bruce Richardson @ 2021-03-12 15:34 UTC (permalink / raw)
To: David Marchand
Cc: Ferruh Yigit, Tyler Retzlaff, dev, Thomas Monjalon, Andrew Rybchenko
On Fri, Mar 12, 2021 at 04:25:09PM +0100, David Marchand wrote:
> On Fri, Mar 12, 2021 at 4:20 PM Ferruh Yigit <ferruh.yigit@intel.com> wrote:
> >
> > On 3/11/2021 7:27 PM, Tyler Retzlaff wrote:
> > > Introduce a meson option enable_driver_sdk when true installs internal
> > > driver headers for ethdev. this allows drivers that do not depend on
> > > stable api/abi to be built external to the dpdk source tree.
> > >
> > > Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
> > > ---
> > >
> > > it's still unclear to me if we should be renaming the headers:
> > >
> > > ethdev_driver.h -> rte_ethdev_driver.h
> > > ethdev_pci.h -> rte_ethdev_pci.h
> > > ethdev_vdev.h -> rte_ethdev_vdev.h
> > >
> > > lib/librte_ethdev/meson.build | 5 +++++
> > > meson_options.txt | 2 ++
> > > 2 files changed, 7 insertions(+)
> > >
> > > diff --git a/lib/librte_ethdev/meson.build b/lib/librte_ethdev/meson.build
> > > index c37b2e377..7ecdec6f0 100644
> > > --- a/lib/librte_ethdev/meson.build
> > > +++ b/lib/librte_ethdev/meson.build
> > > @@ -20,6 +20,11 @@ headers = files('rte_ethdev.h',
> > > 'rte_mtr_driver.h',
> > > 'rte_tm.h',
> > > 'rte_tm_driver.h')
> > > +if get_option('enable_driver_sdk')
> > > +headers += files('ethdev_driver.h',
> > > + 'ethdev_pci.h',
> > > + 'ethdev_vdev.h')
> > > +endif
> >
> > Instead of adding the "get_option('enable_driver_sdk')" checks to the modules,
> > what about a more generic solution, like:
> >
> > modules assign relevant headers into a new variable, let's say 'pmd_headers',
> > and in a high level meson file, all 'pmd_headers' are installed if
> > 'enable_driver_sdk' enabled?
> >
>
> +1.
> Just, I don't like "pmd_headers" as the list name.
> It can be misunderstood as the list of pmd-specific headers (thinking
> of rte_pmd_i40e.h), that are exposed to applications.
>
Since the option is called "enable_driver_sdk" the variable name of
"driver_sdk_headers" would be a good match. We should try and keep variable
names and option names in sync as much as possible.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [dpdk-dev] [PATCH] ethdev: introduce enable_driver_sdk to install driver headers
2021-03-12 15:34 ` Bruce Richardson
@ 2021-03-12 15:52 ` Thomas Monjalon
2021-03-12 18:43 ` Tyler Retzlaff
0 siblings, 1 reply; 20+ messages in thread
From: Thomas Monjalon @ 2021-03-12 15:52 UTC (permalink / raw)
To: David Marchand, Bruce Richardson, Ferruh Yigit
Cc: Tyler Retzlaff, dev, Andrew Rybchenko
12/03/2021 16:34, Bruce Richardson:
> On Fri, Mar 12, 2021 at 04:25:09PM +0100, David Marchand wrote:
> > On Fri, Mar 12, 2021 at 4:20 PM Ferruh Yigit <ferruh.yigit@intel.com> wrote:
> > >
> > > On 3/11/2021 7:27 PM, Tyler Retzlaff wrote:
> > > > Introduce a meson option enable_driver_sdk when true installs internal
> > > > driver headers for ethdev. this allows drivers that do not depend on
> > > > stable api/abi to be built external to the dpdk source tree.
> > > >
> > > > Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
> > > > ---
> > > >
> > > > it's still unclear to me if we should be renaming the headers:
> > > >
> > > > ethdev_driver.h -> rte_ethdev_driver.h
> > > > ethdev_pci.h -> rte_ethdev_pci.h
> > > > ethdev_vdev.h -> rte_ethdev_vdev.h
> > > >
> > > > lib/librte_ethdev/meson.build | 5 +++++
> > > > meson_options.txt | 2 ++
> > > > 2 files changed, 7 insertions(+)
> > > >
> > > > diff --git a/lib/librte_ethdev/meson.build b/lib/librte_ethdev/meson.build
> > > > index c37b2e377..7ecdec6f0 100644
> > > > --- a/lib/librte_ethdev/meson.build
> > > > +++ b/lib/librte_ethdev/meson.build
> > > > @@ -20,6 +20,11 @@ headers = files('rte_ethdev.h',
> > > > 'rte_mtr_driver.h',
> > > > 'rte_tm.h',
> > > > 'rte_tm_driver.h')
> > > > +if get_option('enable_driver_sdk')
> > > > +headers += files('ethdev_driver.h',
> > > > + 'ethdev_pci.h',
> > > > + 'ethdev_vdev.h')
> > > > +endif
> > >
> > > Instead of adding the "get_option('enable_driver_sdk')" checks to the modules,
> > > what about a more generic solution, like:
> > >
> > > modules assign relevant headers into a new variable, let's say 'pmd_headers',
> > > and in a high level meson file, all 'pmd_headers' are installed if
> > > 'enable_driver_sdk' enabled?
> > >
> >
> > +1.
> > Just, I don't like "pmd_headers" as the list name.
> > It can be misunderstood as the list of pmd-specific headers (thinking
> > of rte_pmd_i40e.h), that are exposed to applications.
> >
> Since the option is called "enable_driver_sdk" the variable name of
> "driver_sdk_headers" would be a good match. We should try and keep variable
> names and option names in sync as much as possible.
+1
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [dpdk-dev] [PATCH] ethdev: introduce enable_driver_sdk to install driver headers
2021-03-12 15:52 ` Thomas Monjalon
@ 2021-03-12 18:43 ` Tyler Retzlaff
0 siblings, 0 replies; 20+ messages in thread
From: Tyler Retzlaff @ 2021-03-12 18:43 UTC (permalink / raw)
To: Thomas Monjalon
Cc: David Marchand, Bruce Richardson, Ferruh Yigit, dev, Andrew Rybchenko
On Fri, Mar 12, 2021 at 04:52:05PM +0100, Thomas Monjalon wrote:
> 12/03/2021 16:34, Bruce Richardson:
> > > >
> > > > Instead of adding the "get_option('enable_driver_sdk')" checks to the modules,
> > > > what about a more generic solution, like:
> > > >
> > > > modules assign relevant headers into a new variable, let's say 'pmd_headers',
> > > > and in a high level meson file, all 'pmd_headers' are installed if
> > > > 'enable_driver_sdk' enabled?
> > > >
> > >
> > > +1.
> > > Just, I don't like "pmd_headers" as the list name.
> > > It can be misunderstood as the list of pmd-specific headers (thinking
> > > of rte_pmd_i40e.h), that are exposed to applications.
> > >
> > Since the option is called "enable_driver_sdk" the variable name of
> > "driver_sdk_headers" would be a good match. We should try and keep variable
> > names and option names in sync as much as possible.
>
> +1
>
seems like there is consensus. i'll figure out how introduce a
driver_sdk_headers variable generically and remove the per-meson.build
conditional evaluation.
thanks
^ permalink raw reply [flat|nested] 20+ messages in thread
* [dpdk-dev] [PATCH v2] ethdev: introduce enable_driver_sdk to install driver headers
2021-03-11 19:27 [dpdk-dev] [PATCH] ethdev: introduce enable_driver_sdk to install driver headers Tyler Retzlaff
2021-03-12 15:19 ` Ferruh Yigit
@ 2021-03-12 22:20 ` Tyler Retzlaff
2021-03-15 10:06 ` Bruce Richardson
2021-03-23 17:04 ` Ferruh Yigit
1 sibling, 2 replies; 20+ messages in thread
From: Tyler Retzlaff @ 2021-03-12 22:20 UTC (permalink / raw)
To: dev; +Cc: thomas, ferruh.yigit, andrew.rybchenko, bruce.richardson
Introduce a meson option enable_driver_sdk when true installs internal
driver headers for ethdev. this allows drivers that do not depend on
stable api/abi to be built external to the dpdk source tree.
Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
---
lib/librte_ethdev/meson.build | 6 ++++++
lib/meson.build | 4 ++++
meson_options.txt | 2 ++
3 files changed, 12 insertions(+)
diff --git a/lib/librte_ethdev/meson.build b/lib/librte_ethdev/meson.build
index c37b2e377..4353fa6b7 100644
--- a/lib/librte_ethdev/meson.build
+++ b/lib/librte_ethdev/meson.build
@@ -20,8 +20,14 @@ headers = files('rte_ethdev.h',
'rte_mtr_driver.h',
'rte_tm.h',
'rte_tm_driver.h')
+
indirect_headers += files(
'rte_ethdev_core.h',
'rte_eth_ctrl.h')
+driver_sdk_headers += files(
+ 'ethdev_driver.h',
+ 'ethdev_pci.h',
+ 'ethdev_vdev.h')
+
deps += ['net', 'kvargs', 'meter', 'telemetry']
diff --git a/lib/meson.build b/lib/meson.build
index 7712aa497..992ebdf63 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -67,6 +67,7 @@ foreach l:libraries
sources = []
headers = []
indirect_headers = [] # public headers not directly included by apps
+ driver_sdk_headers = [] # public headers included by drivers
includes = []
cflags = default_cflags
objs = [] # other object files to link against, used e.g. for
@@ -105,6 +106,9 @@ foreach l:libraries
dpdk_conf.set('RTE_LIB_' + name.to_upper(), 1)
install_headers(headers)
install_headers(indirect_headers)
+ if get_option('enable_driver_sdk')
+ install_headers(driver_sdk_headers)
+ endif
dpdk_chkinc_headers += headers
libname = 'rte_' + name
diff --git a/meson_options.txt b/meson_options.txt
index 6eff62e47..857874a19 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -8,6 +8,8 @@ option('drivers_install_subdir', type: 'string', value: 'dpdk/pmds-<VERSION>',
description: 'Subdirectory of libdir where to install PMDs. Defaults to using a versioned subdirectory.')
option('enable_docs', type: 'boolean', value: false,
description: 'build documentation')
+option('enable_driver_sdk', type: 'boolean', value: false,
+ description: 'install internal driver plugin headers')
option('enable_kmods', type: 'boolean', value: false,
description: 'build kernel modules')
option('examples', type: 'string', value: '',
--
2.30.0.vfs.0.2
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [dpdk-dev] [PATCH v2] ethdev: introduce enable_driver_sdk to install driver headers
2021-03-12 22:20 ` [dpdk-dev] [PATCH v2] " Tyler Retzlaff
@ 2021-03-15 10:06 ` Bruce Richardson
2021-03-23 17:04 ` Ferruh Yigit
1 sibling, 0 replies; 20+ messages in thread
From: Bruce Richardson @ 2021-03-15 10:06 UTC (permalink / raw)
To: Tyler Retzlaff; +Cc: dev, thomas, ferruh.yigit, andrew.rybchenko
On Fri, Mar 12, 2021 at 02:20:06PM -0800, Tyler Retzlaff wrote:
> Introduce a meson option enable_driver_sdk when true installs internal
> driver headers for ethdev. this allows drivers that do not depend on
> stable api/abi to be built external to the dpdk source tree.
>
> Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
> ---
> lib/librte_ethdev/meson.build | 6 ++++++
> lib/meson.build | 4 ++++
> meson_options.txt | 2 ++
> 3 files changed, 12 insertions(+)
>
The infrastructure looks good to me. However, you need to add change to the
cryptodev, eventdev, etc. to add the headers from there too.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [dpdk-dev] [PATCH v2] ethdev: introduce enable_driver_sdk to install driver headers
2021-03-12 22:20 ` [dpdk-dev] [PATCH v2] " Tyler Retzlaff
2021-03-15 10:06 ` Bruce Richardson
@ 2021-03-23 17:04 ` Ferruh Yigit
2021-03-24 4:32 ` Tyler Retzlaff
1 sibling, 1 reply; 20+ messages in thread
From: Ferruh Yigit @ 2021-03-23 17:04 UTC (permalink / raw)
To: Tyler Retzlaff, dev, Ed Czeck
Cc: thomas, andrew.rybchenko, bruce.richardson, Shepard Siegel
On 3/12/2021 10:20 PM, Tyler Retzlaff wrote:
> Introduce a meson option enable_driver_sdk when true installs internal
> driver headers for ethdev. this allows drivers that do not depend on
> stable api/abi to be built external to the dpdk source tree.
>
> Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
> ---
> lib/librte_ethdev/meson.build | 6 ++++++
> lib/meson.build | 4 ++++
> meson_options.txt | 2 ++
> 3 files changed, 12 insertions(+)
>
> diff --git a/lib/librte_ethdev/meson.build b/lib/librte_ethdev/meson.build
> index c37b2e377..4353fa6b7 100644
> --- a/lib/librte_ethdev/meson.build
> +++ b/lib/librte_ethdev/meson.build
> @@ -20,8 +20,14 @@ headers = files('rte_ethdev.h',
> 'rte_mtr_driver.h',
> 'rte_tm.h',
> 'rte_tm_driver.h')
> +
> indirect_headers += files(
> 'rte_ethdev_core.h',
> 'rte_eth_ctrl.h')
>
> +driver_sdk_headers += files(
> + 'ethdev_driver.h',
> + 'ethdev_pci.h',
> + 'ethdev_vdev.h')
> +
> deps += ['net', 'kvargs', 'meter', 'telemetry']
> diff --git a/lib/meson.build b/lib/meson.build
> index 7712aa497..992ebdf63 100644
> --- a/lib/meson.build
> +++ b/lib/meson.build
> @@ -67,6 +67,7 @@ foreach l:libraries
> sources = []
> headers = []
> indirect_headers = [] # public headers not directly included by apps
> + driver_sdk_headers = [] # public headers included by drivers
> includes = []
> cflags = default_cflags
> objs = [] # other object files to link against, used e.g. for
> @@ -105,6 +106,9 @@ foreach l:libraries
> dpdk_conf.set('RTE_LIB_' + name.to_upper(), 1)
> install_headers(headers)
> install_headers(indirect_headers)
> + if get_option('enable_driver_sdk')
> + install_headers(driver_sdk_headers)
> + endif
> dpdk_chkinc_headers += headers
>
> libname = 'rte_' + name
> diff --git a/meson_options.txt b/meson_options.txt
> index 6eff62e47..857874a19 100644
> --- a/meson_options.txt
> +++ b/meson_options.txt
> @@ -8,6 +8,8 @@ option('drivers_install_subdir', type: 'string', value: 'dpdk/pmds-<VERSION>',
> description: 'Subdirectory of libdir where to install PMDs. Defaults to using a versioned subdirectory.')
> option('enable_docs', type: 'boolean', value: false,
> description: 'build documentation')
> +option('enable_driver_sdk', type: 'boolean', value: false,
> + description: 'install internal driver plugin headers')
> option('enable_kmods', type: 'boolean', value: false,
> description: 'build kernel modules')
> option('examples', type: 'string', value: '',
>
+Ed, who was looking way to install 'ark_ext.h' for Ark PMD.
Ed,
Can you please review the patch from your perspective?
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [dpdk-dev] [PATCH v2] ethdev: introduce enable_driver_sdk to install driver headers
2021-03-23 17:04 ` Ferruh Yigit
@ 2021-03-24 4:32 ` Tyler Retzlaff
2021-03-24 11:27 ` Ferruh Yigit
0 siblings, 1 reply; 20+ messages in thread
From: Tyler Retzlaff @ 2021-03-24 4:32 UTC (permalink / raw)
To: Ferruh Yigit
Cc: dev, thomas, andrew.rybchenko, bruce.richardson, Shepard Siegel
On Tue, Mar 23, 2021 at 05:04:08PM +0000, Ferruh Yigit wrote:
> >diff --git a/lib/librte_ethdev/meson.build b/lib/librte_ethdev/meson.build
> >index c37b2e377..4353fa6b7 100644
> >--- a/lib/librte_ethdev/meson.build
> >+++ b/lib/librte_ethdev/meson.build
> >@@ -20,8 +20,14 @@ headers = files('rte_ethdev.h',
> > 'rte_mtr_driver.h',
> > 'rte_tm.h',
> > 'rte_tm_driver.h')
> >+
> > indirect_headers += files(
> > 'rte_ethdev_core.h',
> > 'rte_eth_ctrl.h')
> >+driver_sdk_headers += files(
> >+ 'ethdev_driver.h',
> >+ 'ethdev_pci.h',
> >+ 'ethdev_vdev.h')
> >+
> > deps += ['net', 'kvargs', 'meter', 'telemetry']
>
i feel like i missed a reply here. but just to clarify only ethdev will
be covered by this patch. inclusion of other driver headers was
discussed off list (sorry) and it emerged that it would result in
withdraw a number of driver api/abi that had not been marked as
__rte_internal.
for driver api that were being exported as 'stable' a deprecation notice
will need to be issued in order to make them part of the
driver_sdk_headers. for that reason only ethdev is being made available
under this option for now.
please ack/nack the patch as-is
thanks
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [dpdk-dev] [PATCH v2] ethdev: introduce enable_driver_sdk to install driver headers
2021-03-24 4:32 ` Tyler Retzlaff
@ 2021-03-24 11:27 ` Ferruh Yigit
2021-03-24 11:30 ` Thomas Monjalon
2021-03-30 12:50 ` Ferruh Yigit
0 siblings, 2 replies; 20+ messages in thread
From: Ferruh Yigit @ 2021-03-24 11:27 UTC (permalink / raw)
To: Tyler Retzlaff, thomas
Cc: dev, andrew.rybchenko, bruce.richardson, Shepard Siegel, David Marchand
On 3/24/2021 4:32 AM, Tyler Retzlaff wrote:
> On Tue, Mar 23, 2021 at 05:04:08PM +0000, Ferruh Yigit wrote:
>>> diff --git a/lib/librte_ethdev/meson.build b/lib/librte_ethdev/meson.build
>>> index c37b2e377..4353fa6b7 100644
>>> --- a/lib/librte_ethdev/meson.build
>>> +++ b/lib/librte_ethdev/meson.build
>>> @@ -20,8 +20,14 @@ headers = files('rte_ethdev.h',
>>> 'rte_mtr_driver.h',
>>> 'rte_tm.h',
>>> 'rte_tm_driver.h')
>>> +
>>> indirect_headers += files(
>>> 'rte_ethdev_core.h',
>>> 'rte_eth_ctrl.h')
>>> +driver_sdk_headers += files(
>>> + 'ethdev_driver.h',
>>> + 'ethdev_pci.h',
>>> + 'ethdev_vdev.h')
>>> +
>>> deps += ['net', 'kvargs', 'meter', 'telemetry']
>>
>
> i feel like i missed a reply here. but just to clarify only ethdev will
> be covered by this patch. inclusion of other driver headers was
> discussed off list (sorry) and it emerged that it would result in
> withdraw a number of driver api/abi that had not been marked as
> __rte_internal.
>
> for driver api that were being exported as 'stable' a deprecation notice
> will need to be issued in order to make them part of the
> driver_sdk_headers. for that reason only ethdev is being made available
> under this option for now.
>
> please ack/nack the patch as-is
>
I am OK the patch for the ethdev part, hence
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
But not sure how to manage the same problem for whole project, if install all
headers in one patch, or add them gradually via separate patches by time ...
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [dpdk-dev] [PATCH v2] ethdev: introduce enable_driver_sdk to install driver headers
2021-03-24 11:27 ` Ferruh Yigit
@ 2021-03-24 11:30 ` Thomas Monjalon
2021-03-24 16:24 ` Tyler Retzlaff
2021-03-30 12:50 ` Ferruh Yigit
1 sibling, 1 reply; 20+ messages in thread
From: Thomas Monjalon @ 2021-03-24 11:30 UTC (permalink / raw)
To: Ferruh Yigit
Cc: Tyler Retzlaff, dev, andrew.rybchenko, bruce.richardson,
Shepard Siegel, David Marchand
24/03/2021 12:27, Ferruh Yigit:
> On 3/24/2021 4:32 AM, Tyler Retzlaff wrote:
> > On Tue, Mar 23, 2021 at 05:04:08PM +0000, Ferruh Yigit wrote:
> >>> diff --git a/lib/librte_ethdev/meson.build b/lib/librte_ethdev/meson.build
> >>> index c37b2e377..4353fa6b7 100644
> >>> --- a/lib/librte_ethdev/meson.build
> >>> +++ b/lib/librte_ethdev/meson.build
> >>> @@ -20,8 +20,14 @@ headers = files('rte_ethdev.h',
> >>> 'rte_mtr_driver.h',
> >>> 'rte_tm.h',
> >>> 'rte_tm_driver.h')
> >>> +
> >>> indirect_headers += files(
> >>> 'rte_ethdev_core.h',
> >>> 'rte_eth_ctrl.h')
> >>> +driver_sdk_headers += files(
> >>> + 'ethdev_driver.h',
> >>> + 'ethdev_pci.h',
> >>> + 'ethdev_vdev.h')
> >>> +
> >>> deps += ['net', 'kvargs', 'meter', 'telemetry']
> >>
> >
> > i feel like i missed a reply here. but just to clarify only ethdev will
> > be covered by this patch. inclusion of other driver headers was
> > discussed off list (sorry) and it emerged that it would result in
> > withdraw a number of driver api/abi that had not been marked as
> > __rte_internal.
> >
> > for driver api that were being exported as 'stable' a deprecation notice
> > will need to be issued in order to make them part of the
> > driver_sdk_headers. for that reason only ethdev is being made available
> > under this option for now.
> >
> > please ack/nack the patch as-is
> >
>
> I am OK the patch for the ethdev part, hence
> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
>
>
> But not sure how to manage the same problem for whole project, if install all
> headers in one patch, or add them gradually via separate patches by time ...
We did a cleanup in ethdev but not in other driver classes.
When the cleanup will be done gradually, the headers
must move in this new category driver_sdk_headers.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [dpdk-dev] [PATCH v2] ethdev: introduce enable_driver_sdk to install driver headers
2021-03-24 11:30 ` Thomas Monjalon
@ 2021-03-24 16:24 ` Tyler Retzlaff
2021-03-26 12:02 ` Ferruh Yigit
0 siblings, 1 reply; 20+ messages in thread
From: Tyler Retzlaff @ 2021-03-24 16:24 UTC (permalink / raw)
To: Thomas Monjalon
Cc: Ferruh Yigit, dev, andrew.rybchenko, bruce.richardson,
Shepard Siegel, David Marchand
On Wed, Mar 24, 2021 at 12:30:36PM +0100, Thomas Monjalon wrote:
> 24/03/2021 12:27, Ferruh Yigit:
> >
> > But not sure how to manage the same problem for whole project, if install all
> > headers in one patch, or add them gradually via separate patches by time ...
>
> We did a cleanup in ethdev but not in other driver classes.
> When the cleanup will be done gradually, the headers
> must move in this new category driver_sdk_headers.
yes, some headers are not installed now. so they need only to have
their api marked __rte_internal and installed (since there should be no
external consumer as a function of not being installed)
the more difficult case is where headers were installed but the api were
not marked __rte_internal and appear in the stable version.map. for
those i guess deprecation notice has to be issued before marking as
internal.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [dpdk-dev] [PATCH v2] ethdev: introduce enable_driver_sdk to install driver headers
2021-03-24 16:24 ` Tyler Retzlaff
@ 2021-03-26 12:02 ` Ferruh Yigit
2021-03-26 20:52 ` Tyler Retzlaff
0 siblings, 1 reply; 20+ messages in thread
From: Ferruh Yigit @ 2021-03-26 12:02 UTC (permalink / raw)
To: Tyler Retzlaff, Thomas Monjalon
Cc: dev, andrew.rybchenko, bruce.richardson, Shepard Siegel, David Marchand
On 3/24/2021 4:24 PM, Tyler Retzlaff wrote:
> On Wed, Mar 24, 2021 at 12:30:36PM +0100, Thomas Monjalon wrote:
>> 24/03/2021 12:27, Ferruh Yigit:
>>>
>>> But not sure how to manage the same problem for whole project, if install all
>>> headers in one patch, or add them gradually via separate patches by time ...
>>
>> We did a cleanup in ethdev but not in other driver classes.
>> When the cleanup will be done gradually, the headers
>> must move in this new category driver_sdk_headers.
>
> yes, some headers are not installed now. so they need only to have
> their api marked __rte_internal and installed (since there should be no
> external consumer as a function of not being installed)
>
> the more difficult case is where headers were installed but the api were
> not marked __rte_internal and appear in the stable version.map. for
> those i guess deprecation notice has to be issued before marking as
> internal.
>
Are you referring to any specific APIs, can you share list of them?
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [dpdk-dev] [PATCH v2] ethdev: introduce enable_driver_sdk to install driver headers
2021-03-26 12:02 ` Ferruh Yigit
@ 2021-03-26 20:52 ` Tyler Retzlaff
2021-03-29 9:43 ` Ferruh Yigit
0 siblings, 1 reply; 20+ messages in thread
From: Tyler Retzlaff @ 2021-03-26 20:52 UTC (permalink / raw)
To: Ferruh Yigit
Cc: Thomas Monjalon, dev, andrew.rybchenko, bruce.richardson,
Shepard Siegel, David Marchand
On Fri, Mar 26, 2021 at 12:02:55PM +0000, Ferruh Yigit wrote:
> On 3/24/2021 4:24 PM, Tyler Retzlaff wrote:
> >On Wed, Mar 24, 2021 at 12:30:36PM +0100, Thomas Monjalon wrote:
> >>24/03/2021 12:27, Ferruh Yigit:
> >>>
> >>>But not sure how to manage the same problem for whole project, if install all
> >>>headers in one patch, or add them gradually via separate patches by time ...
> >>
> >>We did a cleanup in ethdev but not in other driver classes.
> >>When the cleanup will be done gradually, the headers
> >>must move in this new category driver_sdk_headers.
> >
> >yes, some headers are not installed now. so they need only to have
> >their api marked __rte_internal and installed (since there should be no
> >external consumer as a function of not being installed)
> >
> >the more difficult case is where headers were installed but the api were
> >not marked __rte_internal and appear in the stable version.map. for
> >those i guess deprecation notice has to be issued before marking as
> >internal.
> >
>
> Are you referring to any specific APIs, can you share list of them?
i can't remember the whole list but Thomas originally indicated the
following candidate list.
baseband/ -> librte_bbdev/rte_bbdev_pmd.h
bus/ -> rte_bus.h
common/ -> no interface
crypto/ -> librte_cryptodev/rte_cryptodev_pmd.h
event/ -> librte_eventdev/
mempool/ -> librte_mempool/
net/ -> librte_ethdev/
raw/ -> librte_rawdev/rte_rawdev_pmd.h
regex/ -> librte_regexdev/rte_regexdev_driver.h
vdpa/ -> librte_vhost/rte_vdpa_dev.h
some of these headers are not published, some are.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [dpdk-dev] [PATCH v2] ethdev: introduce enable_driver_sdk to install driver headers
2021-03-26 20:52 ` Tyler Retzlaff
@ 2021-03-29 9:43 ` Ferruh Yigit
2021-03-29 12:10 ` Thomas Monjalon
0 siblings, 1 reply; 20+ messages in thread
From: Ferruh Yigit @ 2021-03-29 9:43 UTC (permalink / raw)
To: Tyler Retzlaff
Cc: Thomas Monjalon, dev, andrew.rybchenko, bruce.richardson,
Shepard Siegel, David Marchand
On 3/26/2021 8:52 PM, Tyler Retzlaff wrote:
> On Fri, Mar 26, 2021 at 12:02:55PM +0000, Ferruh Yigit wrote:
>> On 3/24/2021 4:24 PM, Tyler Retzlaff wrote:
>>> On Wed, Mar 24, 2021 at 12:30:36PM +0100, Thomas Monjalon wrote:
>>>> 24/03/2021 12:27, Ferruh Yigit:
>>>>>
>>>>> But not sure how to manage the same problem for whole project, if install all
>>>>> headers in one patch, or add them gradually via separate patches by time ...
>>>>
>>>> We did a cleanup in ethdev but not in other driver classes.
>>>> When the cleanup will be done gradually, the headers
>>>> must move in this new category driver_sdk_headers.
>>>
>>> yes, some headers are not installed now. so they need only to have
>>> their api marked __rte_internal and installed (since there should be no
>>> external consumer as a function of not being installed)
>>>
>>> the more difficult case is where headers were installed but the api were
>>> not marked __rte_internal and appear in the stable version.map. for
>>> those i guess deprecation notice has to be issued before marking as
>>> internal.
>>>
>>
>> Are you referring to any specific APIs, can you share list of them?
>
> i can't remember the whole list but Thomas originally indicated the
> following candidate list.
>
> baseband/ -> librte_bbdev/rte_bbdev_pmd.h
> bus/ -> rte_bus.h
> common/ -> no interface
> crypto/ -> librte_cryptodev/rte_cryptodev_pmd.h
> event/ -> librte_eventdev/
> mempool/ -> librte_mempool/
> net/ -> librte_ethdev/
> raw/ -> librte_rawdev/rte_rawdev_pmd.h
> regex/ -> librte_regexdev/rte_regexdev_driver.h
> vdpa/ -> librte_vhost/rte_vdpa_dev.h
>
> some of these headers are not published, some are.
>
These are public headers, so they should not have '__rte_internal' functions,
are you saying some of public headers has internal functions that are presented
as public APIs?
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [dpdk-dev] [PATCH v2] ethdev: introduce enable_driver_sdk to install driver headers
2021-03-29 9:43 ` Ferruh Yigit
@ 2021-03-29 12:10 ` Thomas Monjalon
2021-03-29 15:23 ` Ferruh Yigit
0 siblings, 1 reply; 20+ messages in thread
From: Thomas Monjalon @ 2021-03-29 12:10 UTC (permalink / raw)
To: Tyler Retzlaff, Ferruh Yigit
Cc: dev, andrew.rybchenko, bruce.richardson, Shepard Siegel, David Marchand
29/03/2021 11:43, Ferruh Yigit:
> On 3/26/2021 8:52 PM, Tyler Retzlaff wrote:
> > On Fri, Mar 26, 2021 at 12:02:55PM +0000, Ferruh Yigit wrote:
> >> On 3/24/2021 4:24 PM, Tyler Retzlaff wrote:
> >>> On Wed, Mar 24, 2021 at 12:30:36PM +0100, Thomas Monjalon wrote:
> >>>> 24/03/2021 12:27, Ferruh Yigit:
> >>>>>
> >>>>> But not sure how to manage the same problem for whole project, if install all
> >>>>> headers in one patch, or add them gradually via separate patches by time ...
> >>>>
> >>>> We did a cleanup in ethdev but not in other driver classes.
> >>>> When the cleanup will be done gradually, the headers
> >>>> must move in this new category driver_sdk_headers.
> >>>
> >>> yes, some headers are not installed now. so they need only to have
> >>> their api marked __rte_internal and installed (since there should be no
> >>> external consumer as a function of not being installed)
> >>>
> >>> the more difficult case is where headers were installed but the api were
> >>> not marked __rte_internal and appear in the stable version.map. for
> >>> those i guess deprecation notice has to be issued before marking as
> >>> internal.
> >>>
> >>
> >> Are you referring to any specific APIs, can you share list of them?
> >
> > i can't remember the whole list but Thomas originally indicated the
> > following candidate list.
> >
> > baseband/ -> librte_bbdev/rte_bbdev_pmd.h
> > bus/ -> rte_bus.h
> > common/ -> no interface
> > crypto/ -> librte_cryptodev/rte_cryptodev_pmd.h
> > event/ -> librte_eventdev/
> > mempool/ -> librte_mempool/
> > net/ -> librte_ethdev/
> > raw/ -> librte_rawdev/rte_rawdev_pmd.h
> > regex/ -> librte_regexdev/rte_regexdev_driver.h
> > vdpa/ -> librte_vhost/rte_vdpa_dev.h
> >
> > some of these headers are not published, some are.
> >
>
> These are public headers, so they should not have '__rte_internal' functions,
> are you saying some of public headers has internal functions that are presented
> as public APIs?
These are the headers for use by the drivers.
We should classify them as SDK headers, not API.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [dpdk-dev] [PATCH v2] ethdev: introduce enable_driver_sdk to install driver headers
2021-03-29 12:10 ` Thomas Monjalon
@ 2021-03-29 15:23 ` Ferruh Yigit
2021-03-29 19:31 ` Thomas Monjalon
0 siblings, 1 reply; 20+ messages in thread
From: Ferruh Yigit @ 2021-03-29 15:23 UTC (permalink / raw)
To: Thomas Monjalon, Tyler Retzlaff
Cc: dev, andrew.rybchenko, bruce.richardson, Shepard Siegel, David Marchand
On 3/29/2021 1:10 PM, Thomas Monjalon wrote:
> 29/03/2021 11:43, Ferruh Yigit:
>> On 3/26/2021 8:52 PM, Tyler Retzlaff wrote:
>>> On Fri, Mar 26, 2021 at 12:02:55PM +0000, Ferruh Yigit wrote:
>>>> On 3/24/2021 4:24 PM, Tyler Retzlaff wrote:
>>>>> On Wed, Mar 24, 2021 at 12:30:36PM +0100, Thomas Monjalon wrote:
>>>>>> 24/03/2021 12:27, Ferruh Yigit:
>>>>>>>
>>>>>>> But not sure how to manage the same problem for whole project, if install all
>>>>>>> headers in one patch, or add them gradually via separate patches by time ...
>>>>>>
>>>>>> We did a cleanup in ethdev but not in other driver classes.
>>>>>> When the cleanup will be done gradually, the headers
>>>>>> must move in this new category driver_sdk_headers.
>>>>>
>>>>> yes, some headers are not installed now. so they need only to have
>>>>> their api marked __rte_internal and installed (since there should be no
>>>>> external consumer as a function of not being installed)
>>>>>
>>>>> the more difficult case is where headers were installed but the api were
>>>>> not marked __rte_internal and appear in the stable version.map. for
>>>>> those i guess deprecation notice has to be issued before marking as
>>>>> internal.
>>>>>
>>>>
>>>> Are you referring to any specific APIs, can you share list of them?
>>>
>>> i can't remember the whole list but Thomas originally indicated the
>>> following candidate list.
>>>
>>> baseband/ -> librte_bbdev/rte_bbdev_pmd.h
>>> bus/ -> rte_bus.h
>>> common/ -> no interface
>>> crypto/ -> librte_cryptodev/rte_cryptodev_pmd.h
>>> event/ -> librte_eventdev/
>>> mempool/ -> librte_mempool/
>>> net/ -> librte_ethdev/
>>> raw/ -> librte_rawdev/rte_rawdev_pmd.h
>>> regex/ -> librte_regexdev/rte_regexdev_driver.h
>>> vdpa/ -> librte_vhost/rte_vdpa_dev.h
>>>
>>> some of these headers are not published, some are.
>>>
>>
>> These are public headers, so they should not have '__rte_internal' functions,
>> are you saying some of public headers has internal functions that are presented
>> as public APIs?
>
> These are the headers for use by the drivers.
> We should classify them as SDK headers, not API.
>
Yes, you are right, they shouldn't be public header.
So, agree to Tyler's comment, that some of those functions needs to be removed
from the stable API list first, which will take time.
I can proceed with the ethdev one, any objection?
And for the rest of the list, how can we fix them? I guess best option is to
distribute the work to each library, but we need an owner of the task to follow
and communicate it.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [dpdk-dev] [PATCH v2] ethdev: introduce enable_driver_sdk to install driver headers
2021-03-29 15:23 ` Ferruh Yigit
@ 2021-03-29 19:31 ` Thomas Monjalon
0 siblings, 0 replies; 20+ messages in thread
From: Thomas Monjalon @ 2021-03-29 19:31 UTC (permalink / raw)
To: Tyler Retzlaff, Ferruh Yigit
Cc: dev, andrew.rybchenko, bruce.richardson, Shepard Siegel,
David Marchand, techboard
29/03/2021 17:23, Ferruh Yigit:
> On 3/29/2021 1:10 PM, Thomas Monjalon wrote:
> > 29/03/2021 11:43, Ferruh Yigit:
> >> On 3/26/2021 8:52 PM, Tyler Retzlaff wrote:
> >>> On Fri, Mar 26, 2021 at 12:02:55PM +0000, Ferruh Yigit wrote:
> >>>> On 3/24/2021 4:24 PM, Tyler Retzlaff wrote:
> >>>>> On Wed, Mar 24, 2021 at 12:30:36PM +0100, Thomas Monjalon wrote:
> >>>>>> 24/03/2021 12:27, Ferruh Yigit:
> >>>>>>>
> >>>>>>> But not sure how to manage the same problem for whole project, if install all
> >>>>>>> headers in one patch, or add them gradually via separate patches by time ...
> >>>>>>
> >>>>>> We did a cleanup in ethdev but not in other driver classes.
> >>>>>> When the cleanup will be done gradually, the headers
> >>>>>> must move in this new category driver_sdk_headers.
> >>>>>
> >>>>> yes, some headers are not installed now. so they need only to have
> >>>>> their api marked __rte_internal and installed (since there should be no
> >>>>> external consumer as a function of not being installed)
> >>>>>
> >>>>> the more difficult case is where headers were installed but the api were
> >>>>> not marked __rte_internal and appear in the stable version.map. for
> >>>>> those i guess deprecation notice has to be issued before marking as
> >>>>> internal.
> >>>>>
> >>>>
> >>>> Are you referring to any specific APIs, can you share list of them?
> >>>
> >>> i can't remember the whole list but Thomas originally indicated the
> >>> following candidate list.
> >>>
> >>> baseband/ -> librte_bbdev/rte_bbdev_pmd.h
> >>> bus/ -> rte_bus.h
> >>> common/ -> no interface
> >>> crypto/ -> librte_cryptodev/rte_cryptodev_pmd.h
> >>> event/ -> librte_eventdev/
> >>> mempool/ -> librte_mempool/
> >>> net/ -> librte_ethdev/
> >>> raw/ -> librte_rawdev/rte_rawdev_pmd.h
> >>> regex/ -> librte_regexdev/rte_regexdev_driver.h
> >>> vdpa/ -> librte_vhost/rte_vdpa_dev.h
> >>>
> >>> some of these headers are not published, some are.
> >>>
> >>
> >> These are public headers, so they should not have '__rte_internal' functions,
> >> are you saying some of public headers has internal functions that are presented
> >> as public APIs?
> >
> > These are the headers for use by the drivers.
> > We should classify them as SDK headers, not API.
> >
>
> Yes, you are right, they shouldn't be public header.
>
> So, agree to Tyler's comment, that some of those functions needs to be removed
> from the stable API list first, which will take time.
>
> I can proceed with the ethdev one, any objection?
+1
> And for the rest of the list, how can we fix them? I guess best option is to
> distribute the work to each library, but we need an owner of the task to follow
> and communicate it.
+1
+Cc techboard
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [dpdk-dev] [PATCH v2] ethdev: introduce enable_driver_sdk to install driver headers
2021-03-24 11:27 ` Ferruh Yigit
2021-03-24 11:30 ` Thomas Monjalon
@ 2021-03-30 12:50 ` Ferruh Yigit
1 sibling, 0 replies; 20+ messages in thread
From: Ferruh Yigit @ 2021-03-30 12:50 UTC (permalink / raw)
To: Tyler Retzlaff, thomas
Cc: dev, andrew.rybchenko, bruce.richardson, Shepard Siegel, David Marchand
On 3/24/2021 11:27 AM, Ferruh Yigit wrote:
> On 3/24/2021 4:32 AM, Tyler Retzlaff wrote:
>> On Tue, Mar 23, 2021 at 05:04:08PM +0000, Ferruh Yigit wrote:
>>>> diff --git a/lib/librte_ethdev/meson.build b/lib/librte_ethdev/meson.build
>>>> index c37b2e377..4353fa6b7 100644
>>>> --- a/lib/librte_ethdev/meson.build
>>>> +++ b/lib/librte_ethdev/meson.build
>>>> @@ -20,8 +20,14 @@ headers = files('rte_ethdev.h',
>>>> 'rte_mtr_driver.h',
>>>> 'rte_tm.h',
>>>> 'rte_tm_driver.h')
>>>> +
>>>> indirect_headers += files(
>>>> 'rte_ethdev_core.h',
>>>> 'rte_eth_ctrl.h')
>>>> +driver_sdk_headers += files(
>>>> + 'ethdev_driver.h',
>>>> + 'ethdev_pci.h',
>>>> + 'ethdev_vdev.h')
>>>> +
>>>> deps += ['net', 'kvargs', 'meter', 'telemetry']
>>>
>>
>> i feel like i missed a reply here. but just to clarify only ethdev will
>> be covered by this patch. inclusion of other driver headers was
>> discussed off list (sorry) and it emerged that it would result in
>> withdraw a number of driver api/abi that had not been marked as
>> __rte_internal.
>>
>> for driver api that were being exported as 'stable' a deprecation notice
>> will need to be issued in order to make them part of the
>> driver_sdk_headers. for that reason only ethdev is being made available
>> under this option for now.
>>
>> please ack/nack the patch as-is
>>
>
> I am OK the patch for the ethdev part, hence
> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
>
Applied to dpdk-next-net/main, thanks.
^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2021-03-30 12:50 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11 19:27 [dpdk-dev] [PATCH] ethdev: introduce enable_driver_sdk to install driver headers Tyler Retzlaff
2021-03-12 15:19 ` Ferruh Yigit
2021-03-12 15:25 ` David Marchand
2021-03-12 15:34 ` Bruce Richardson
2021-03-12 15:52 ` Thomas Monjalon
2021-03-12 18:43 ` Tyler Retzlaff
2021-03-12 22:20 ` [dpdk-dev] [PATCH v2] " Tyler Retzlaff
2021-03-15 10:06 ` Bruce Richardson
2021-03-23 17:04 ` Ferruh Yigit
2021-03-24 4:32 ` Tyler Retzlaff
2021-03-24 11:27 ` Ferruh Yigit
2021-03-24 11:30 ` Thomas Monjalon
2021-03-24 16:24 ` Tyler Retzlaff
2021-03-26 12:02 ` Ferruh Yigit
2021-03-26 20:52 ` Tyler Retzlaff
2021-03-29 9:43 ` Ferruh Yigit
2021-03-29 12:10 ` Thomas Monjalon
2021-03-29 15:23 ` Ferruh Yigit
2021-03-29 19:31 ` Thomas Monjalon
2021-03-30 12:50 ` Ferruh Yigit
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).