1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/intel/fm10k
Alexander Lobakin a79afa78e6 net: use the new dev_page_is_reusable() instead of private versions
Now we can remove a bunch of identical functions from the drivers and
make them use common dev_page_is_reusable(). All {,un}likely() checks
are omitted since it's already present in this helper.
Also update some comments near the call sites.

Suggested-by: David Rientjes <rientjes@google.com>
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Cc: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Alexander Lobakin <alobakin@pm.me>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-02-04 18:20:14 -08:00
..
fm10k.h fm10k: convert to new udp_tunnel_nic infra 2020-07-14 17:04:27 -07:00
fm10k_common.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_common.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_dcbnl.c fm10k: reduce scope of the err variable 2019-08-01 13:57:33 -07:00
fm10k_debugfs.c fm10k: no need to check return value of debugfs_create functions 2019-08-10 15:25:48 -07:00
fm10k_ethtool.c net: don't include ethtool.h from netdevice.h 2020-11-23 17:27:04 -08:00
fm10k_iov.c fm10k: add support for ndo_get_vf_stats operation 2019-11-04 13:12:14 -08:00
fm10k_main.c net: use the new dev_page_is_reusable() instead of private versions 2021-02-04 18:20:14 -08:00
fm10k_mbx.c ethernet/intel: Convert fallthrough code comments 2020-07-01 13:47:43 -07:00
fm10k_mbx.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_netdev.c net: remove ndo_udp_tunnel_* callbacks 2021-01-07 12:53:29 -08:00
fm10k_pci.c net: intel: Remove in_interrupt() warnings 2020-09-29 14:02:54 -07:00
fm10k_pf.c ethernet/intel: Convert fallthrough code comments 2020-07-01 13:47:43 -07:00
fm10k_pf.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_tlv.c fm10k: mark unused parameters with __always_unused 2019-08-04 04:36:49 -07:00
fm10k_tlv.h fm10k: add missing field initializers to TLV attributes) 2019-11-04 13:12:14 -08:00
fm10k_type.h fm10k: add support for ndo_get_vf_stats operation 2019-11-04 13:12:14 -08:00
fm10k_vf.c fm10k: mark unused parameters with __always_unused 2019-08-04 04:36:49 -07:00
fm10k_vf.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
Makefile net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00