Igbe: Newer kernels seem to allow TSO headers and packet data to be in one desc
authorAli Saidi <Ali.Saidi@ARM.com>
Fri, 7 Sep 2012 19:20:53 +0000 (14:20 -0500)
committerAli Saidi <Ali.Saidi@ARM.com>
Fri, 7 Sep 2012 19:20:53 +0000 (14:20 -0500)
commit5217d5a451322199b4165ee0293ed2681dae5da3
treef9a03a52fcf38177872bf96483462a8b143456c3
parent124aac72b41f2dd29778168f808a9d08282abcfe
Igbe: Newer kernels seem to allow TSO headers and packet data to be in one desc

Implement some code we used to panic on as it actually does happen with the
e1000 driver in Linux 3.3+. We used to assume that a TSO header would never
be part of a larger payload, however it appears as though it now can be.
src/dev/i8254xGBe.cc