net/ixgbe: support power management on VF
authorAnatoly Burakov <anatoly.burakov@intel.com>
Mon, 26 Apr 2021 13:49:11 +0000 (13:49 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Wed, 28 Apr 2021 01:09:16 +0000 (03:09 +0200)
commit48774688413cc66e8f1a6fdef4302078c1f6a033
treed4f4a32f63347dbd6081629ec85b261596f15a4e
parent08eb6a9cc2e136e177de620425a4e39112a2897a
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 <anatoly.burakov@intel.com>
Reviewed-by: David Hunt <david.hunt@intel.com>
Acked-by: Haiyue Wang <haiyue.wang@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c