Re: [PATCH netifd] team: add simple bonding/teaming module

2021-01-16 Thread Pavel Šimerda
On 1/16/21 1:55 PM, Petr Štetiar wrote: Pavel Šimerda [2021-01-12 04:36:36]: Hi, The module requires libteam's teamd and teamdctl commands. This looks like an alien to the OpenWrt ecosystem, basically you're using netifd just as a launcher for teamd, teamdctl without any pr

Re: [PATCH 2/2] libteam: add library to control team devices

2021-01-16 Thread Pavel Šimerda
On 1/16/21 12:54 PM, Petr Štetiar wrote: Pavel Šimerda [2021-01-14 03:38:48]: Hi, +++ b/package/network/services/libteam/Makefile @@ -0,0 +1,30 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME := libteam +PKG_FIXUP := autoreconf +PKG_BUILD_DEPENDS := libdaemon jansson libdaemon is not in the

Re: [PATCH 1/2] libnl: add libnl-cli library

2021-01-16 Thread Pavel Šimerda
On 1/16/21 12:50 PM, Petr Štetiar wrote: Pavel Šimerda [2021-01-16 00:23:01]: Hi, My perspective is that we are working on *hardware enablement* here. At least some switch chips support Link Aggregation in addition to hardware switching and VLAN filtering. This will be handled by offloading

Re: [PATCH 1/2] libnl: add libnl-cli library

2021-01-16 Thread Pavel Šimerda
On 1/16/21 12:25 PM, Petr Štetiar wrote: Pavel Šimerda [2021-01-14 03:38:47]: Hi, --- package/libs/libnl/Makefile | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/package/libs/libnl/Makefile b/package/libs/libnl/Makefile index db0c65c7a7..3b9bad4533

Re: [PATCH 1/2] libnl: add libnl-cli library

2021-01-15 Thread Pavel Šimerda
On 1/14/21 1:10 PM, Adrian Schmutzler wrote: -Original Message- From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On Behalf Of Pavel Šimerda Sent: Donnerstag, 14. Januar 2021 03:39 To: openwrt-devel@lists.openwrt.org Cc: Pavel Šimerda Subject: [PATCH 1/2] libnl: add

[PATCH 1/2] libnl: add libnl-cli library

2021-01-13 Thread Pavel Šimerda
--- package/libs/libnl/Makefile | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/package/libs/libnl/Makefile b/package/libs/libnl/Makefile index db0c65c7a7..3b9bad4533 100644 --- a/package/libs/libnl/Makefile +++ b/package/libs/libnl/Makefile @@ -52,16 +52,26

[PATCH 2/2] libteam: add library to control team devices

2021-01-13 Thread Pavel Šimerda
?Pavel=20=C5=A0imerda?= +Date: Tue, 5 Jan 2021 22:13:06 +0100 +Subject: [PATCH] fix build on OpenWRT/musl-libc +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Pavel Šimerda +--- + teamd/teamd_runner_lacp.c | 2 -- + utils/teamnl.c

[PATCH netifd] team: add simple bonding/teaming module

2021-01-11 Thread Pavel Šimerda
option ifname "lan1 lan2" option type team The module requires libteam's teamd and teamdctl commands. Signed-off-by: Pavel Šimerda --- CMakeLists.txt | 2 +- team.c | 178 + 2 files changed, 179 insertions