[v1,0/1] add message id check for command channel
Message ID | cover.1605015133.git.zhouguoyang@huawei.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 32833A09D2; Wed, 11 Nov 2020 07:29:37 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7EF67F90; Wed, 11 Nov 2020 07:29:35 +0100 (CET) Received: from szxga07-in.huawei.com (szxga07-in.huawei.com [45.249.212.35]) by dpdk.org (Postfix) with ESMTP id ECE4BF64 for <dev@dpdk.org>; Wed, 11 Nov 2020 07:29:33 +0100 (CET) Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4CWFFH0pXcz75Ln; Wed, 11 Nov 2020 14:29:23 +0800 (CST) Received: from tester.localdomain (10.175.119.39) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.487.0; Wed, 11 Nov 2020 14:29:24 +0800 From: Guoyang Zhou <zhouguoyang@huawei.com> To: <dev@dpdk.org> CC: <ferruh.yigit@intel.com>, <bluca@debian.org>, <cloud.wangxiaoyun@huawei.com>, <luoxianjun@huawei.com>, <yin.yinshi@huawei.com>, <luojiachen@huawei.com>, <zhouguoyang@huawei.com>, <chenlizhong@huawei.com>, <zhaohui8@huawei.com>, <chenchanghu@huawei.com> Date: Wed, 11 Nov 2020 14:33:36 +0800 Message-ID: <cover.1605015133.git.zhouguoyang@huawei.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.119.39] X-CFilter-Loop: Reflected Subject: [dpdk-dev] [PATCH v1 0/1] add message id check for command channel X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Guoyang Zhou
Nov. 11, 2020, 6:33 a.m. UTC
In the command channel, a message may has several fragments, and the several fragments should have same message id. To prevent problems, this check is added. -- v1: - add message id check for command channel Guoyang Zhou (1): net/hinic/base: add message check for command channel drivers/net/hinic/base/hinic_pmd_mbox.c | 28 +++++++++++++++++++--------- drivers/net/hinic/base/hinic_pmd_mbox.h | 2 +- drivers/net/hinic/base/hinic_pmd_mgmt.c | 23 ++++++++++++++--------- drivers/net/hinic/base/hinic_pmd_mgmt.h | 2 +- 4 files changed, 35 insertions(+), 20 deletions(-)