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 93E54424D8; Wed, 12 Jun 2024 06:36:55 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4285140DD6; Wed, 12 Jun 2024 06:36:42 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) by mails.dpdk.org (Postfix) with ESMTP id 53D9B40DD0 for ; Wed, 12 Jun 2024 06:36:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718167001; x=1749703001; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=krTe/Ko3FFA9qa8exHnhHWnO+J98xgUk6pDfTrY+gGc=; b=glJ5V8wLbfOVom2mcTAAR46YKA2OqIKM3cULHSGJYIqZsnFf1P2mAABL i12LTViHhY5G2zKChzx/E7Ey23VZu4GaOWn0x8a9zLKIJ5b27K1Oef6/u fzGoUP3NnLzLJBDni3Roip/tpnqhRDbifM66gb/MKi2Ho5SnkHZXJcsGR uwCdpRjCApAIoS7TIkklvwQ5hY7pJWopDQt2O5197ms56MfThkGqySiQQ 9+XwEdm9UA/3fpYTLbkgWPK5mf7vLaBJe/uGl/hFF0joF9Ia3rx8I9Ng0 tUhQmzBO+SW17K/H8Q2MgKqNQ7XJmNLj8ZVHlvD6xyMO+cS/a8fbTqbPo g==; X-CSE-ConnectionGUID: ZGv3yUO5TimIc6396Jfh5A== X-CSE-MsgGUID: pyRf3jPzR22W66QBBu7vSQ== X-IronPort-AV: E=McAfee;i="6600,9927,11100"; a="18742180" X-IronPort-AV: E=Sophos;i="6.08,232,1712646000"; d="scan'208";a="18742180" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2024 21:36:40 -0700 X-CSE-ConnectionGUID: IQi0k93jQbKZyFolvoMG0g== X-CSE-MsgGUID: FiSq6OlFRJevLwYg42HHkw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,232,1712646000"; d="scan'208";a="40281901" Received: from unknown (HELO npf-hyd-clx-03..) ([10.145.170.182]) by orviesa008.jf.intel.com with ESMTP; 11 Jun 2024 21:36:37 -0700 From: Soumyadeep Hore To: bruce.richardson@intel.com, anatoly.burakov@intel.com Cc: dev@dpdk.org Subject: [PATCH v3 03/22] common/idpf: added new virtchnl2 capability and vport flag Date: Wed, 12 Jun 2024 03:52:38 +0000 Message-ID: <20240612035257.2245824-4-soumyadeep.hore@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240612035257.2245824-1-soumyadeep.hore@intel.com> References: <20240604080611.2197835-1-soumyadeep.hore@intel.com> <20240612035257.2245824-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