From: Alexander Duyck Date: Tue, 13 Nov 2012 04:03:23 +0000 (+0000) Subject: igb: Update igb Tx flags to improve code efficiency X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~369 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d9daf45b474a7db7a2f850ab03def2d0721095d;p=pandora-kernel.git igb: Update igb Tx flags to improve code efficiency This change is meant to improve the efficiency of the Tx flags in igb by aligning them with the values that will later be written into either the cmd_type or olinfo. By doing this we are able to reduce most of these functions to either just a simple shift followed by an or in the case of cmd_type, or an and followed by an or in the case of olinfo. In order to avoid type conversion errors I also adjusted the locations where we were switching between CPU and little endian. Signed-off-by: Alexander Duyck Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed