ethdev: retrieve flow control configuration
authorZijie Pan <zijie.pan@6wind.com>
Tue, 17 Jun 2014 18:09:26 +0000 (20:09 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 17 Jun 2014 22:43:24 +0000 (00:43 +0200)
commit56ea46a997b7cdc1bc2134f406d467c47e463bb3
treed5cab6d39f60dcb37f57e3893be9bea2a7a229ce
parent1122f06c42a6b1e43a965f3d2a3e793a0eba4f4d
ethdev: retrieve flow control configuration

This patch adds a new function in ethdev api to retrieve current flow control
configuration.
This operation has been implemented for rte_em_pmd, rte_igb_pmd and
rte_ixgbe_pmd.

Signed-off-by: Zijie Pan <zijie.pan@6wind.com>
Signed-off-by: David Marchand <david.marchand@6wind.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_ether/rte_ethdev.c
lib/librte_ether/rte_ethdev.h
lib/librte_pmd_e1000/em_ethdev.c
lib/librte_pmd_e1000/igb_ethdev.c
lib/librte_pmd_ixgbe/ixgbe_ethdev.c