[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160711.230254.53567533766522969.davem@davemloft.net>
Date: Mon, 11 Jul 2016 23:02:54 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: bblanco@...mgrid.com
Cc: netdev@...r.kernel.org, jhs@...atatu.com,
saeedm@....mellanox.co.il, kafai@...com, brouer@...hat.com,
as754m@....com, alexei.starovoitov@...il.com, gerlitz.or@...il.com,
john.fastabend@...il.com, hannes@...essinduktion.org,
tgraf@...g.ch, tom@...bertland.com, daniel@...earbox.net
Subject: Re: [PATCH v7 01/11] bpf: add XDP prog type for early driver filter
From: Brenden Blanco <bblanco@...mgrid.com>
Date: Mon, 11 Jul 2016 14:29:48 -0700
> + WARN_ONCE(1, "\n"
> + "*****************************************************\n"
> + "** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE **\n"
> + "** **\n"
> + "** XDP program returned unknown value %-10u **\n"
> + "** **\n"
> + "** XDP programs must return a well-known return **\n"
> + "** value. Invalid return values will result in **\n"
> + "** packet loss. **\n"
> + "** **\n"
> + "** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE **\n"
> + "*****************************************************\n",
This is rediculous.
The log message should be concise, one line, and not scream things
like "NOTICE". That's what the log level is for, to indicate the
severity of the issue.
Powered by blists - more mailing lists