sfc: Extend struct efx_tx_buffer to allow pushing option descriptors
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 8 Jan 2013 23:43:19 +0000 (23:43 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 29 Aug 2013 17:12:14 +0000 (18:12 +0100)
commitba8977bdb20d7ae72ec6fddc1c081ca2d56852cb
tree21b65914a3de92f9e69327ce1f7891fa8f39e0f7
parent3881d8ab065b23bb07400aa820e737d80fdaced3
sfc: Extend struct efx_tx_buffer to allow pushing option descriptors

The TX path firmware for EF10 supports 'option descriptors' to control
offloads and various other features.  Add a flag and field for these
in struct efx_tx_buffer, and don't treat them as DMA descriptors on
completion.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/farch.c
drivers/net/ethernet/sfc/net_driver.h
drivers/net/ethernet/sfc/tx.c