[LEDE-DEV] [PATCH] wireguard: select parallel encryption engine

Baptiste Jonglez baptiste at bitsofnetworks.org
Thu Nov 10 04:15:05 PST 2016


Hi Jason,

Thanks for the patch.  Wireguard is not part of the core OpenWRT/LEDE
systems, it is managed on https://github.com/openwrt/packages , so you
should have sent a pull request there.

Nevertheless, I will try to test and apply your patch within a few days.

Baptiste

On Thu, Nov 10, 2016 at 04:08:15AM +0100, Jason A. Donenfeld wrote:
> On non SMP systems, this doesn't wind up doing anything or adding any
> code at all. On SMP systems, this adds a little bit of code, and makes
> encryption use all cores.
> 
> Signed-off-by: Jason A. Donenfeld <Jason at zx2c4.com>
> ---
>  net/wireguard/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/net/wireguard/Makefile b/net/wireguard/Makefile
> index 7387673..c5c014c 100644
> --- a/net/wireguard/Makefile
> +++ b/net/wireguard/Makefile
> @@ -89,7 +89,7 @@ define KernelPackage/wireguard
>    CATEGORY:=Kernel modules
>    SUBMENU:=Network Support
>    TITLE:=Wireguard kernel module
> -  DEPENDS:=@IPV6 +kmod-udptunnel4 +kmod-udptunnel6 +kmod-ipt-hashlimit
> +  DEPENDS:=@IPV6 + at KERNEL_CRYPTO_PCRYPT +kmod-udptunnel4 +kmod-udptunnel6 +kmod-ipt-hashlimit
>    FILES:= $(PKG_BUILD_DIR)/src/wireguard.$(LINUX_KMOD_SUFFIX)
>    AUTOLOAD:=$(call AutoLoad,33,wireguard)
>  endef
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/lede-dev/attachments/20161110/d163d175/attachment.sig>


More information about the Lede-dev mailing list