From: David Miller <davem@davemloft.net>
To: niu_xilei@163.com
Cc: tglx@linutronix.de, fw@strlen.de, peterz@infradead.org,
pabeni@redhat.com, anshuman.khandual@arm.com,
linyunsheng@huawei.com, bigeasy@linutronix.de,
jonathan.lemon@gmail.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] pktgen: create packet use IPv6 source address between src6_min and src6_max.
Date: Fri, 10 Jan 2020 11:13:16 -0800 (PST) [thread overview]
Message-ID: <20200110.111316.1791698410658592877.davem@davemloft.net> (raw)
In-Reply-To: <20200110102842.13585-1-niu_xilei@163.com>
From: Niu Xilei <niu_xilei@163.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.
prev parent reply other threads:[~2020-01-10 19:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-10 10:28 [PATCH] pktgen: create packet use IPv6 source address between src6_min and src6_max Niu Xilei
2020-01-10 15:50 ` Stephen Hemminger
2020-01-10 19:13 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200110.111316.1791698410658592877.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=anshuman.khandual@arm.com \
--cc=bigeasy@linutronix.de \
--cc=fw@strlen.de \
--cc=jonathan.lemon@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linyunsheng@huawei.com \
--cc=netdev@vger.kernel.org \
--cc=niu_xilei@163.com \
--cc=pabeni@redhat.com \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).