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 89283A0507; Wed, 27 Apr 2022 12:16:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 19A8442822; Wed, 27 Apr 2022 12:15:34 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 124F0427FB for ; Wed, 27 Apr 2022 12:15:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651054532; x=1682590532; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=xI1uH6AJTpXcHL4Jpcwc8EYqhdI4hpE8/Ftd1YXGimk=; b=T0xgWRjkghJQCyQ72QCQunZARs7z/A1WGGst+A91V845S57QCnUXDo/U 1fGCitNtg1/ruUGSQcIsD1vNa8cW7200hwQf6Vzn52+KPC15FaYu4rMe+ eeDls+8ui7ZxermfG19nJ72kaYDGef35PRIP5agecN1Dg9CI8yLdx6cf2 ydOt1rZWW8axY7tjh6y7AO7N/sInuV7sAmSys6t2iUNVszWEHe3006pDM 3Upyzti5wsArr644+nX/LX+1y5BSsT1ef6uZEqU0nm0ngHuSXLOU2XbYg 7weOmPJXoyPQuUoc0cZvcJN3zQIs2/Cj9yISWXJFeWCZ5ku9m8ACO/Z26 Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10329"; a="328827333" X-IronPort-AV: E=Sophos;i="5.90,292,1643702400"; d="scan'208";a="328827333" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Apr 2022 03:15:31 -0700 X-IronPort-AV: E=Sophos;i="5.90,292,1643702400"; d="scan'208";a="580514695" Received: from intel-cd-odc-kevin.cd.intel.com ([10.240.178.195]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Apr 2022 03:15:29 -0700 From: Kevin Liu To: dev@dpdk.org Cc: qiming.yang@intel.com, qi.z.zhang@intel.com, stevex.yang@intel.com, Kevin Liu Subject: [PATCH v6 10/12] net/ice: support queue information getting Date: Wed, 27 Apr 2022 18:12:59 +0000 Message-Id: <20220427181301.1414196-11-kevinx.liu@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220427181301.1414196-1-kevinx.liu@intel.com> References: <20220421111403.1334288-1-kevinx.liu@intel.com> <20220427181301.1414196-1-kevinx.liu@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 Add below ops, rxq_info_get txq_info_get Signed-off-by: Kevin Liu --- doc/guides/rel_notes/release_22_07.rst | 1 + drivers/net/ice/ice_dcf_ethdev.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/doc/guides/rel_notes/release_22_07.rst b/doc/guides/rel_notes/release_22_07.rst index 1f404a6ee5..0d6577cd74 100644 --- a/doc/guides/rel_notes/release_22_07.rst +++ b/doc/guides/rel_notes/release_22_07.rst @@ -71,6 +71,7 @@ New Features * Added support dcf MAC configuration. * Added support dcf VLAN filter and offload configuration. * Added add extended stats. + * Added support queue information getting. Removed Items ------------- diff --git a/drivers/net/ice/ice_dcf_ethdev.c b/drivers/net/ice/ice_dcf_ethdev.c index 6503700e02..9217392d04 100644 --- a/drivers/net/ice/ice_dcf_ethdev.c +++ b/drivers/net/ice/ice_dcf_ethdev.c @@ -1698,6 +1698,8 @@ static const struct eth_dev_ops ice_dcf_eth_dev_ops = { .tx_queue_start = ice_dcf_tx_queue_start, .rx_queue_stop = ice_dcf_rx_queue_stop, .tx_queue_stop = ice_dcf_tx_queue_stop, + .rxq_info_get = ice_rxq_info_get, + .txq_info_get = ice_txq_info_get, .link_update = ice_dcf_link_update, .stats_get = ice_dcf_stats_get, .stats_reset = ice_dcf_stats_reset, -- 2.33.1