On 03/25, Stephen Hemminger wrote: >On Mon, 25 Mar 2019 14:03:56 +0800 >Xiaolong Ye <xiaolong...@intel.com> wrote: > >> + >> + ret = xsk_ring_prod__reserve(fq, reserve_size, &idx); >> + if (unlikely(!ret)) { >> + AF_XDP_LOG(ERR, "Failed to reserve enough fq descs.\n"); > >You defined AF_XDP_LOG to add a newline (similar to other drivers). >But all the messages already have a newline. >This will cause log to be double spaced.
Thanks for the catch, I'll remove the newline in the definition.