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 94415440F2; Tue, 28 May 2024 10:10:56 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5AF834064A; Tue, 28 May 2024 10:10:41 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) by mails.dpdk.org (Postfix) with ESMTP id 64BA0406BC for ; Tue, 28 May 2024 10:10:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1716883837; x=1748419837; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Icmh9Fr4flN0x5AH1kzu0FVJZb5BUgyuDhki0H4rElw=; b=ey4zhgAx1aOi9w45FmyWPK84z8KdiWRP+6cpJrp8/0GR1mA+95fAPccj aDZP0SR3g7QueFdjhmdSg75b1x7mpg4goIwWIOQRHngu5prm5lA1+Mm0A MKcV3s6+wbCzo6otP8QEUKXc0ry04sMsFsCBcECKX+Fe4lTa4VlnQ2VpY 57vEfrd8jAFOyI0/YoYvHcwdpj6f/nPPw1O89BScjfBYoHX/WNNIA1Ccq InRQ8ChOqx6soHSS5GRoc7+msNWxGVPtvj/ynP9rfqRq6QsVn/aSMMw5C WU1hwfDEWxq4eAU+cmBZHSgKiuLYLV0znIDayiZG+uUVtS0NLsIIbW8Ow A==; X-CSE-ConnectionGUID: YgeRzP/JT1mzZLqRwqU6Bg== X-CSE-MsgGUID: AXk0NM5hSm+GSRYLJiqTwg== X-IronPort-AV: E=McAfee;i="6600,9927,11085"; a="16161929" X-IronPort-AV: E=Sophos;i="6.08,194,1712646000"; d="scan'208";a="16161929" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 May 2024 01:10:37 -0700 X-CSE-ConnectionGUID: ZsAqp06rSSySrvTnT9Y9yw== X-CSE-MsgGUID: Y5BJz3WPRNiDDIbbl08J1w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,194,1712646000"; d="scan'208";a="66197687" Received: from unknown (HELO npf-hyd-clx-03..) ([10.145.170.182]) by fmviesa001.fm.intel.com with ESMTP; 28 May 2024 01:10:36 -0700 From: Soumyadeep Hore To: yuying.zhang@intel.com, jingjing.wu@intel.com Cc: dev@dpdk.org Subject: [PATCH 05/25] common/idpf: added FLOW STEER capability and a vport flag Date: Tue, 28 May 2024 07:28:35 +0000 Message-ID: <20240528072839.867100-6-soumyadeep.hore@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240528072839.867100-1-soumyadeep.hore@intel.com> References: <20240528072839.867100-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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/common/idpf/base/virtchnl2.h b/drivers/common/idpf/base/virtchnl2.h index 9a1310ca24..51d982b500 100644 --- a/drivers/common/idpf/base/virtchnl2.h +++ b/drivers/common/idpf/base/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