linux/drivers/net/ethernet/sfc
Ben Hutchings 5b6262d0cc sfc: Replace some literal constants with EFX_PAGE_SIZE/EFX_BUF_SIZE
The 'page size' for PCIe DMA, i.e. the alignment of boundaries at
which DMA must be broken, is 4KB.  Name this value as EFX_PAGE_SIZE
and use it in efx_max_tx_len().  Redefine EFX_BUF_SIZE as
EFX_PAGE_SIZE since its value is also a result of that requirement,
and use it in efx_init_special_buffer().

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
2012-02-13 23:40:49 +00:00
..
bitfield.h sfc: Fix some formatting errors reported by checkpatch 2012-01-05 18:44:49 +00:00
efx.c sfc: Do not retry hardware probe if it schedules a reset 2012-02-13 23:40:48 +00:00
efx.h sfc: Replace efx_rx_buffer::is_page and other booleans with a flags field 2012-01-27 00:11:00 +00:00
enum.h
ethtool.c sfc: Make all MAC statistics consistently 64 bits wide 2012-01-27 00:10:59 +00:00
falcon_boards.c sfc: Const-qualify static data as appropriate, partly prompted by checkpatch 2012-01-09 17:08:13 +00:00
falcon_xmac.c sfc: Merge efx_mac_operations into efx_nic_type 2012-01-27 00:10:46 +00:00
falcon.c sfc: Clean up test interrupt handling 2012-01-27 00:10:52 +00:00
filter.c sfc: Remove now-unused filter function 2012-01-04 14:10:23 -05:00
filter.h sfc: Add support for retrieving and removing filters by ID 2012-01-04 14:10:00 -05:00
io.h
Kconfig sfc: Update the description of SFC_MTD 2012-01-27 00:10:54 +00:00
Makefile sfc: Add hwmon driver for boards using SFC9000-family controllers 2012-01-27 00:10:53 +00:00
mcdi_mac.c sfc: Remove efx_nic_type::push_multicast_hash operation 2012-01-27 00:10:48 +00:00
mcdi_mon.c sfc: Add hwmon driver for boards using SFC9000-family controllers 2012-01-27 00:10:53 +00:00
mcdi_pcol.h sfc: Update MCDI (firmware interface) definitions 2012-01-09 17:08:16 +00:00
mcdi_phy.c sfc: Update MCDI (firmware interface) definitions 2012-01-09 17:08:16 +00:00
mcdi.c sfc: Add hwmon driver for boards using SFC9000-family controllers 2012-01-27 00:10:53 +00:00
mcdi.h sfc: Add hwmon driver for boards using SFC9000-family controllers 2012-01-27 00:10:53 +00:00
mdio_10g.c sfc: Fix some formatting errors reported by checkpatch 2012-01-05 18:44:49 +00:00
mdio_10g.h
mtd.c sfc: MTD: Leave the DEBUG macro alone 2012-01-30 16:53:37 +00:00
net_driver.h sfc: Replace efx_rx_buffer::is_page and other booleans with a flags field 2012-01-27 00:11:00 +00:00
nic.c sfc: Replace some literal constants with EFX_PAGE_SIZE/EFX_BUF_SIZE 2012-02-13 23:40:49 +00:00
nic.h sfc: Replace some literal constants with EFX_PAGE_SIZE/EFX_BUF_SIZE 2012-02-13 23:40:49 +00:00
phy.h
qt202x_phy.c sfc: Fix some formatting errors reported by checkpatch 2012-01-05 18:44:49 +00:00
regs.h
rx.c sfc: Use a more sensible cast in efx_rx_buf_offset() 2012-01-30 16:58:45 +00:00
selftest.c sfc: Remove remnants of on-load self-test 2012-01-27 00:10:55 +00:00
selftest.h sfc: Remove dependence on NAPI polling in efx_test_eventq_irq() 2012-01-27 00:10:51 +00:00
siena.c sfc: Add hwmon driver for boards using SFC9000-family controllers 2012-01-27 00:10:53 +00:00
spi.h sfc: Fix some formatting errors reported by checkpatch 2012-01-05 18:44:49 +00:00
tenxpress.c sfc: Fix some formatting errors reported by checkpatch 2012-01-05 18:44:49 +00:00
tx.c sfc: Replace some literal constants with EFX_PAGE_SIZE/EFX_BUF_SIZE 2012-02-13 23:40:49 +00:00
txc43128_phy.c sfc: Const-qualify static data as appropriate, partly prompted by checkpatch 2012-01-09 17:08:13 +00:00
workarounds.h