]> git.baikalelectronics.ru Git - kernel.git/commit
i40e/i40evf: fix rx descriptor status
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Sat, 10 May 2014 04:49:01 +0000 (04:49 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 8 Jun 2014 09:01:14 +0000 (02:01 -0700)
commitcd98abe32f11809e4e0033c8e7ecac15f39fffbd
tree7191c1d4cfc59277c3be6c81cca86abc6caaef0b
parent255360cbd28d0c732e43300ee50d97d6bbdc964a
i40e/i40evf: fix rx descriptor status

As reported by Eric Dumazet, the driver is not masking the right
bits in the receive descriptor before it starts checking them.

This patch extends the mask to allow for the right bits to be
checked, and fixes the issue permanently via a define.

CC: Eric Dumazet <eric.dumazet@gmail.com>
Change-ID: I3274f7619057a950f468143e6d7e11b129f54655
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_type.h
drivers/net/ethernet/intel/i40evf/i40e_type.h