/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_sriov.h | 17 #define IS_VF(cdev) ((cdev)->b_is_vf) macro 21 #define IS_VF(cdev) (0) macro
|
H A D | qed_main.c | 590 if ((IS_PF(cdev) && rc > 0) || (IS_VF(cdev) && rc == cnt)) { in qed_enable_msix() 1094 if (cdev->num_hwfns > 1 || IS_VF(cdev)) in qed_update_pf_params() 1155 if (IS_VF(cdev)) in qed_slowpath_wq_stop() 1210 if (IS_VF(cdev)) in qed_slowpath_wq_start() 1670 if (IS_VF(cdev)) { in qed_set_link() 2231 if (IS_VF(cdev)) in qed_drain() 2821 if (IS_VF(cdev)) in qed_update_wol() 2845 if (IS_VF(cdev)) in qed_update_drv_state() 2867 if (IS_VF(cdev)) in qed_update_mac() 2891 if (IS_VF(cdev)) in qed_update_mtu() [all …]
|
H A D | qed_l2.c | 226 if (IS_VF(p_hwfn->cdev)) { in _qed_eth_queue_to_cid() 419 if (IS_VF(p_hwfn->cdev)) { in qed_sp_vport_start() 671 if (IS_VF(p_hwfn->cdev)) { in qed_sp_vport_update() 752 if (IS_VF(p_hwfn->cdev)) in qed_sp_vport_stop() 812 if (IS_VF(cdev)) { in qed_filter_accept_cmd() 1551 if (IS_VF(cdev)) { in qed_filter_mcast_cmd() 1578 if (IS_VF(cdev)) { in qed_filter_ucast_cmd() 2165 if (IS_VF(p_hwfn->cdev)) { in qed_get_queue_coalesce() 2286 if (IS_VF(cdev)) in qed_fill_eth_dev_info() 2299 if (IS_VF(cdev)) in qed_register_eth_ops()
|
H A D | qed_dev.c | 135 if (IS_VF(cdev)) { in qed_db_recovery_add() 182 if (IS_VF(cdev)) { in qed_db_recovery_del() 1275 if (IS_VF(p_hwfn->cdev)) in qed_hw_bar_size() 1355 if (IS_VF(cdev)) { in qed_resc_free() 2168 if (IS_VF(cdev)) { in qed_resc_alloc() 2427 if (IS_VF(cdev)) { in qed_resc_setup() 3096 if (IS_VF(cdev)) { in qed_hw_init() 3359 if (IS_VF(cdev)) { in qed_hw_stop() 3470 if (IS_VF(cdev)) { in qed_hw_stop_fastpath() 3504 if (IS_VF(p_hwfn->cdev)) in qed_hw_start_fastpath() [all …]
|
H A D | qed_int.c | 1501 if (IS_VF(p_hwfn->cdev)) in qed_int_cau_conf_pi() 1723 if (IS_VF(p_hwfn->cdev)) { in qed_int_sb_release() 1901 if (IS_VF(p_hwfn->cdev)) in qed_int_igu_disable_int() 2409 if (IS_VF(p_hwfn->cdev)) in qed_int_get_sb_dbg()
|
H A D | qed_mcp.c | 1671 if (IS_VF(p_hwfn->cdev)) in qed_get_process_kill_counter() 2147 if (IS_VF(p_hwfn->cdev)) { in qed_mcp_get_mfw_ver() 2186 if (IS_VF(p_hwfn->cdev)) in qed_mcp_get_mbi_ver() 2216 if (IS_VF(p_hwfn->cdev)) in qed_mcp_get_media_type() 2247 if (IS_VF(p_hwfn->cdev)) in qed_mcp_get_transceiver_data() 2404 if (IS_VF(p_hwfn->cdev)) in qed_mcp_get_board_config() 2635 if (IS_VF(p_hwfn->cdev)) in qed_mcp_get_flash_size()
|
H A D | qed_init_ops.c | 210 if (IS_VF(p_hwfn->cdev)) in qed_init_alloc()
|
H A D | qed_sp_commands.c | 497 if (IS_VF(p_hwfn->cdev)) in qed_sp_pf_update_tunn_cfg()
|
H A D | qed_spq.c | 456 if (IS_VF(p_hwfn->cdev)) in qed_cqe_completion()
|
H A D | qed_sriov.c | 591 if (IS_VF(p_hwfn->cdev)) in qed_iov_hw_info() 661 if (IS_VF(p_hwfn->cdev) || !IS_QED_SRIOV(p_hwfn->cdev) || in _qed_iov_pf_sanity_check() 4707 if (IS_VF(cdev)) in qed_get_vf_config() 4822 if (IS_VF(cdev)) in qed_set_vf_link_state()
|
H A D | qed_dcbx.c | 1000 if (IS_VF(p_hwfn->cdev)) in qed_dcbx_query_params()
|
/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_main.c | 619 if (IS_VF(edev)) in qede_tx_timeout() 855 if (IS_VF(edev)) { in qede_init_ndev() 1328 if (!IS_VF(edev)) in __qede_probe() 2690 IS_VF(edev), QEDE_PROBE_RECOVERY); in qede_recovery_handler() 2935 if (IS_VF(edev)) { in qede_io_error_detected()
|
H A D | qede.h | 176 #define IS_VF(edev) test_bit(QEDE_FLAGS_IS_VF, \ macro
|
H A D | qede_ethtool.c | 301 return (IS_VF(edev) && QEDE_STAT_IS_PF_ONLY(stat_index)) || in qede_is_irrelevant_stat() 452 if (!IS_VF(edev)) in qede_get_sset_count() 2354 if (IS_VF(edev)) in qede_set_ethtool_ops()
|
H A D | qede_filter.c | 1111 if (IS_VF(edev) && edev->ops->req_bulletin_update_mac) in qede_set_mac_addr()
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_stats.c | 542 if (IS_VF(bp)) in bnx2x_stats_restart() 1249 if (IS_VF(bp)) in bnx2x_stats_update() 1602 if (IS_VF(bp)) { in bnx2x_stats_init()
|
H A D | bnx2x.h | 1495 #define IS_VF(bp) ((bp)->flags & IS_VF_FLAG) macro 1498 #define IS_VF(bp) false macro 2223 IS_VF(bp) ? 0 : BNX2X_NUM_TESTS_SF)
|
H A D | bnx2x_main.c | 1040 if (IS_VF(bp)) in bnx2x_panic_dump() 5818 if (IS_VF(bp)) in bnx2x_timer() 6396 if (IS_VF(bp)) in bnx2x_init_eth_fp() 8288 if (IS_VF(bp)) in bnx2x_free_mem() 8589 if (IS_VF(bp) && int_mode != BNX2X_INT_MODE_MSIX) { in bnx2x_set_int_mode() 8604 if (rc && IS_VF(bp)) in bnx2x_set_int_mode() 11891 if (IS_VF(bp)) in bnx2x_get_dropless_info() 12366 if (IS_VF(bp)) in bnx2x_init_bp() 12396 if (IS_VF(bp)) in bnx2x_init_bp() 12413 if (IS_VF(bp)) in bnx2x_init_bp() [all …]
|
H A D | bnx2x_cmn.c | 2528 if (!IS_MF_BD(bp) || !SHMEM2_HAS(bp, os_driver_state) || IS_VF(bp)) in bnx2x_set_os_driver_state() 2693 if (IS_VF(bp)) { in bnx2x_nic_load() 3082 if (IS_VF(bp)) { in bnx2x_nic_unload() 3919 if (IS_VF(bp)) { in bnx2x_start_xmit() 3999 if (IS_VF(bp)) { in bnx2x_start_xmit()
|
H A D | bnx2x_ethtool.c | 725 if (IS_VF(bp)) in bnx2x_get_regs_len() 1224 if (IS_VF(bp)) in bnx2x_get_link() 3130 #define HIDE_PORT_STAT(bp) IS_VF(bp)
|
H A D | bnx2x_sriov.c | 1179 if (IS_VF(bp)) in bnx2x_iov_init_one()
|