sfc: Replace efx_rx_is_last_buffer() with a flag
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 7 Mar 2013 16:31:17 +0000 (16:31 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 7 Mar 2013 20:22:14 +0000 (20:22 +0000)
commit179ea7f039f68ae4247a340bfb59fd861e7def12
tree1cbbfe3b56674737df34b26fff87deabe99dd800
parent2768935a46603bb9bdd121864b1f2b2e8a71cccc
sfc: Replace efx_rx_is_last_buffer() with a flag

This condition is brittle and we have lots of flags to spare.

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