Re: [PATCH] pktgen: create packet use IPv6 source address between src6_min and src6_max.

From: David Miller
Date: Fri Jan 10 2020 - 14:13:22 EST


From: Niu Xilei <niu_xilei@xxxxxxx>
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.