From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 6944045500;
	Wed, 26 Jun 2024 13:57:16 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 8D74A43340;
	Wed, 26 Jun 2024 13:55:18 +0200 (CEST)
Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9])
 by mails.dpdk.org (Postfix) with ESMTP id 29B8542E95
 for <dev@dpdk.org>; Wed, 26 Jun 2024 13:43: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=1719402217; x=1750938217;
 h=from:to:cc:subject:date:message-id:in-reply-to:
 references:mime-version:content-transfer-encoding;
 bh=8mGYuP8e18XcbNcCaAWvlBucKhvM4yg35B6BqkAFqFc=;
 b=aLC3yk14ZpbKNqLf0WSZvsI50e6rGsFnmmh270TXPxJlIb47n5OoW5up
 BVPugZbb65ayHLtULVwxnmx9+X1PhJ9TxqJpzc/l9kn9YPE9OeXmuJ3zv
 n9V5WSxiAz0B+h1eK2QnzFulqcjou5KSHWFvXuSCH3ivoHji2OTD7nifC
 +DWNFlNdZPdezIFmXpF1xYf0fMUxL67Q5sdVGMcFsIGFThAbXAnjUHFnR
 shxtI2Ve1maiZrp5VUK997HHdRu8IxumOPX+xfqBKMBN8jPkS2PMuI23X
 K9ajRM/ARSWwbYTtG7bwVT8KwfuP2Ls+KBgR7DrDgFSVyCYsZ0QzUJYM2 Q==;
X-CSE-ConnectionGUID: 5U5OJBUDRgOBFpA4eb/EKg==
X-CSE-MsgGUID: 1h26ArhFQWanbMjgtHP/sA==
X-IronPort-AV: E=McAfee;i="6700,10204,11114"; a="38979340"
X-IronPort-AV: E=Sophos;i="6.08,266,1712646000"; d="scan'208";a="38979340"
Received: from orviesa010.jf.intel.com ([10.64.159.150])
 by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 26 Jun 2024 04:43:36 -0700
X-CSE-ConnectionGUID: TgLT6RQWQcWs9i99tXqNRg==
X-CSE-MsgGUID: 7p45EnEbRPekDZ12nfWVAQ==
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="6.08,266,1712646000"; d="scan'208";a="43873569"
Received: from unknown (HELO silpixa00401119.ir.intel.com) ([10.55.129.167])
 by orviesa010.jf.intel.com with ESMTP; 26 Jun 2024 04:43:35 -0700
From: Anatoly Burakov <anatoly.burakov@intel.com>
To: dev@dpdk.org
Cc: Piotr Raczynski <piotr.raczynski@intel.com>, ian.stokes@intel.com,
 bruce.richardson@intel.com
Subject: [PATCH v4 022/103] net/ice/base: add VSI type for subfunctions
Date: Wed, 26 Jun 2024 12:41:10 +0100
Message-ID: <5a816c1fa09ffd7f53f30872839c01285c0a585e.1719401847.git.anatoly.burakov@intel.com>
X-Mailer: git-send-email 2.43.0
In-Reply-To: <cover.1719401847.git.anatoly.burakov@intel.com>
References: <cover.1719313663.git.anatoly.burakov@intel.com>
 <cover.1719401847.git.anatoly.burakov@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 <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

From: Piotr Raczynski <piotr.raczynski@intel.com>

Add a separate VSI type for devlink subfunctions due to specific handling in the
driver.

Signed-off-by: Piotr Raczynski <piotr.raczynski@intel.com>
Signed-off-by: Ian Stokes <ian.stokes@intel.com>
---
 drivers/net/ice/base/ice_type.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ice/base/ice_type.h b/drivers/net/ice/base/ice_type.h
index d5f17081af..08e3498c6e 100644
--- a/drivers/net/ice/base/ice_type.h
+++ b/drivers/net/ice/base/ice_type.h
@@ -317,6 +317,7 @@ enum ice_vsi_type {
 	ICE_VSI_PF = 0,
 	ICE_VSI_CTRL = 3,	/* equates to ICE_VSI_PF with 1 queue pair */
 	ICE_VSI_LB = 6,
+	ICE_VSI_ADI = 8,
 };
 
 struct ice_link_status {
-- 
2.43.0