fm10k: support Rx descriptor check
authorShaopeng He <shaopeng.he@intel.com>
Fri, 5 Feb 2016 04:57:45 +0000 (12:57 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 16:49:58 +0000 (17:49 +0100)
commit0d71e97fca80b85fda22f3e816cb737dc8d8ae32
tree9dddb86abc179e9c86318eb0327423aee6484211
parent0c46e3a9c98a4dc610f024981eb8cc4487b59765
fm10k: support Rx descriptor check

rx_descriptor_done is used by interrupt mode example application
(l3fwd-power) to check rxd DD bit to decide the RX trend,
then l3fwd-power will adjust the cpu frequency according to
the result.

Signed-off-by: Shaopeng He <shaopeng.he@intel.com>
Acked-by: Jing Chen <jing.d.chen@intel.com>
Acked-by: Michael Qiu <michael.qiu@intel.com>
drivers/net/fm10k/fm10k.h
drivers/net/fm10k/fm10k_ethdev.c
drivers/net/fm10k/fm10k_rxtx.c