net/i40e: implement power management API
authorLiang Ma <liang.j.ma@intel.com>
Thu, 14 Jan 2021 14:46:11 +0000 (14:46 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 18 Jan 2021 23:00:28 +0000 (00:00 +0100)
commita683abf90a22891f890df6a31c3d901d454b3a16
treea5991d31204335f2345c911bdfe38c610ac24ad0
parent3982b7967bb779e790d44d820cfcf26b7ff86ecb
net/i40e: 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: Liang Ma <liang.j.ma@intel.com>
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Jeff Guo <jia.guo@intel.com>
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_rxtx.c
drivers/net/i40e/i40e_rxtx.h