From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id BBA4010D14 for ; Thu, 22 Dec 2016 11:57:47 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga105.jf.intel.com with ESMTP; 22 Dec 2016 02:57:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,388,1477983600"; d="scan'208";a="915129982" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.29]) ([10.237.220.29]) by orsmga003.jf.intel.com with ESMTP; 22 Dec 2016 02:57:14 -0800 From: Ferruh Yigit To: Wenzhuo Lu , dev@dpdk.org References: <1480637533-37425-1-git-send-email-wenzhuo.lu@intel.com> <1482302070-128496-1-git-send-email-wenzhuo.lu@intel.com> <1482302070-128496-24-git-send-email-wenzhuo.lu@intel.com> Cc: Bernard Iremonger Message-ID: Date: Thu, 22 Dec 2016 10:57:14 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <1482302070-128496-24-git-send-email-wenzhuo.lu@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v6 23/25] app/testpmd: handle i40e in VF VLAN filter command X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2016 10:57:48 -0000 On 12/21/2016 6:34 AM, Wenzhuo Lu wrote: > modify set_vf_rx_vlan function to handle the i40e PMD. > > Signed-off-by: Bernard Iremonger > --- <...> > + > + switch (ret) { > + case 0: > + break; > + case -EINVAL: > + printf("invalid vlan_id %d or vf_mask %lu\n", To fix 32bit compilation: printf("invalid vlan_id %d or vf_mask %"PRIu64"\n", <...>