]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Properly distinguish RX buffer and DMA lengths
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 29 Jan 2013 23:33:14 +0000 (23:33 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 7 Mar 2013 20:22:06 +0000 (20:22 +0000)
commita7a39b4a3da50323c0bbb193ba41726bf7b6acb5
treec894c86c4331a376e728fdffb5cdbcd301158628
parent596d61ba6029462220666fb227cd5175e47edb35
sfc: Properly distinguish RX buffer and DMA lengths

Replace efx_nic::rx_buffer_len with efx_nic::rx_dma_len, the maximum
RX DMA length.

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