summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/dec
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2012-05-17 20:52:20 +0100
committerBen Hutchings <bhutchings@solarflare.com>2012-08-24 19:00:26 +0100
commit7668ff9c2ad7d354655e23afa836a92d54d2ea63 (patch)
tree01eaf41af56d406f1783f2bc8f7f70812759a130 /drivers/net/ethernet/dec
parent8f4cccbbd92f2ad0ddbbc498ef7cee2a1c3defe9 (diff)
downloadlwn-7668ff9c2ad7d354655e23afa836a92d54d2ea63.tar.gz
lwn-7668ff9c2ad7d354655e23afa836a92d54d2ea63.zip
sfc: Refactor struct efx_tx_buffer to use a flags field
Add a flags field to struct efx_tx_buffer, replacing the continuation and map_single booleans. Since a single descriptor cannot be both a TSO header and the last descriptor for an skb, unionise efx_tx_buffer::{skb,tsoh} and add flags for validity of these fields. Clear all flags in free buffers (whereas previously the continuation flag would be set). Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/dec')
0 files changed, 0 insertions, 0 deletions