Home
last modified time | relevance | path

Searched refs:IS_VF (Results 1 – 21 of 21) sorted by relevance

/drivers/net/ethernet/qlogic/qed/
Dqed_sriov.h17 #define IS_VF(cdev) ((cdev)->b_is_vf) macro
21 #define IS_VF(cdev) (0) macro
Dqed_main.c623 if ((IS_PF(cdev) && rc > 0) || (IS_VF(cdev) && rc == cnt)) { in qed_enable_msix()
1128 if (cdev->num_hwfns > 1 || IS_VF(cdev)) in qed_update_pf_params()
1188 if (IS_VF(cdev)) in qed_slowpath_wq_stop()
1244 if (IS_VF(cdev)) in qed_slowpath_wq_start()
1704 if (IS_VF(cdev)) { in qed_set_link()
2265 if (IS_VF(cdev)) in qed_drain()
2855 if (IS_VF(cdev)) in qed_update_wol()
2879 if (IS_VF(cdev)) in qed_update_drv_state()
2901 if (IS_VF(cdev)) in qed_update_mac()
2925 if (IS_VF(cdev)) in qed_update_mtu()
[all …]
Dqed_l2.c226 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()
Dqed_dev.c134 if (IS_VF(cdev)) { in qed_db_recovery_add()
181 if (IS_VF(cdev)) { in qed_db_recovery_del()
1274 if (IS_VF(p_hwfn->cdev)) in qed_hw_bar_size()
1354 if (IS_VF(cdev)) { in qed_resc_free()
2166 if (IS_VF(cdev)) { in qed_resc_alloc()
2382 if (IS_VF(cdev)) { in qed_resc_setup()
3040 if (IS_VF(cdev)) { in qed_hw_init()
3300 if (IS_VF(cdev)) { in qed_hw_stop()
3411 if (IS_VF(cdev)) { in qed_hw_stop_fastpath()
3445 if (IS_VF(p_hwfn->cdev)) in qed_hw_start_fastpath()
[all …]
Dqed_mcp.c1626 if (IS_VF(p_hwfn->cdev)) in qed_get_process_kill_counter()
2086 if (IS_VF(p_hwfn->cdev)) { in qed_mcp_get_mfw_ver()
2125 if (IS_VF(p_hwfn->cdev)) in qed_mcp_get_mbi_ver()
2155 if (IS_VF(p_hwfn->cdev)) in qed_mcp_get_media_type()
2186 if (IS_VF(p_hwfn->cdev)) in qed_mcp_get_transceiver_data()
2342 if (IS_VF(p_hwfn->cdev)) in qed_mcp_get_board_config()
2576 if (IS_VF(p_hwfn->cdev)) in qed_mcp_get_flash_size()
Dqed_init_ops.c192 if (IS_VF(p_hwfn->cdev)) in qed_init_alloc()
Dqed_int.c1501 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()
Dqed_sp_commands.c491 if (IS_VF(p_hwfn->cdev)) in qed_sp_pf_update_tunn_cfg()
Dqed_spq.c442 if (IS_VF(p_hwfn->cdev)) in qed_cqe_completion()
Dqed_sriov.c589 if (IS_VF(p_hwfn->cdev)) in qed_iov_hw_info()
659 if (IS_VF(p_hwfn->cdev) || !IS_QED_SRIOV(p_hwfn->cdev) || in _qed_iov_pf_sanity_check()
4679 if (IS_VF(cdev)) in qed_get_vf_config()
4794 if (IS_VF(cdev)) in qed_set_vf_link_state()
Dqed_dcbx.c1000 if (IS_VF(p_hwfn->cdev)) in qed_dcbx_query_params()
/drivers/net/ethernet/qlogic/qede/
Dqede_main.c549 if (IS_VF(edev)) in qede_tx_timeout()
785 if (IS_VF(edev)) { in qede_init_ndev()
1255 if (!IS_VF(edev)) in __qede_probe()
2619 IS_VF(edev), QEDE_PROBE_RECOVERY); in qede_recovery_handler()
2864 if (IS_VF(edev)) { in qede_io_error_detected()
Dqede.h178 #define IS_VF(edev) test_bit(QEDE_FLAGS_IS_VF, \ macro
Dqede_ethtool.c320 return (IS_VF(edev) && QEDE_STAT_IS_PF_ONLY(stat_index)) || in qede_is_irrelevant_stat()
471 if (!IS_VF(edev)) in qede_get_sset_count()
2342 if (IS_VF(edev)) in qede_set_ethtool_ops()
Dqede_filter.c1111 if (IS_VF(edev) && edev->ops->req_bulletin_update_mac) in qede_set_mac_addr()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h1496 #define IS_VF(bp) ((bp)->flags & IS_VF_FLAG) macro
1499 #define IS_VF(bp) false macro
2222 IS_VF(bp) ? 0 : BNX2X_NUM_TESTS_SF)
Dbnx2x_stats.c544 if (IS_VF(bp)) in bnx2x_stats_restart()
1250 if (IS_VF(bp)) in bnx2x_stats_update()
1603 if (IS_VF(bp)) { in bnx2x_stats_init()
Dbnx2x_main.c1041 if (IS_VF(bp)) in bnx2x_panic_dump()
5819 if (IS_VF(bp)) in bnx2x_timer()
6397 if (IS_VF(bp)) in bnx2x_init_eth_fp()
8289 if (IS_VF(bp)) in bnx2x_free_mem()
8590 if (IS_VF(bp) && int_mode != BNX2X_INT_MODE_MSIX) { in bnx2x_set_int_mode()
8605 if (rc && IS_VF(bp)) in bnx2x_set_int_mode()
11885 if (IS_VF(bp)) in bnx2x_get_dropless_info()
12358 if (IS_VF(bp)) in bnx2x_init_bp()
12388 if (IS_VF(bp)) in bnx2x_init_bp()
12405 if (IS_VF(bp)) in bnx2x_init_bp()
[all …]
Dbnx2x_cmn.c2516 if (!IS_MF_BD(bp) || !SHMEM2_HAS(bp, os_driver_state) || IS_VF(bp)) in bnx2x_set_os_driver_state()
2681 if (IS_VF(bp)) { in bnx2x_nic_load()
3068 if (IS_VF(bp)) { in bnx2x_nic_unload()
3909 if (IS_VF(bp)) { in bnx2x_start_xmit()
3989 if (IS_VF(bp)) { in bnx2x_start_xmit()
Dbnx2x_ethtool.c725 if (IS_VF(bp)) in bnx2x_get_regs_len()
1224 if (IS_VF(bp)) in bnx2x_get_link()
3128 #define HIDE_PORT_STAT(bp) IS_VF(bp)
Dbnx2x_sriov.c1179 if (IS_VF(bp)) in bnx2x_iov_init_one()