ixgbe: Fix output from ixgbe_dump
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 2 Mar 2017 23:01:36 +0000 (15:01 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 18 Apr 2017 22:27:33 +0000 (15:27 -0700)
commit18a8cc9815746b8f0ae6f78733877d3846058d1c
tree26f635c93b02f85254bb18fa6fabb75e0e8318e8
parent541ea69a909739229962ef2c762074550a56fc0c
ixgbe: Fix output from ixgbe_dump

I just found that when we had changed the Rx path to check for length
instead of the DD bit we introduced an issue in ixgbe_dump since we were no
longer clearing the status bits.

To correct this I am updating ixgbe_dump to look for the length bits in the
descriptor since that is what we are using in the Rx path.

Fixes: c3630cc40b4f ("ixgbe: Use length to determine if descriptor is done")
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c