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 3344DA0548; Mon, 26 Apr 2021 15:49:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9A69741104; Mon, 26 Apr 2021 15:49:18 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 4196640140 for ; Mon, 26 Apr 2021 15:49:17 +0200 (CEST) IronPort-SDR: S9mAy2IppSYdKMSm3Hp4iVWo2SJ2LK60v0MBucs3yzW1VrdRNuX14t2Uija79RLjCJXQ/efOdu 4uQyciV6eEkA== X-IronPort-AV: E=McAfee;i="6200,9189,9966"; a="183818045" X-IronPort-AV: E=Sophos;i="5.82,252,1613462400"; d="scan'208";a="183818045" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2021 06:49:15 -0700 IronPort-SDR: VfVVB126TgVtiIBi7GPu26nd5fz8Cbt9odFUsZc02Ci530VgmBYYXcm8VDRmfiNo58CR87YhpF kW4Vi37IZdUg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,252,1613462400"; d="scan'208";a="618616902" Received: from silpixa00399498.ir.intel.com (HELO silpixa00399498.ger.corp.intel.com) ([10.237.223.216]) by fmsmga005.fm.intel.com with ESMTP; 26 Apr 2021 06:49:13 -0700 From: Anatoly Burakov To: dev@dpdk.org, Jeff Guo , Haiyue Wang , Konstantin Ananyev , Liang Ma Cc: david.hunt@intel.com Date: Mon, 26 Apr 2021 13:49:11 +0000 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v1 1/2] net/ixgbe: allow get_monitor_addr for VF driver 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 Sender: "dev" When .get_monitor_addr API was introduced, it was implemented in the ixgbe driver, but only for the physical function; the virtual function portion of the driver does not support that API. Add the missing function pointer to VF device structure. Fixes: 3982b7967bb7 ("net/ixgbe: implement power management API") Signed-off-by: Anatoly Burakov --- drivers/net/ixgbe/ixgbe_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index ff65145f55..6cca039a11 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -605,6 +605,7 @@ static const struct eth_dev_ops ixgbevf_eth_dev_ops = { .rss_hash_update = ixgbe_dev_rss_hash_update, .rss_hash_conf_get = ixgbe_dev_rss_hash_conf_get, .tx_done_cleanup = ixgbe_dev_tx_done_cleanup, + .get_monitor_addr = ixgbe_get_monitor_addr, }; /* store statistics names and its offset in stats structure */ -- 2.25.1