From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E90B64414E; Tue, 4 Jun 2024 10:49:05 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 657E14068A; Tue, 4 Jun 2024 10:48:46 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by mails.dpdk.org (Postfix) with ESMTP id C282B43553 for ; Tue, 4 Jun 2024 10:48:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1717490925; x=1749026925; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=krTe/Ko3FFA9qa8exHnhHWnO+J98xgUk6pDfTrY+gGc=; b=EG5x92Lt19/5tQHBajT3zP7l5o/otR5Us0Vp00JXBwyFPMfkhDGvGaf2 ok6Si5RZDOgq05kF6tL0bAo39/el2Oz+Dl+a1nJcK6iCa71uo+PaVRXA8 fJryXRanV5em3sLcCAZoAmW+thim2u94l0X69/kHhc8DnGMftOcNuWxL+ TX5PBxe+z5W785FvIzYIh45+D8O/0WtE9ZLzBn5GQrxA93TDzjy7kxWG2 FpPgxM/0rgwerekDqz7PEtsybuLcfgIU2RaCoXqF+PorxGBwdaydZgfHO gCesumj/c4VzMUAWAHKpSa0TVTuDsT3sfbvdmoMpBDAFKjQ1CniN59Wey w==; X-CSE-ConnectionGUID: 7U8uIJbaTIa3oG2yYlWndQ== X-CSE-MsgGUID: Lui9uqGEQ2WXYp4N8BcUHw== X-IronPort-AV: E=McAfee;i="6600,9927,11092"; a="13971694" X-IronPort-AV: E=Sophos;i="6.08,213,1712646000"; d="scan'208";a="13971694" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jun 2024 01:48:44 -0700 X-CSE-ConnectionGUID: 21xqG1OgSZGGP45VKr0g9A== X-CSE-MsgGUID: Aq4Wy8YjQcKhzXDXxQBtDQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,213,1712646000"; d="scan'208";a="42268633" Received: from unknown (HELO npf-hyd-clx-03..) ([10.145.170.182]) by orviesa004.jf.intel.com with ESMTP; 04 Jun 2024 01:48:43 -0700 From: Soumyadeep Hore To: bruce.richardson@intel.com, anatoly.burakov@intel.com Cc: dev@dpdk.org Subject: [PATCH v2 03/21] common/idpf: added new virtchnl2 capability and vport flag Date: Tue, 4 Jun 2024 08:05:53 +0000 Message-ID: <20240604080611.2197835-4-soumyadeep.hore@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240604080611.2197835-1-soumyadeep.hore@intel.com> References: <20240528072839.867100-1-soumyadeep.hore@intel.com> <20240604080611.2197835-1-soumyadeep.hore@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Removed unused VIRTCHNL2_CAP_ADQ capability and use that bit for VIRTCHNL2_CAP_INLINE_FLOW_STEER capability. Added VIRTCHNL2_VPORT_INLINE_FLOW_STEER_ENA port flag to allow enable/disable per vport. Signed-off-by: Soumyadeep Hore --- drivers/common/idpf/base/virtchnl2.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/common/idpf/base/virtchnl2.h b/drivers/common/idpf/base/virtchnl2.h index 3900b784d0..6eff0f1ea1 100644 --- a/drivers/common/idpf/base/virtchnl2.h +++ b/drivers/common/idpf/base/virtchnl2.h @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: BSD-3-Clause - * Copyright(c) 2001-2023 Intel Corporation + * Copyright(c) 2001-2024 Intel Corporation */ #ifndef _VIRTCHNL2_H_ @@ -220,7 +220,7 @@ #define VIRTCHNL2_CAP_FLOW_DIRECTOR BIT(3) #define VIRTCHNL2_CAP_SPLITQ_QSCHED BIT(4) #define VIRTCHNL2_CAP_CRC BIT(5) -#define VIRTCHNL2_CAP_ADQ BIT(6) +#define VIRTCHNL2_CAP_INLINE_FLOW_STEER BIT(6) #define VIRTCHNL2_CAP_WB_ON_ITR BIT(7) #define VIRTCHNL2_CAP_PROMISC BIT(8) #define VIRTCHNL2_CAP_LINK_SPEED BIT(9) @@ -593,7 +593,8 @@ struct virtchnl2_queue_reg_chunks { VIRTCHNL2_CHECK_STRUCT_LEN(40, virtchnl2_queue_reg_chunks); /* VIRTCHNL2_VPORT_FLAGS */ -#define VIRTCHNL2_VPORT_UPLINK_PORT BIT(0) +#define VIRTCHNL2_VPORT_UPLINK_PORT BIT(0) +#define VIRTCHNL2_VPORT_INLINE_FLOW_STEER_ENA BIT(1) #define VIRTCHNL2_ETH_LENGTH_OF_ADDRESS 6 -- 2.43.0