mxge: Nuke the flag field in mxge_tx_buffer_state
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 25 Sep 2013 05:57:44 +0000 (13:57 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 25 Sep 2013 07:59:33 +0000 (15:59 +0800)
commit48d12a0b2ff517d5596beacd2098f0577661bdb3
tree10be72ce4c209f67655a73f61c34f07517f93260
parenta3f51d6b89fa0b40cdbe2cbf1bbb2c9b1b9823c3
mxge: Nuke the flag field in mxge_tx_buffer_state

Instead of using flag to mark the end of the TX packet chain, we now
save mbuf in the last tx_buffer_state and use the mbuf pointer to mark
the end of the TX packet.
sys/dev/netif/mxge/if_mxge.c
sys/dev/netif/mxge/if_mxge_var.h