[dpdk-dev] [PATCH v3 1/5] net/af_xdp: introduce AF XDP PMD driver
Stephen Hemminger
stephen at networkplumber.org
Fri Mar 22 16:38:38 CET 2019
On Fri, 22 Mar 2019 10:15:23 +0800
Ye Xiaolong <xiaolong.ye at intel.com> wrote:
> On 03/21, Stephen Hemminger wrote:
> >On Thu, 21 Mar 2019 17:18:41 +0800
> >Xiaolong Ye <xiaolong.ye at 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.
More information about the dev
mailing list