igb: Utilize mbuf's header length to setup TX context
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 2 Aug 2012 11:53:07 +0000 (19:53 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 2 Aug 2012 11:53:07 +0000 (19:53 +0800)
commit48faa65375906469d2e7e331c0584ee3ceedd3a0
tree55b7108d0763a85cb7e39eeadd67c38fd689046a
parent6026c54d859820652639d22385e89f06d26a3437
igb: Utilize mbuf's header length to setup TX context

While im here, also fix the case that VLAN hardware tagging is enabled
but IP checksum offloading is not enable.
sys/dev/netif/igb/if_igb.c