diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2012-09-01 01:12:38 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2012-09-24 04:50:35 -0400 |
commit | 5c60f81a2553213856b3bb80f18003e56a6a110d (patch) | |
tree | 7107a3cc1e16c790f5d89ab74161dc6172be121d /drivers/net/ethernet/intel/ixgbevf/ixgbevf.h | |
parent | ac6ed8f00aca7dd1abf0c90bcb3c8e46e7f44243 (diff) |
ixgbevf: Add fix to VF to handle multi-descriptor buffers
This change fixes the ixgbevf driver so that it can correctly drop a frame
should it receive a jumbo frame.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbevf/ixgbevf.h')
-rw-r--r-- | drivers/net/ethernet/intel/ixgbevf/ixgbevf.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h b/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h index eb26fda63c99..383b4e1cd175 100644 --- a/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h +++ b/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h | |||
@@ -261,6 +261,11 @@ enum ixbgevf_state_t { | |||
261 | __IXGBEVF_DOWN | 261 | __IXGBEVF_DOWN |
262 | }; | 262 | }; |
263 | 263 | ||
264 | struct ixgbevf_cb { | ||
265 | struct sk_buff *prev; | ||
266 | }; | ||
267 | #define IXGBE_CB(skb) ((struct ixgbevf_cb *)(skb)->cb) | ||
268 | |||
264 | enum ixgbevf_boards { | 269 | enum ixgbevf_boards { |
265 | board_82599_vf, | 270 | board_82599_vf, |
266 | board_X540_vf, | 271 | board_X540_vf, |