/drivers/net/ethernet/sfc/ |
D | efx.c | 213 #define EFX_ASSERT_RESET_SERIALISED(efx) \ argument 221 static int efx_check_disabled(struct efx_nic *efx) in efx_check_disabled() 272 struct efx_nic *efx = channel->efx; in efx_poll() local 328 struct efx_nic *efx = channel->efx; in efx_probe_eventq() local 346 struct efx_nic *efx = channel->efx; in efx_init_eventq() local 418 efx_alloc_channel(struct efx_nic *efx, int i, struct efx_channel *old_channel) in efx_alloc_channel() 524 struct efx_nic *efx = channel->efx; in efx_get_channel_name() local 540 static void efx_set_channel_names(struct efx_nic *efx) in efx_set_channel_names() 550 static int efx_probe_channels(struct efx_nic *efx) in efx_probe_channels() 585 static void efx_start_datapath(struct efx_nic *efx) in efx_start_datapath() [all …]
|
D | siena.c | 53 void siena_prepare_flush(struct efx_nic *efx) in siena_prepare_flush() 59 void siena_finish_flush(struct efx_nic *efx) in siena_finish_flush() 94 static int siena_test_chip(struct efx_nic *efx, struct efx_self_tests *tests) in siena_test_chip() 126 static void siena_ptp_write_host_time(struct efx_nic *efx, u32 host_time) in siena_ptp_write_host_time() 132 static int siena_ptp_set_ts_config(struct efx_nic *efx, in siena_ptp_set_ts_config() 206 static void siena_monitor(struct efx_nic *efx) in siena_monitor() 215 static int siena_probe_nvconfig(struct efx_nic *efx) in siena_probe_nvconfig() 228 static int siena_dimension_resources(struct efx_nic *efx) in siena_dimension_resources() 238 static unsigned int siena_mem_map_size(struct efx_nic *efx) in siena_mem_map_size() 244 static int siena_probe_nic(struct efx_nic *efx) in siena_probe_nic() [all …]
|
D | mcdi.c | 57 int efx_mcdi_init(struct efx_nic *efx) in efx_mcdi_init() 107 void efx_mcdi_fini(struct efx_nic *efx) in efx_mcdi_fini() 120 static void efx_mcdi_send_request(struct efx_nic *efx, unsigned cmd, in efx_mcdi_send_request() 205 static void efx_mcdi_read_response_header(struct efx_nic *efx) in efx_mcdi_read_response_header() 243 static bool efx_mcdi_poll_once(struct efx_nic *efx) in efx_mcdi_poll_once() 258 static int efx_mcdi_poll(struct efx_nic *efx) in efx_mcdi_poll() 307 int efx_mcdi_poll_reboot(struct efx_nic *efx) in efx_mcdi_poll_reboot() 333 static int efx_mcdi_await_completion(struct efx_nic *efx) in efx_mcdi_await_completion() 374 struct efx_nic *efx = mcdi->efx; in efx_mcdi_release() local 405 struct efx_nic *efx = mcdi->efx; in efx_mcdi_complete_async() local [all …]
|
D | io.h | 82 static inline void _efx_writeq(struct efx_nic *efx, __le64 value, in _efx_writeq() 87 static inline __le64 _efx_readq(struct efx_nic *efx, unsigned int reg) in _efx_readq() 93 static inline void _efx_writed(struct efx_nic *efx, __le32 value, in _efx_writed() 98 static inline __le32 _efx_readd(struct efx_nic *efx, unsigned int reg) in _efx_readd() 104 static inline void efx_writeo(struct efx_nic *efx, const efx_oword_t *value, in efx_writeo() 128 static inline void efx_sram_writeq(struct efx_nic *efx, void __iomem *membase, in efx_sram_writeq() 150 static inline void efx_writed(struct efx_nic *efx, const efx_dword_t *value, in efx_writed() 162 static inline void efx_reado(struct efx_nic *efx, efx_oword_t *value, in efx_reado() 180 static inline void efx_sram_readq(struct efx_nic *efx, void __iomem *membase, in efx_sram_readq() 201 static inline void efx_readd(struct efx_nic *efx, efx_dword_t *value, in efx_readd() [all …]
|
D | ef10.c | 84 static int efx_ef10_get_warm_boot_count(struct efx_nic *efx) in efx_ef10_get_warm_boot_count() 93 static unsigned int efx_ef10_mem_map_size(struct efx_nic *efx) in efx_ef10_mem_map_size() 98 static int efx_ef10_init_datapath_caps(struct efx_nic *efx) in efx_ef10_init_datapath_caps() 137 static int efx_ef10_get_sysclk_freq(struct efx_nic *efx) in efx_ef10_get_sysclk_freq() 150 static int efx_ef10_get_mac_address(struct efx_nic *efx, u8 *mac_address) in efx_ef10_get_mac_address() 170 static int efx_ef10_probe(struct efx_nic *efx) in efx_ef10_probe() 282 static int efx_ef10_free_vis(struct efx_nic *efx) in efx_ef10_free_vis() 300 static void efx_ef10_free_piobufs(struct efx_nic *efx) in efx_ef10_free_piobufs() 320 static int efx_ef10_alloc_piobufs(struct efx_nic *efx, unsigned int n) in efx_ef10_alloc_piobufs() 352 static int efx_ef10_link_piobufs(struct efx_nic *efx) in efx_ef10_link_piobufs() [all …]
|
D | mcdi_port.c | 37 efx_mcdi_get_phy_cfg(struct efx_nic *efx, struct efx_mcdi_phy_data *cfg) in efx_mcdi_get_phy_cfg() 77 static int efx_mcdi_set_link(struct efx_nic *efx, u32 capabilities, in efx_mcdi_set_link() 96 static int efx_mcdi_loopback_modes(struct efx_nic *efx, u64 *loopback_modes) in efx_mcdi_loopback_modes() 125 struct efx_nic *efx = netdev_priv(net_dev); in efx_mcdi_mdio_read() local 151 struct efx_nic *efx = netdev_priv(net_dev); in efx_mcdi_mdio_write() local 260 static u32 efx_get_mcdi_phy_flags(struct efx_nic *efx) in efx_get_mcdi_phy_flags() 309 static void efx_mcdi_phy_decode_link(struct efx_nic *efx, in efx_mcdi_phy_decode_link() 336 static int efx_mcdi_phy_probe(struct efx_nic *efx) in efx_mcdi_phy_probe() 435 int efx_mcdi_port_reconfigure(struct efx_nic *efx) in efx_mcdi_port_reconfigure() 449 static void efx_mcdi_phy_check_fcntl(struct efx_nic *efx, u32 lpa) in efx_mcdi_phy_check_fcntl() [all …]
|
D | falcon.c | 134 #define FALCON_XMAC_STATS_DMA_FLAG(efx) \ argument 329 struct efx_nic *efx = (struct efx_nic *)data; in falcon_setsda() local 339 struct efx_nic *efx = (struct efx_nic *)data; in falcon_setscl() local 349 struct efx_nic *efx = (struct efx_nic *)data; in falcon_getsda() local 358 struct efx_nic *efx = (struct efx_nic *)data; in falcon_getscl() local 378 struct efx_nic *efx = channel->efx; in falcon_push_irq_moderation() local 400 static void falcon_prepare_flush(struct efx_nic *efx) in falcon_prepare_flush() 420 static inline void falcon_irq_ack_a1(struct efx_nic *efx) in falcon_irq_ack_a1() 431 struct efx_nic *efx = dev_id; in falcon_legacy_interrupt_a1() local 481 static void falcon_b0_rx_push_rss_config(struct efx_nic *efx) in falcon_b0_rx_push_rss_config() [all …]
|
D | efx.h | 67 #define EFX_TXQ_MIN_ENT(efx) (2 * efx_tx_max_skb_descs(efx)) argument 69 #define EFX_TXQ_MAX_ENT(efx) (EFX_WORKAROUND_35388(efx) ? \ argument 99 static inline s32 efx_filter_insert_filter(struct efx_nic *efx, in efx_filter_insert_filter() 115 static inline int efx_filter_remove_id_safe(struct efx_nic *efx, in efx_filter_remove_id_safe() 133 efx_filter_get_filter_safe(struct efx_nic *efx, in efx_filter_get_filter_safe() 140 static inline u32 efx_filter_count_rx_used(struct efx_nic *efx, in efx_filter_count_rx_used() 145 static inline u32 efx_filter_get_rx_id_limit(struct efx_nic *efx) in efx_filter_get_rx_id_limit() 149 static inline s32 efx_filter_get_rx_ids(struct efx_nic *efx, in efx_filter_get_rx_ids() 211 static inline int efx_mtd_probe(struct efx_nic *efx) in efx_mtd_probe() 218 static inline int efx_mtd_probe(struct efx_nic *efx) { return 0; } in efx_mtd_probe() [all …]
|
D | ethtool.c | 99 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_phys_id() local 124 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_settings() local 146 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_set_settings() local 166 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_drvinfo() local 184 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_regs() local 192 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_msglevel() local 198 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_set_msglevel() local 257 static int efx_fill_loopback_test(struct efx_nic *efx, in efx_fill_loopback_test() 302 static int efx_ethtool_fill_self_tests(struct efx_nic *efx, in efx_ethtool_fill_self_tests() 362 static size_t efx_describe_per_queue_stats(struct efx_nic *efx, u8 *strings) in efx_describe_per_queue_stats() [all …]
|
D | farch.c | 87 static inline void efx_write_buf_tbl(struct efx_nic *efx, efx_qword_t *value, in efx_write_buf_tbl() 101 int efx_farch_test_registers(struct efx_nic *efx, in efx_farch_test_registers() 170 efx_init_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) in efx_init_special_buffer() 196 efx_fini_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) in efx_fini_special_buffer() 225 static int efx_alloc_special_buffer(struct efx_nic *efx, in efx_alloc_special_buffer() 255 efx_free_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) in efx_free_special_buffer() 356 struct efx_nic *efx = tx_queue->efx; in efx_farch_tx_probe() local 366 struct efx_nic *efx = tx_queue->efx; in efx_farch_tx_init() local 422 struct efx_nic *efx = tx_queue->efx; in efx_farch_flush_tx_queue() local 436 struct efx_nic *efx = tx_queue->efx; in efx_farch_tx_fini() local [all …]
|
D | qt202x_phy.c | 76 static int qt2025c_wait_heartbeat(struct efx_nic *efx) in qt2025c_wait_heartbeat() 108 static int qt2025c_wait_fw_status_good(struct efx_nic *efx) in qt2025c_wait_fw_status_good() 130 static void qt2025c_restart_firmware(struct efx_nic *efx) in qt2025c_restart_firmware() 138 static int qt2025c_wait_reset(struct efx_nic *efx) in qt2025c_wait_reset() 163 static void qt2025c_firmware_id(struct efx_nic *efx) in qt2025c_firmware_id() 183 static void qt2025c_bug17190_workaround(struct efx_nic *efx) in qt2025c_bug17190_workaround() 216 static int qt2025c_select_phy_mode(struct efx_nic *efx) in qt2025c_select_phy_mode() 309 static int qt202x_reset_phy(struct efx_nic *efx) in qt202x_reset_phy() 342 static int qt202x_phy_probe(struct efx_nic *efx) in qt202x_phy_probe() 360 static int qt202x_phy_init(struct efx_nic *efx) in qt202x_phy_init() [all …]
|
D | mdio_10g.c | 54 static int efx_mdio_check_mmd(struct efx_nic *efx, int mmd) in efx_mdio_check_mmd() 75 int efx_mdio_wait_reset_mmds(struct efx_nic *efx, unsigned int mmd_mask) in efx_mdio_wait_reset_mmds() 116 int efx_mdio_check_mmds(struct efx_nic *efx, unsigned int mmd_mask) in efx_mdio_check_mmds() 155 bool efx_mdio_links_ok(struct efx_nic *efx, unsigned int mmd_mask) in efx_mdio_links_ok() 181 void efx_mdio_transmit_disable(struct efx_nic *efx) in efx_mdio_transmit_disable() 188 void efx_mdio_phy_reconfigure(struct efx_nic *efx) in efx_mdio_phy_reconfigure() 201 static void efx_mdio_set_mmd_lpower(struct efx_nic *efx, in efx_mdio_set_mmd_lpower() 215 void efx_mdio_set_mmds_lpower(struct efx_nic *efx, in efx_mdio_set_mmds_lpower() 233 int efx_mdio_set_settings(struct efx_nic *efx, struct ethtool_cmd *ecmd) in efx_mdio_set_settings() 264 void efx_mdio_an_reconfigure(struct efx_nic *efx) in efx_mdio_an_reconfigure() [all …]
|
D | falcon_boards.c | 90 static int efx_init_lm87(struct efx_nic *efx, const struct i2c_board_info *info, in efx_init_lm87() 119 static void efx_fini_lm87(struct efx_nic *efx) in efx_fini_lm87() 124 static int efx_check_lm87(struct efx_nic *efx, unsigned mask) in efx_check_lm87() 182 efx_init_lm87(struct efx_nic *efx, const struct i2c_board_info *info, in efx_init_lm87() 187 static inline void efx_fini_lm87(struct efx_nic *efx) in efx_fini_lm87() 190 static inline int efx_check_lm87(struct efx_nic *efx, unsigned mask) in efx_check_lm87() 258 static void sfe4001_poweroff(struct efx_nic *efx) in sfe4001_poweroff() 272 static int sfe4001_poweron(struct efx_nic *efx) in sfe4001_poweron() 363 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); in show_phy_flash_cfg() local 371 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); in set_phy_flash_cfg() local [all …]
|
D | txc43128_phy.c | 174 void falcon_txc_set_gpio_val(struct efx_nic *efx, int pin, int on) in falcon_txc_set_gpio_val() 180 void falcon_txc_set_gpio_dir(struct efx_nic *efx, int pin, int dir) in falcon_txc_set_gpio_dir() 187 static int txc_reset_phy(struct efx_nic *efx) in txc_reset_phy() 208 static int txc_bist_one(struct efx_nic *efx, int mmd, int test) in txc_bist_one() 273 static int txc_bist(struct efx_nic *efx) in txc_bist() 280 static void txc_apply_defaults(struct efx_nic *efx) in txc_apply_defaults() 324 static int txc43128_phy_probe(struct efx_nic *efx) in txc43128_phy_probe() 344 static int txc43128_phy_init(struct efx_nic *efx) in txc43128_phy_init() 362 static void txc_glrgs_lane_power(struct efx_nic *efx, int mmd) in txc_glrgs_lane_power() 376 static void txc_analog_lane_power(struct efx_nic *efx, int mmd) in txc_analog_lane_power() [all …]
|
D | selftest.c | 67 #define INT_MODE(efx) \ argument 99 static int efx_test_phy_alive(struct efx_nic *efx, struct efx_self_tests *tests) in efx_test_phy_alive() 111 static int efx_test_nvram(struct efx_nic *efx, struct efx_self_tests *tests) in efx_test_nvram() 130 static int efx_test_interrupts(struct efx_nic *efx, in efx_test_interrupts() 164 static int efx_test_eventq_irq(struct efx_nic *efx, in efx_test_eventq_irq() 245 static int efx_test_phy(struct efx_nic *efx, struct efx_self_tests *tests, in efx_test_phy() 269 void efx_loopback_rx_packet(struct efx_nic *efx, in efx_loopback_rx_packet() 361 static void efx_iterate_state(struct efx_nic *efx) in efx_iterate_state() 398 struct efx_nic *efx = tx_queue->efx; in efx_begin_loopback() local 446 static int efx_poll_loopback(struct efx_nic *efx) in efx_poll_loopback() [all …]
|
D | ptp.c | 269 struct efx_nic *efx; member 357 size_t efx_ptp_describe_stats(struct efx_nic *efx, u8 *strings) in efx_ptp_describe_stats() 366 size_t efx_ptp_update_stats(struct efx_nic *efx, u64 *stats) in efx_ptp_update_stats() 478 static int efx_ptp_get_attributes(struct efx_nic *efx) in efx_ptp_get_attributes() 531 static int efx_ptp_get_timestamp_corrections(struct efx_nic *efx) in efx_ptp_get_timestamp_corrections() 568 static int efx_ptp_enable(struct efx_nic *efx) in efx_ptp_enable() 596 static int efx_ptp_disable(struct efx_nic *efx) in efx_ptp_disable() 625 static void efx_ptp_handle_no_channel(struct efx_nic *efx) in efx_ptp_handle_no_channel() 635 static void efx_ptp_send_times(struct efx_nic *efx, in efx_ptp_send_times() 703 efx_ptp_process_times(struct efx_nic *efx, MCDI_DECLARE_STRUCT_PTR(synch_buf), in efx_ptp_process_times() [all …]
|
D | siena_sriov.c | 87 struct efx_nic *efx; member 197 static int efx_sriov_cmd(struct efx_nic *efx, bool enable, in efx_sriov_cmd() 230 static void efx_sriov_usrev(struct efx_nic *efx, bool enabled) in efx_sriov_usrev() 240 static int efx_sriov_memcpy(struct efx_nic *efx, struct efx_memcpy_req *req, in efx_sriov_memcpy() 302 struct efx_nic *efx = vf->efx; in efx_sriov_reset_tx_filter() local 346 struct efx_nic *efx = vf->efx; in efx_sriov_reset_rx_filter() local 397 struct efx_nic *efx = vf->efx; in __efx_sriov_push_vf_status() local 472 static void efx_sriov_bufs(struct efx_nic *efx, unsigned offset, in efx_sriov_bufs() 489 static bool bad_vf_index(struct efx_nic *efx, unsigned index) in bad_vf_index() 505 static bool map_vi_index(struct efx_nic *efx, unsigned abs_index, in map_vi_index() [all …]
|
D | tenxpress.c | 151 static int tenxpress_init(struct efx_nic *efx) in tenxpress_init() 166 static int tenxpress_phy_probe(struct efx_nic *efx) in tenxpress_phy_probe() 188 static int tenxpress_phy_init(struct efx_nic *efx) in tenxpress_phy_init() 223 static int tenxpress_special_reset(struct efx_nic *efx) in tenxpress_special_reset() 256 static void sfx7101_check_bad_lp(struct efx_nic *efx, bool link_ok) in sfx7101_check_bad_lp() 300 static bool sfx7101_link_ok(struct efx_nic *efx) in sfx7101_link_ok() 308 static void tenxpress_ext_loopback(struct efx_nic *efx) in tenxpress_ext_loopback() 315 static void tenxpress_low_power(struct efx_nic *efx) in tenxpress_low_power() 322 static int tenxpress_phy_reconfigure(struct efx_nic *efx) in tenxpress_phy_reconfigure() 358 static bool tenxpress_phy_poll(struct efx_nic *efx) in tenxpress_phy_poll() [all …]
|
D | rx.c | 65 static inline u32 efx_rx_buf_hash(struct efx_nic *efx, const u8 *eh) in efx_rx_buf_hash() 87 static inline void efx_sync_rx_buffer(struct efx_nic *efx, in efx_sync_rx_buffer() 95 void efx_rx_config_page_split(struct efx_nic *efx) in efx_rx_config_page_split() 111 struct efx_nic *efx = rx_queue->efx; in efx_reuse_page() local 154 struct efx_nic *efx = rx_queue->efx; in efx_init_rx_buffers() local 213 static void efx_unmap_rx_buffer(struct efx_nic *efx, in efx_unmap_rx_buffer() 244 struct efx_nic *efx = rx_queue->efx; in efx_recycle_rx_page() local 327 struct efx_nic *efx = rx_queue->efx; in efx_fast_push_rx_descriptors() local 390 struct efx_nic *efx = rx_queue->efx; in efx_rx_packet__check_len() local 429 struct efx_nic *efx = channel->efx; in efx_rx_packet_gro() local [all …]
|
D | workarounds.h | 18 #define EFX_WORKAROUND_FALCON_A(efx) (efx_nic_rev(efx) <= EFX_REV_FALCON_A1) argument 19 #define EFX_WORKAROUND_FALCON_AB(efx) (efx_nic_rev(efx) <= EFX_REV_FALCON_B0) argument 20 #define EFX_WORKAROUND_SIENA(efx) (efx_nic_rev(efx) == EFX_REV_SIENA_A0) argument 21 #define EFX_WORKAROUND_10G(efx) 1 argument 48 #define EFX_EF10_WORKAROUND_35388(efx) \ argument 50 #define EFX_WORKAROUND_35388(efx) \ argument
|
D | tx.c | 97 efx_max_tx_len(struct efx_nic *efx, dma_addr_t dma_addr) in efx_max_tx_len() 114 unsigned int efx_tx_max_skb_descs(struct efx_nic *efx) in efx_tx_max_skb_descs() 139 struct efx_nic *efx = txq1->efx; in efx_tx_maybe_stop_queue() local 186 static void efx_memcpy_toio_aligned(struct efx_nic *efx, u8 __iomem **piobuf, in efx_memcpy_toio_aligned() 208 static void efx_memcpy_toio_aligned_cb(struct efx_nic *efx, u8 __iomem **piobuf, in efx_memcpy_toio_aligned_cb() 235 static void efx_flush_copy_buffer(struct efx_nic *efx, u8 __iomem *piobuf, in efx_flush_copy_buffer() 247 static void efx_skb_copy_bits_to_pio(struct efx_nic *efx, struct sk_buff *skb, in efx_skb_copy_bits_to_pio() 335 struct efx_nic *efx = tx_queue->efx; in efx_enqueue_skb() local 493 struct efx_nic *efx = tx_queue->efx; in efx_dequeue_buffers() local 530 struct efx_nic *efx = netdev_priv(net_dev); in efx_hard_start_xmit() local [all …]
|
D | mtd.c | 26 struct efx_nic *efx = mtd->priv; in efx_mtd_erase() local 43 struct efx_nic *efx = mtd->priv; in efx_mtd_sync() local 66 int efx_mtd_add(struct efx_nic *efx, struct efx_mtd_partition *parts, in efx_mtd_add() 107 void efx_mtd_remove(struct efx_nic *efx) in efx_mtd_remove() 125 void efx_mtd_rename(struct efx_nic *efx) in efx_mtd_rename()
|
D | mdio_10g.h | 25 static inline int efx_mdio_read(struct efx_nic *efx, int devad, int addr) in efx_mdio_read() 31 efx_mdio_write(struct efx_nic *efx, int devad, int addr, int value) in efx_mdio_write() 36 static inline u32 efx_mdio_read_id(struct efx_nic *efx, int mmd) in efx_mdio_read_id() 43 static inline bool efx_mdio_phyxgxs_lane_sync(struct efx_nic *efx) in efx_mdio_phyxgxs_lane_sync() 101 efx_mdio_set_flag(struct efx_nic *efx, int devad, int addr, in efx_mdio_set_flag()
|
D | nic.c | 34 int efx_nic_alloc_buffer(struct efx_nic *efx, struct efx_buffer *buffer, in efx_nic_alloc_buffer() 45 void efx_nic_free_buffer(struct efx_nic *efx, struct efx_buffer *buffer) in efx_nic_free_buffer() 69 void efx_nic_irq_test_start(struct efx_nic *efx) in efx_nic_irq_test_start() 79 int efx_nic_init_interrupt(struct efx_nic *efx) in efx_nic_init_interrupt() 150 void efx_nic_fini_interrupt(struct efx_nic *efx) in efx_nic_fini_interrupt() 371 size_t efx_nic_get_regs_len(struct efx_nic *efx) in efx_nic_get_regs_len() 394 void efx_nic_get_regs(struct efx_nic *efx, void *buf) in efx_nic_get_regs() 525 void efx_nic_fix_nodesc_drop_stat(struct efx_nic *efx, u64 *rx_nodesc_drops) in efx_nic_fix_nodesc_drop_stat()
|
D | nic.h | 28 static inline int efx_nic_rev(struct efx_nic *efx) in efx_nic_rev() 36 static inline bool efx_nic_is_dual_func(struct efx_nic *efx) in efx_nic_is_dual_func() 312 static inline struct falcon_board *falcon_board(struct efx_nic *efx) in falcon_board() 525 static inline bool efx_sriov_wanted(struct efx_nic *efx) in efx_sriov_wanted() 529 static inline bool efx_sriov_enabled(struct efx_nic *efx) in efx_sriov_enabled() 533 static inline unsigned int efx_vf_size(struct efx_nic *efx) in efx_vf_size() 553 static inline bool efx_sriov_wanted(struct efx_nic *efx) { return false; } in efx_sriov_wanted() 554 static inline bool efx_sriov_enabled(struct efx_nic *efx) { return false; } in efx_sriov_enabled() 555 static inline unsigned int efx_vf_size(struct efx_nic *efx) { return 0; } in efx_vf_size() 558 static inline void efx_sriov_probe(struct efx_nic *efx) {} in efx_sriov_probe() [all …]
|