summaryrefslogtreecommitdiffstats
path: root/drivers/lguest/interrupts_and_traps.c
diff options
context:
space:
mode:
authorAlexander Duyck2012-11-13 05:03:23 +0100
committerDavid S. Miller2012-11-13 20:18:14 +0100
commit1d9daf45b474a7db7a2f850ab03def2d0721095d (patch)
treec09b82a5fa792a0f2db1c9ccaaf39591bf36aef9 /drivers/lguest/interrupts_and_traps.c
parentigb: Make TSO check for CHECKSUM_PARTIAL to avoid skb_is_gso check (diff)
downloadkernel-qcow2-linux-1d9daf45b474a7db7a2f850ab03def2d0721095d.tar.gz
kernel-qcow2-linux-1d9daf45b474a7db7a2f850ab03def2d0721095d.tar.xz
kernel-qcow2-linux-1d9daf45b474a7db7a2f850ab03def2d0721095d.zip
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 <alexander.h.duyck@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/lguest/interrupts_and_traps.c')
0 files changed, 0 insertions, 0 deletions