]> 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)
commit279dc6a9d7a724ce7cfb235ec8f28807aba5ca15
tree7191c1d4cfc59277c3be6c81cca86abc6caaef0b
parentd6a07188cb1d9843f4da30135707771392f576a7
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