From patchwork Fri Mar 31 01:49:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xing, Beilei" X-Patchwork-Id: 22973 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id B48F7100F; Fri, 31 Mar 2017 03:50:39 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id E66ABFE5 for ; Fri, 31 Mar 2017 03:50:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1490925038; x=1522461038; h=from:to:cc:subject:date:message-id; bh=IG09+Bu+2TjNIxwsMv90jjWLwN5XVVVCva7UWUjMfec=; b=i+bnDatyCY1636ohAr1BbJtbeG6tnfJ0Ne9CcZyj5mVz0kFe+jbJQGPd mfXltBinLLrKrk6u4brWuDXMZzUSmA==; Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Mar 2017 18:50:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,249,1486454400"; d="scan'208";a="950021699" Received: from unknown (HELO dpdk9.sh.intel.com) ([10.239.129.31]) by orsmga003.jf.intel.com with ESMTP; 30 Mar 2017 18:50:34 -0700 From: Beilei Xing To: jingjing.wu@intel.com Cc: helin.zhang@intel.com, dev@dpdk.org Date: Fri, 31 Mar 2017 09:49:26 +0800 Message-Id: <1490924966-95148-1-git-send-email-beilei.xing@intel.com> X-Mailer: git-send-email 2.5.5 Subject: [dpdk-dev] [PATCH] net/i40e: fix a doxygen warning 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Fix the doxygen warning by adding comments for enumeration. Fixes: fad01fd77ac3 ("net/i40e: add dynamic device personalization processing") Signed-off-by: Beilei Xing --- drivers/net/i40e/rte_pmd_i40e.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/net/i40e/rte_pmd_i40e.h b/drivers/net/i40e/rte_pmd_i40e.h index 4486caf..8e15630 100644 --- a/drivers/net/i40e/rte_pmd_i40e.h +++ b/drivers/net/i40e/rte_pmd_i40e.h @@ -65,6 +65,9 @@ struct rte_pmd_i40e_mb_event_param { uint16_t msglen; /**< length of the message */ }; +/** + * Option of package processing. + */ enum rte_pmd_i40e_package_op { RTE_PMD_I40E_PKG_OP_UNDEFINED = 0, RTE_PMD_I40E_PKG_OP_WR_ADD, /**< load package and add to info list */ @@ -74,7 +77,8 @@ enum rte_pmd_i40e_package_op { #define RTE_PMD_I40E_DDP_NAME_SIZE 32 /** - * Dynamic device personalization version + * Version for dynamic device personalization. + * Version in "major.minor.update.draft" format. */ struct rte_pmd_i40e_ddp_version { uint8_t major; @@ -84,7 +88,7 @@ struct rte_pmd_i40e_ddp_version { }; /** - * Structure of profile information + * Profile information in profile info list. */ struct rte_pmd_i40e_profile_info { uint32_t track_id; @@ -95,7 +99,7 @@ struct rte_pmd_i40e_profile_info { }; /** - * Structure of profile information list + * Profile information list returned from HW. */ struct rte_pmd_i40e_profile_list { uint32_t p_count;