From patchwork Sat Aug 12 07:55:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhang, Yuying" X-Patchwork-Id: 130252 X-Patchwork-Delegate: qi.z.zhang@intel.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BC3BA4303E; Sat, 12 Aug 2023 09:32:26 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1169143260; Sat, 12 Aug 2023 09:32:19 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id A4EED4325E for ; Sat, 12 Aug 2023 09:32:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691825537; x=1723361537; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=KOZfqCpDKFeLpQsepCi76NPOXLAy0IEyUHB6yJOWruk=; b=eQuXrbw9PqLXRlD3vlWOxz00/xnxtdq8j2wg1Gtw3HbmgTEUvrBIY1Qu AFiP1Niy1UdiuEN3dacWOeEUKxKVN5DGFwvOzGfJm/P9TU4vw9w6CJ5B0 IzG3+uUkoxGpt6ATmYq65WjlVVrkeDINJ3Gvcyj0gnrZoSsL59PAsJfiq NoaRrbXIEvX0K2d9C+GZwzlml6oZr1xX/EsXy7wQwOHB1FJdxwjK9fPao TiSQlFMzXP30OijwVHbct7f4spcT0t8V3SlKSgTNpbLy583JFghRdLkkN FV2MY6eeuLAn7jFQ0tNVF91CQGuJv30B/I5pfUqjPj6pHmNRMeoZDyjU6 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10799"; a="369281984" X-IronPort-AV: E=Sophos;i="6.01,167,1684825200"; d="scan'208";a="369281984" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Aug 2023 00:32:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10799"; a="798268341" X-IronPort-AV: E=Sophos;i="6.01,167,1684825200"; d="scan'208";a="798268341" Received: from dpdk-yuyingzh-icelake.sh.intel.com ([10.67.116.226]) by fmsmga008.fm.intel.com with ESMTP; 12 Aug 2023 00:32:15 -0700 From: Yuying Zhang To: dev@dpdk.org, beilei.xing@intel.com, qi.z.zhang@intel.com, jingjing.wu@intel.com Cc: Yuying Zhang Subject: [PATCH v1 2/5] common/idpf/base: refine idpf ctlq message structure Date: Sat, 12 Aug 2023 07:55:03 +0000 Message-Id: <20230812075506.361769-3-yuying.zhang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230812075506.361769-1-yuying.zhang@intel.com> References: <20230812075506.361769-1-yuying.zhang@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Add cfg data in idpf_ctlq_msg. Signed-off-by: Yuying Zhang --- drivers/common/idpf/base/idpf_controlq_api.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/common/idpf/base/idpf_controlq_api.h b/drivers/common/idpf/base/idpf_controlq_api.h index 3780304256..b38b10465c 100644 --- a/drivers/common/idpf/base/idpf_controlq_api.h +++ b/drivers/common/idpf/base/idpf_controlq_api.h @@ -65,6 +65,9 @@ struct idpf_ctlq_msg { u32 chnl_opcode; u32 chnl_retval; } mbx; + struct { + u64 data; + } cfg; } cookie; union { #define IDPF_DIRECT_CTX_SIZE 16