]> git.droids-corp.org - dpdk.git/commitdiff
net/ice: support power management in DCF mode
authorKevin Liu <kevinx.liu@intel.com>
Fri, 29 Apr 2022 09:19:57 +0000 (09:19 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Mon, 9 May 2022 01:54:24 +0000 (03:54 +0200)
Implement support for the power management API by implementing a
'get_monitor_addr' function that will return an address of an RX ring's
status bit.

Signed-off-by: Kevin Liu <kevinx.liu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
doc/guides/nics/features/ice_dcf.ini
drivers/net/ice/ice_dcf_ethdev.c

index 54ea7f150c4e12e4bb98b084a0784b2f3943e743..3b11622d4c69cef42de43e1681170213bd1116ee 100644 (file)
@@ -25,6 +25,7 @@ VLAN filter          = Y
 VLAN offload         = Y
 Extended stats       = Y
 Basic stats          = Y
+Power mgmt address monitor = Y
 Linux                = Y
 x86-32               = Y
 x86-64               = Y
index 9217392d048e2fa5de6190bd87b14c735de1eb3c..236c0395e0db3e79846421632f3b126a7ae01db0 100644 (file)
@@ -1700,6 +1700,7 @@ static const struct eth_dev_ops ice_dcf_eth_dev_ops = {
        .tx_queue_stop            = ice_dcf_tx_queue_stop,
        .rxq_info_get             = ice_rxq_info_get,
        .txq_info_get             = ice_txq_info_get,
+       .get_monitor_addr         = ice_get_monitor_addr,
        .link_update              = ice_dcf_link_update,
        .stats_get                = ice_dcf_stats_get,
        .stats_reset              = ice_dcf_stats_reset,