linux/drivers/net/ethernet/sfc
Edward Cree 8c91562075 sfc: Refactor checks for invalid filter ID
Nearly every time we call efx_ef10_filter_remove_unsafe, we first check
for EFX_EF10_FILTER_ID_INVALID, in which case we do nothing.  So move
that check into the function, simplifying all the call sites.

Also, change the return type to void, since none of the callers check it.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-06-15 22:26:26 -07:00
..
bitfield.h
ef10_regs.h
ef10_sriov.c sfc: Take mac_lock before calling efx_ef10_filter_table_probe 2016-06-15 22:26:26 -07:00
ef10_sriov.h sfc: add legacy method for changing a PF's MAC address 2015-07-08 16:07:33 -07:00
ef10.c sfc: Refactor checks for invalid filter ID 2016-06-15 22:26:26 -07:00
efx.c sfc: Take mac_lock before calling efx_ef10_filter_table_probe 2016-06-15 22:26:26 -07:00
efx.h sfc: Assert filter_sem write locked when required 2016-06-15 22:26:25 -07:00
enum.h sfc: Change entity reset on MC reboot to a new datapath-only reset. 2015-05-21 18:43:54 -04:00
ethtool.c sfc: implement IPv6 NFC (and IPV4_USER_FLOW) 2016-02-11 07:16:18 -05:00
falcon_boards.c
falcon.c sfc: Allow driver to cope with a lower number of VIs than it needs for RSS 2015-08-28 13:53:47 -07:00
farch_regs.h
farch.c sfc: only use RSS filters if we're using RSS 2015-12-12 00:26:18 -05:00
filter.h
io.h
Kconfig sfc: add sysfs entry to control MCDI tracing 2015-05-27 13:54:51 -04:00
Makefile
mcdi_mon.c
mcdi_pcol.h sfc: update MCDI protocol definitions 2015-07-21 22:21:31 -07:00
mcdi_port.c sfc: report supported link speeds on SFP connections 2016-06-08 11:18:45 -07:00
mcdi.c sfc: Downgrade EPERM messages from MCDI to debug 2015-12-23 22:06:39 -05:00
mcdi.h sfc: Handle MCDI proxy authorisation 2015-12-23 22:06:39 -05:00
mdio_10g.c
mdio_10g.h
mtd.c
net_driver.h sfc: Implement ndo_vlan_rx_{add, kill}_vid() callbacks 2016-06-15 22:26:26 -07:00
nic.c
nic.h sfc: Implement list of VLANs added over interface 2016-06-15 22:26:26 -07:00
phy.h
ptp.c net: sfc: avoid using timespec 2015-10-01 09:59:24 -07:00
qt202x_phy.c
rx.c sfc: Track RPS flow IDs per channel instead of per function 2016-05-31 20:30:25 -07:00
selftest.c sfc: allow ethtool selftest and MC reboot to complete on an unprivileged function 2015-07-31 15:32:05 -07:00
selftest.h
siena_sriov.c sfc: save old MAC address in case sriov_mac_address_changed fails 2015-05-21 18:43:53 -04:00
siena_sriov.h sfc: save old MAC address in case sriov_mac_address_changed fails 2015-05-21 18:43:53 -04:00
siena.c sfc: Allow driver to cope with a lower number of VIs than it needs for RSS 2015-08-28 13:53:47 -07:00
sriov.c sfc: Implement ndo_gets_phys_port_id() for EF10 VFs 2015-06-02 12:57:26 -07:00
sriov.h sfc: Implement ndo_gets_phys_port_id() for EF10 VFs 2015-06-02 12:57:26 -07:00
tenxpress.c
tx.c net: relax setup_tc ndo op handle restriction 2016-03-03 16:25:15 -05:00
txc43128_phy.c sfc: fix a timeout loop 2015-12-15 12:46:26 -05:00
vfdi.h
workarounds.h