WSL2-Linux-Kernel/drivers/net/ethernet/sfc
Edward Cree 08bdbcae29 sfc: simplify DMA mask setting
Christoph says[1] that dma_set_mask_and_coherent() is smart enough to
 truncate the mask itself if it's too long.  So we can get rid of our
 "lop off one bit and retry" loop in efx_init_io().

[1]: https://www.spinics.net/lists/netdev/msg677266.html

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-09-07 14:46:13 -07:00
..
falcon treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
Kconfig sfc: skeleton EF100 PF driver 2020-07-27 12:26:55 -07:00
Makefile sfc: skeleton EF100 PF driver 2020-07-27 12:26:55 -07:00
bitfield.h
ef10.c sfc: add and use efx_tx_send_pending in tx.c 2020-09-05 12:21:39 -07:00
ef10_regs.h
ef10_sriov.c
ef10_sriov.h
ef100.c sfc: fix build warnings on 32-bit 2020-08-20 12:00:16 -07:00
ef100.h sfc: skeleton EF100 PF driver 2020-07-27 12:26:55 -07:00
ef100_ethtool.c sfc: add ethtool ops and miscellaneous ndos to EF100 2020-09-07 14:46:13 -07:00
ef100_ethtool.h sfc: skeleton EF100 PF driver 2020-07-27 12:26:55 -07:00
ef100_netdev.c sfc: add ethtool ops and miscellaneous ndos to EF100 2020-09-07 14:46:13 -07:00
ef100_netdev.h sfc: skeleton EF100 PF driver 2020-07-27 12:26:55 -07:00
ef100_nic.c sfc: add ethtool ops and miscellaneous ndos to EF100 2020-09-07 14:46:13 -07:00
ef100_nic.h sfc_ef100: add nic-type for VFs, and bind to them 2020-08-03 18:22:55 -07:00
ef100_regs.h sfc_ef100: add EF100 register definitions 2020-07-27 12:26:55 -07:00
ef100_rx.c sfc: fix boolreturn.cocci warning and rename function 2020-08-24 18:14:23 -07:00
ef100_rx.h sfc: check hash is valid before using it 2020-08-14 14:07:16 -07:00
ef100_tx.c sfc: use tx_queue->old_read_count in EF100 TX path 2020-09-05 12:21:40 -07:00
ef100_tx.h sfc: make ef100 xmit_more handling look more like ef10's 2020-09-05 12:21:39 -07:00
efx.c sfc: remove EFX_DRIVER_VERSION 2020-09-07 14:46:13 -07:00
efx.h sfc: check hash is valid before using it 2020-08-14 14:07:16 -07:00
efx_channels.c
efx_channels.h
efx_common.c sfc: simplify DMA mask setting 2020-09-07 14:46:13 -07:00
efx_common.h
enum.h
ethtool.c sfc: return errors from efx_mcdi_set_id_led, and de-indirect 2020-08-31 12:28:50 -07:00
ethtool_common.c sfc: remove EFX_DRIVER_VERSION 2020-09-07 14:46:13 -07:00
ethtool_common.h sfc: skeleton EF100 PF driver 2020-07-27 12:26:55 -07:00
farch.c sfc: add and use efx_tx_send_pending in tx.c 2020-09-05 12:21:39 -07:00
farch_regs.h
filter.h
io.h sfc_ef100: register accesses on EF100 2020-07-27 12:26:55 -07:00
mcdi.c sfc: return errors from efx_mcdi_set_id_led, and de-indirect 2020-08-31 12:28:50 -07:00
mcdi.h sfc: remove phy_op indirection 2020-09-07 14:46:13 -07:00
mcdi_filters.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
mcdi_filters.h
mcdi_functions.c
mcdi_functions.h
mcdi_mon.c
mcdi_pcol.h
mcdi_port.c sfc: remove phy_op indirection 2020-09-07 14:46:13 -07:00
mcdi_port.h
mcdi_port_common.c sfc: handle limited FEC support 2020-09-07 14:46:13 -07:00
mcdi_port_common.h sfc: handle limited FEC support 2020-09-07 14:46:13 -07:00
mtd.c
net_driver.h sfc: remove EFX_DRIVER_VERSION 2020-09-07 14:46:13 -07:00
nic.c sfc: don't free_irq()s if they were never requested 2020-08-18 12:49:13 -07:00
nic.h
nic_common.h sfc: remove efx_tx_queue_partner 2020-09-05 12:21:40 -07:00
ptp.c sfc: drop unnecessary list_empty 2020-07-27 10:09:57 -07:00
ptp.h
rx.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
rx_common.c sfc: null out channel->rps_flow_id after freeing it 2020-08-18 12:49:12 -07:00
rx_common.h
selftest.c sfc: remove phy_op indirection 2020-09-07 14:46:13 -07:00
selftest.h
siena.c sfc: return errors from efx_mcdi_set_id_led, and de-indirect 2020-08-31 12:28:50 -07:00
siena_sriov.c
siena_sriov.h
sriov.c
sriov.h
tx.c sfc: rewrite efx_tx_may_pio 2020-09-05 12:21:40 -07:00
tx.h
tx_common.c sfc: use efx_channel_tx_[old_]fill_level() in Siena/EF10 TX datapath 2020-09-05 12:21:40 -07:00
tx_common.h sfc: skeleton EF100 PF driver 2020-07-27 12:26:55 -07:00
tx_tso.c
vfdi.h
workarounds.h