[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200110.111316.1791698410658592877.davem@davemloft.net>
Date: Fri, 10 Jan 2020 11:13:16 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: niu_xilei@....com
Cc: tglx@...utronix.de, fw@...len.de, peterz@...radead.org,
pabeni@...hat.com, anshuman.khandual@....com,
linyunsheng@...wei.com, bigeasy@...utronix.de,
jonathan.lemon@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pktgen: create packet use IPv6 source address between
src6_min and src6_max.
From: Niu Xilei <niu_xilei@....com>
Date: Fri, 10 Jan 2020 18:28:42 +0800
> --- a/net/core/pktgen.c
> +++ b/net/core/pktgen.c
> @@ -254,6 +254,111 @@ struct flow_state {
> /* flow flag bits */
> #define F_INIT (1<<0) /* flow has been initialized */
>
> +#ifdef CONFIG_ARCH_SUPPORTS_INT128
> +
> +__extension__ typedef unsigned __int128 u128;
> +
This does not belong in pktgen.c but rather in a generic kernel header, and such
facilities should be posted for general review on lkml.
Powered by blists - more mailing lists