On 03/22, Stephen Hemminger wrote: >On Fri, 22 Mar 2019 10:15:23 +0800 >Ye Xiaolong <xiaolong...@intel.com> wrote: > >> On 03/21, Stephen Hemminger wrote: >> >On Thu, 21 Mar 2019 17:18:41 +0800 >> >Xiaolong Ye <xiaolong...@intel.com> wrote: >> > >> >> + if (ret != 0) { >> >> + RTE_LOG(ERR, AF_XDP, "getsockopt() failed for >> >> XDP_STATISTICS.\n"); >> >> + return -1; >> > >> >You need to use the new dynamic log types and not have a global logtype. >> >> You mean for all the logs in this driver, right? Is it due to the global >> logtype >> will be deprecated? > >Global log types should not be used or added by any new code.
Got it.