ixgbe: allow to disable flow control
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Wed, 8 Jul 2015 01:14:05 +0000 (09:14 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 10 Jul 2015 16:05:56 +0000 (18:05 +0200)
commit49508ecd257df28a4adb093479ea08c6d6216eb5
tree26f9ed99b7f7ef98bd62f3d46a94e42000e7c81d
parentb911281be641ff3822bf9983a7cd68f3bbaa291b
ixgbe: allow to disable flow control

There's a parameter "autoneg on|off" in testpmd CLI "set flow_ctrl ...". This
parameter is used to enable/disable auto negotiation for flow control. But it's
not supported yet.
The auto negotiation is enabled by default, we have no way to disable it. This
patch lets the parameter "autoneg on|off" be supproted.

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
Acked-by: Changchun Ouyang <changchun.ouyang@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c