ixgbe: fix reconfiguration of Rx method
authorCunming Liang <cunming.liang@intel.com>
Wed, 12 Nov 2014 06:24:31 +0000 (14:24 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 12 Nov 2014 23:48:16 +0000 (00:48 +0100)
commit5974ee01f4e82f3d5290b5dcf1e69ea890fef24b
tree74615bd461bccfa6b4ccec017bb686ba1d3102f1
parent5e8ae7fc919321bd681b3c532ba08d277a34fcb7
ixgbe: fix reconfiguration of Rx method

The scattered_rx configuration is updated in dev_start().
For the execution sequence "stop, re-configure and then re-start",
it expects using the new configuration.
But during re-configure, the stored data may still be the old one.
The patch clean the configuration anyway in dev_stop().
So that make sure always get the best Rx routine.

Signed-off-by: Cunming Liang <cunming.liang@intel.com>
lib/librte_pmd_ixgbe/ixgbe_ethdev.c