commit | ea5ceeabf5621ed36d24e6741b45cfd1e1fce11b | [log] [tgz] |
---|---|---|
author | Tushar Dave <tushar.n.dave@intel.com> | Fri Sep 14 03:43:43 2012 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Fri Oct 19 04:23:29 2012 -0700 |
tree | cfdf89e57309ca380d96d180cdd58c63aff1d955 | |
parent | 374c65d6664a498c3997616161894bd9f55fab54 [diff] |
igb: Correcting and improving small packet check and padding Current implementation mess up the tail pointer. This patch sets skb->tail correctly. Also, the small packet check and padding is optimized by using unlikely and calling skb_pad directly. Signed-off-by: Tushar Dave <tushar.n.dave@intel.com> Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>