From: Anatoly Burakov Date: Mon, 26 Apr 2021 13:49:11 +0000 (+0000) Subject: net/ixgbe: support power management on VF X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=48774688413cc66e8f1a6fdef4302078c1f6a033;p=dpdk.git net/ixgbe: support power management on VF 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") Cc: stable@dpdk.org Signed-off-by: Anatoly Burakov Reviewed-by: David Hunt Acked-by: Haiyue Wang --- diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index a5c191fe1b..7477a0f3a2 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 */