sfc: Make struct efx_special_buffer less special
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 18 Sep 2012 23:31:42 +0000 (00:31 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Wed, 21 Aug 2013 18:44:04 +0000 (19:44 +0100)
commitcaa7558655d5ae1997c6d52f87b59f8ec6f2c3af
tree0afd2dc9de7551c6e3e3f9c7f2cd8cf4cb90f1ff
parent0d19a540beb78493cd5acb7428760af0dc1ea154
sfc: Make struct efx_special_buffer less special

On EF10, the firmware is in charge of allocating buffer table entries.
Change struct efx_special_buffer to use a struct efx_buffer member,
so that it can be used with efx_nic_{alloc,free}_buffer() in that
case.

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