DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v2 11/11] net/netvsc: add meson support for FreeBSD
@ 2021-10-08  9:18 Srikanth Kaka
  0 siblings, 0 replies; 3+ messages in thread
From: Srikanth Kaka @ 2021-10-08  9:18 UTC (permalink / raw)
  To: Stephen Hemminger, Long Li; +Cc: dev, Vag Singh, Anand Thulasiram, srikanth-oc

From: srikanth-oc <srikanth.k@oneconvergence.com>

add meson support for FreeBSD

v2 - moved include statement to after OS detection
   - updated ./MAINTAINERS file

Signed-off-by: Srikanth Kaka <srikanth.k@oneconvergence.com>
Signed-off-by: Vag Singh <vag.singh@oneconvergence.com>
Signed-off-by: Anand Thulasiram <avelu@juniper.net>
---
 MAINTAINERS                            | 2 ++
 drivers/net/netvsc/freebsd/meson.build | 6 ++++++
 drivers/net/netvsc/linux/meson.build   | 6 ++++++
 drivers/net/netvsc/meson.build         | 4 ++++
 4 files changed, 18 insertions(+)
 create mode 100644 drivers/net/netvsc/freebsd/meson.build
 create mode 100644 drivers/net/netvsc/linux/meson.build

diff --git a/MAINTAINERS b/MAINTAINERS
index 278e5b3226..930d789945 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -552,6 +552,7 @@ F: drivers/bus/vdev/
 VMBUS bus driver
 M: Stephen Hemminger <sthemmin@microsoft.com>
 M: Long Li <longli@microsoft.com>
+M: Srikanth Kaka <srikanth.k@oneconvergence.com>
 F: drivers/bus/vmbus/
 
 
@@ -824,6 +825,7 @@ F: doc/guides/nics/vdev_netvsc.rst
 Microsoft Hyper-V netvsc
 M: Stephen Hemminger <sthemmin@microsoft.com>
 M: Long Li <longli@microsoft.com>
+M: Srikanth Kaka <srikanth.k@oneconvergence.com>
 F: drivers/net/netvsc/
 F: doc/guides/nics/netvsc.rst
 F: doc/guides/nics/features/netvsc.ini
diff --git a/drivers/net/netvsc/freebsd/meson.build b/drivers/net/netvsc/freebsd/meson.build
new file mode 100644
index 0000000000..78f824f701
--- /dev/null
+++ b/drivers/net/netvsc/freebsd/meson.build
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Microsoft Corporation
+
+sources += files(
+	'hn_os.c',
+)
diff --git a/drivers/net/netvsc/linux/meson.build b/drivers/net/netvsc/linux/meson.build
new file mode 100644
index 0000000000..78f824f701
--- /dev/null
+++ b/drivers/net/netvsc/linux/meson.build
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Microsoft Corporation
+
+sources += files(
+	'hn_os.c',
+)
diff --git a/drivers/net/netvsc/meson.build b/drivers/net/netvsc/meson.build
index f74b941f65..6c9f5cfc56 100644
--- a/drivers/net/netvsc/meson.build
+++ b/drivers/net/netvsc/meson.build
@@ -7,6 +7,8 @@ if is_windows
     subdir_done()
 endif
 
+includes += include_directories(exec_env)
+
 build = dpdk_conf.has('RTE_BUS_VMBUS')
 reason = 'missing dependency, DPDK VMBus driver'
 sources = files(
@@ -18,3 +20,5 @@ sources = files(
 )
 
 deps += ['bus_vmbus' ]
+
+subdir(exec_env)
-- 
2.30.1


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

* Re: [dpdk-dev] [PATCH v2 11/11] net/netvsc: add meson support for FreeBSD
  2021-10-08 11:42 ` [dpdk-dev] [PATCH v2 " Srikanth Kaka
@ 2021-11-06 20:50   ` Long Li
  0 siblings, 0 replies; 3+ messages in thread
From: Long Li @ 2021-11-06 20:50 UTC (permalink / raw)
  To: Srikanth Kaka, Stephen Hemminger; +Cc: dev, Vag Singh, Anand Thulasiram

> Subject: [PATCH v2 11/11] net/netvsc: add meson support for FreeBSD
> 
> add meson support for FreeBSD
> 
> v2 - moved include statement to after OS detection
>    - updated ./MAINTAINERS file
> 
> Signed-off-by: Srikanth Kaka <srikanth.k@oneconvergence.com>
> Signed-off-by: Vag Singh <vag.singh@oneconvergence.com>
> Signed-off-by: Anand Thulasiram <avelu@juniper.net>

Reviewed-by: Long Li <longli@microsoft.com>

> ---
>  MAINTAINERS                            | 2 ++
>  drivers/net/netvsc/freebsd/meson.build | 6 ++++++
>  drivers/net/netvsc/linux/meson.build   | 6 ++++++
>  drivers/net/netvsc/meson.build         | 4 ++++
>  4 files changed, 18 insertions(+)
>  create mode 100644 drivers/net/netvsc/freebsd/meson.build
>  create mode 100644 drivers/net/netvsc/linux/meson.build
> 
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 278e5b3226..930d789945 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -552,6 +552,7 @@ F: drivers/bus/vdev/  VMBUS bus driver
>  M: Stephen Hemminger <sthemmin@microsoft.com>
>  M: Long Li <longli@microsoft.com>
> +M: Srikanth Kaka <srikanth.k@oneconvergence.com>
>  F: drivers/bus/vmbus/
> 
> 
> @@ -824,6 +825,7 @@ F: doc/guides/nics/vdev_netvsc.rst  Microsoft Hyper-V
> netvsc
>  M: Stephen Hemminger <sthemmin@microsoft.com>
>  M: Long Li <longli@microsoft.com>
> +M: Srikanth Kaka <srikanth.k@oneconvergence.com>
>  F: drivers/net/netvsc/
>  F: doc/guides/nics/netvsc.rst
>  F: doc/guides/nics/features/netvsc.ini
> diff --git a/drivers/net/netvsc/freebsd/meson.build
> b/drivers/net/netvsc/freebsd/meson.build
> new file mode 100644
> index 0000000000..78f824f701
> --- /dev/null
> +++ b/drivers/net/netvsc/freebsd/meson.build
> @@ -0,0 +1,6 @@
> +# SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Microsoft
> +Corporation
> +
> +sources += files(
> +	'hn_os.c',
> +)
> diff --git a/drivers/net/netvsc/linux/meson.build
> b/drivers/net/netvsc/linux/meson.build
> new file mode 100644
> index 0000000000..78f824f701
> --- /dev/null
> +++ b/drivers/net/netvsc/linux/meson.build
> @@ -0,0 +1,6 @@
> +# SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Microsoft
> +Corporation
> +
> +sources += files(
> +	'hn_os.c',
> +)
> diff --git a/drivers/net/netvsc/meson.build b/drivers/net/netvsc/meson.build
> index f74b941f65..6c9f5cfc56 100644
> --- a/drivers/net/netvsc/meson.build
> +++ b/drivers/net/netvsc/meson.build
> @@ -7,6 +7,8 @@ if is_windows
>      subdir_done()
>  endif
> 
> +includes += include_directories(exec_env)
> +
>  build = dpdk_conf.has('RTE_BUS_VMBUS')
>  reason = 'missing dependency, DPDK VMBus driver'
>  sources = files(
> @@ -18,3 +20,5 @@ sources = files(
>  )
> 
>  deps += ['bus_vmbus' ]
> +
> +subdir(exec_env)
> --
> 2.30.1


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

* [dpdk-dev] [PATCH v2 11/11] net/netvsc: add meson support for FreeBSD
  2021-09-27 13:42 [dpdk-dev] [PATCH " Srikanth Kaka
@ 2021-10-08 11:42 ` Srikanth Kaka
  2021-11-06 20:50   ` Long Li
  0 siblings, 1 reply; 3+ messages in thread
From: Srikanth Kaka @ 2021-10-08 11:42 UTC (permalink / raw)
  To: Stephen Hemminger, Long Li
  Cc: dev, Vag Singh, Anand Thulasiram, Srikanth Kaka

add meson support for FreeBSD

v2 - moved include statement to after OS detection
   - updated ./MAINTAINERS file

Signed-off-by: Srikanth Kaka <srikanth.k@oneconvergence.com>
Signed-off-by: Vag Singh <vag.singh@oneconvergence.com>
Signed-off-by: Anand Thulasiram <avelu@juniper.net>
---
 MAINTAINERS                            | 2 ++
 drivers/net/netvsc/freebsd/meson.build | 6 ++++++
 drivers/net/netvsc/linux/meson.build   | 6 ++++++
 drivers/net/netvsc/meson.build         | 4 ++++
 4 files changed, 18 insertions(+)
 create mode 100644 drivers/net/netvsc/freebsd/meson.build
 create mode 100644 drivers/net/netvsc/linux/meson.build

diff --git a/MAINTAINERS b/MAINTAINERS
index 278e5b3226..930d789945 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -552,6 +552,7 @@ F: drivers/bus/vdev/
 VMBUS bus driver
 M: Stephen Hemminger <sthemmin@microsoft.com>
 M: Long Li <longli@microsoft.com>
+M: Srikanth Kaka <srikanth.k@oneconvergence.com>
 F: drivers/bus/vmbus/
 
 
@@ -824,6 +825,7 @@ F: doc/guides/nics/vdev_netvsc.rst
 Microsoft Hyper-V netvsc
 M: Stephen Hemminger <sthemmin@microsoft.com>
 M: Long Li <longli@microsoft.com>
+M: Srikanth Kaka <srikanth.k@oneconvergence.com>
 F: drivers/net/netvsc/
 F: doc/guides/nics/netvsc.rst
 F: doc/guides/nics/features/netvsc.ini
diff --git a/drivers/net/netvsc/freebsd/meson.build b/drivers/net/netvsc/freebsd/meson.build
new file mode 100644
index 0000000000..78f824f701
--- /dev/null
+++ b/drivers/net/netvsc/freebsd/meson.build
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Microsoft Corporation
+
+sources += files(
+	'hn_os.c',
+)
diff --git a/drivers/net/netvsc/linux/meson.build b/drivers/net/netvsc/linux/meson.build
new file mode 100644
index 0000000000..78f824f701
--- /dev/null
+++ b/drivers/net/netvsc/linux/meson.build
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Microsoft Corporation
+
+sources += files(
+	'hn_os.c',
+)
diff --git a/drivers/net/netvsc/meson.build b/drivers/net/netvsc/meson.build
index f74b941f65..6c9f5cfc56 100644
--- a/drivers/net/netvsc/meson.build
+++ b/drivers/net/netvsc/meson.build
@@ -7,6 +7,8 @@ if is_windows
     subdir_done()
 endif
 
+includes += include_directories(exec_env)
+
 build = dpdk_conf.has('RTE_BUS_VMBUS')
 reason = 'missing dependency, DPDK VMBus driver'
 sources = files(
@@ -18,3 +20,5 @@ sources = files(
 )
 
 deps += ['bus_vmbus' ]
+
+subdir(exec_env)
-- 
2.30.1


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

end of thread, other threads:[~2021-11-06 20:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-08  9:18 [dpdk-dev] [PATCH v2 11/11] net/netvsc: add meson support for FreeBSD Srikanth Kaka
  -- strict thread matches above, loose matches on Subject: below --
2021-09-27 13:42 [dpdk-dev] [PATCH " Srikanth Kaka
2021-10-08 11:42 ` [dpdk-dev] [PATCH v2 " Srikanth Kaka
2021-11-06 20:50   ` Long Li

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).