From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] i40e: fix vlan filtering Date: Thu, 04 Feb 2016 09:38:54 +0100 Message-ID: <6113889.ZXPIxxScSZ@xps13> References: <1453137515-19195-1-git-send-email-julien.meunier@6wind.com> <56B1E54A.3000900@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Julien Meunier To: "Zhang, Helin" Return-path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id A4FA558D8 for ; Thu, 4 Feb 2016 09:40:14 +0100 (CET) Received: by mail-wm0-f50.google.com with SMTP id r129so200420869wmr.0 for ; Thu, 04 Feb 2016 00:40:14 -0800 (PST) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-02-04 00:41, Zhang, Helin: > From: Julien Meunier [mailto:julien.meunier@6wind.com] > > INFO log level is used in order to keep code homogeneity: > > i40e_vsi_config_vlan_stripping or i40e_dev_init_vlan use this log level during > > failure for example. > > > > Tell me if ERR log level for VLAN filtering issue must be set. > There is a failure, and may result in uncertain behaviors which cannot be ignored. > I'd suggest to use ERR but not INFO, though I am not so confident on that. > Could Thomas help give some guidance on that? Helin, about i40e internals, I follow your guidance :) If you consider it as a real error, yes we must log an error. About code homogeneity, Julien seems to have seen some errors in the driver which should be logged as such, right? It may be a separate effort to fix them. Thanks