net/ixgbe: implement power management API
authorLiang Ma <liang.j.ma@intel.com>
Thu, 14 Jan 2021 14:46:10 +0000 (14:46 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 18 Jan 2021 23:00:22 +0000 (00:00 +0100)
commit3982b7967bb779e790d44d820cfcf26b7ff86ecb
treeeb0ca9367a9a84ba686e2b42cf4b1bc952d97192
parent1fe3eef5e9bd7d116374a7f4db7ef71663e95707
net/ixgbe: implement power management API

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: Anatoly Burakov <anatoly.burakov@intel.com>
Signed-off-by: Liang Ma <liang.j.ma@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c
drivers/net/ixgbe/ixgbe_rxtx.c
drivers/net/ixgbe/ixgbe_rxtx.h