From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4C0B3A2EEB for ; Wed, 11 Sep 2019 13:41:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2275E1E54F; Wed, 11 Sep 2019 13:41:04 +0200 (CEST) Received: from huawei.com (szxga04-in.huawei.com [45.249.212.190]) by dpdk.org (Postfix) with ESMTP id 83EA61D173 for ; Wed, 11 Sep 2019 13:41:02 +0200 (CEST) Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 8461CD4E96A1DA45E589; Wed, 11 Sep 2019 19:41:01 +0800 (CST) Received: from [127.0.0.1] (10.57.115.182) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.439.0; Wed, 11 Sep 2019 19:40:53 +0800 To: Ferruh Yigit , References: <1566568031-45991-1-git-send-email-xavier.huwei@huawei.com> <1566568031-45991-16-git-send-email-xavier.huwei@huawei.com> <394ce2c3-d892-55fa-dffa-6580ceda49d8@intel.com> CC: , , , From: "Wei Hu (Xavier)" Message-ID: Date: Wed, 11 Sep 2019 19:40:52 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <394ce2c3-d892-55fa-dffa-6580ceda49d8@intel.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.57.115.182] X-CFilter-Loop: Reflected Subject: Re: [dpdk-dev] [PATCH 15/22] net/hns3: add package and queue related operation 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" Hi, Ferruh Yigit On 2019/8/30 23:13, Ferruh Yigit wrote: > On 8/23/2019 2:47 PM, Wei Hu (Xavier) wrote: >> This patch adds queue related operation, package sending and >> receiving function codes. >> >> Signed-off-by: Wei Hu (Xavier) >> Signed-off-by: Chunsong Feng >> Signed-off-by: Min Wang (Jushui) >> Signed-off-by: Min Hu (Connor) >> Signed-off-by: Hao Chen >> Signed-off-by: Huisong Li > <...> > >> + >> +#define __packed __attribute__((packed)) >> +/* hardware spec ring buffer format */ >> +__packed struct hns3_desc { > Can you use existing '__rte_packed' instead? > OK, I will fix it in patch V2. Thanks for your suggestion. Regards Xavier