From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1.zte.com.cn (out1.zte.com.cn [202.103.147.172]) by dpdk.org (Postfix) with ESMTP id 89387FBF1 for ; Wed, 21 Dec 2016 03:05:41 +0100 (CET) X-MAILFROM: X-RCPTTO: X-FROMIP: 10.30.3.20 X-SEG-Scaned: 1 X-Received: unknown,10.30.3.20,20161221100026 Received: from unknown (HELO mse01.zte.com.cn) (10.30.3.20) by localhost with (AES256-SHA encrypted) SMTP; 21 Dec 2016 02:00:26 -0000 Received: from notes_smtp.zte.com.cn ([10.30.1.239]) by mse01.zte.com.cn with ESMTP id uBL25CFe034793; Wed, 21 Dec 2016 10:05:12 +0800 (GMT-8) (envelope-from yao.chenghu@zte.com.cn) Received: from localhost.localdomain ([10.43.22.21]) by szsmtp06.zte.com.cn (Lotus Domino Release 8.5.3FP6) with ESMTP id 2016122110051600-488966 ; Wed, 21 Dec 2016 10:05:16 +0800 From: Chenghu Yao To: wenzhuo.lu@intel.com, helin.zhang@intel.com Cc: dev@dpdk.org, Chenghu Yao Date: Wed, 21 Dec 2016 10:03:59 +0800 Message-Id: <1482285839-42805-1-git-send-email-yao.chenghu@zte.com.cn> X-Mailer: git-send-email 1.8.3.1 X-MIMETrack: Itemize by SMTP Server on SZSMTP06/server/zte_ltd(Release 8.5.3FP6|November 21, 2013) at 2016-12-21 10:05:16, Serialize by Router on notes_smtp/zte_ltd(Release 8.5.3FP6|November 21, 2013) at 2016-12-21 10:04:53, Serialize complete at 2016-12-21 10:04:53 X-MAIL: mse01.zte.com.cn uBL25CFe034793 X-HQIP: 127.0.0.1 Subject: [dpdk-dev] [PATCH v2] net/ixgbe/base: clear redundant macro define 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: Wed, 21 Dec 2016 02:05:43 -0000 In head file "ixgbe_mbx.h", macro define IXGBE_VF_API_NEGOTIATE and IXGBE_VF_GET_QUEUES appear two times with the same name, value, and notes. Version 2.0 VF requests can inherit the two macro defines in previous version 1.0 and 1.1. Otherwise, maybe cause confusion. Signed-off-by: Chenghu Yao --- v2: * eliminate commit warning --- drivers/net/ixgbe/base/ixgbe_mbx.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ixgbe/base/ixgbe_mbx.h b/drivers/net/ixgbe/base/ixgbe_mbx.h index 7556a81..483e9b3 100644 --- a/drivers/net/ixgbe/base/ixgbe_mbx.h +++ b/drivers/net/ixgbe/base/ixgbe_mbx.h @@ -128,8 +128,6 @@ enum ixgbe_pfvf_api_rev { #define IXGBE_PF_CONTROL_MSG 0x0100 /* PF control message */ /* mailbox API, version 2.0 VF requests */ -#define IXGBE_VF_API_NEGOTIATE 0x08 /* negotiate API version */ -#define IXGBE_VF_GET_QUEUES 0x09 /* get queue configuration */ #define IXGBE_VF_ENABLE_MACADDR 0x0A /* enable MAC address */ #define IXGBE_VF_DISABLE_MACADDR 0x0B /* disable MAC address */ #define IXGBE_VF_GET_MACADDRS 0x0C /* get all configured MAC addrs */ -- 1.8.3.1