On Mon, Jul 11, 2016 at 11:02:54PM -0700, David Miller wrote: > From: Brenden Blanco <bbla...@plumgrid.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. Makes sense, and I won't try this approach again. The caller of this code continues to be much debated as well.
- [PATCH v7 00/11] Add driver bpf hook for early packet drop ... Brenden Blanco
- [PATCH v7 09/11] net/mlx4_en: add xdp forwarding and d... Brenden Blanco
- [PATCH v7 01/11] bpf: add XDP prog type for early driv... Brenden Blanco
- Re: [PATCH v7 01/11] bpf: add XDP prog type for ea... David Miller
- Re: [PATCH v7 01/11] bpf: add XDP prog type fo... Brenden Blanco
- [PATCH v7 05/11] Add sample for adding simple drop pro... Brenden Blanco
- [PATCH v7 08/11] net/mlx4_en: break out tx_desc write ... Brenden Blanco
- [PATCH v7 06/11] net/mlx4_en: add page recycle to prep... Brenden Blanco
- [PATCH v7 10/11] bpf: enable direct packet data write ... Brenden Blanco
- [PATCH v7 07/11] bpf: add XDP_TX xdp_action for direct... Brenden Blanco
- [PATCH v7 11/11] bpf: add sample for xdp forwarding an... Brenden Blanco
- [PATCH v7 02/11] net: add ndo to setup/query xdp prog ... Brenden Blanco
- Re: [PATCH v7 02/11] net: add ndo to setup/query x... David Miller
- Re: [PATCH v7 02/11] net: add ndo to setup/que... Brenden Blanco
- Re: [PATCH v7 02/11] net: add ndo to setup... David Miller