Home
last modified time | relevance | path

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

/Linux-v5.10/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.c1124 if (cdev->num_hwfns > 1 || IS_VF(cdev)) in qed_update_pf_params()
1184 if (IS_VF(cdev)) in qed_slowpath_wq_stop()
1235 if (IS_VF(cdev)) in qed_slowpath_wq_start()
1694 if (IS_VF(cdev)) { in qed_set_link()
2255 if (IS_VF(cdev)) in qed_drain()
2845 if (IS_VF(cdev)) in qed_update_wol()
2869 if (IS_VF(cdev)) in qed_update_drv_state()
2891 if (IS_VF(cdev)) in qed_update_mac()
2915 if (IS_VF(cdev)) in qed_update_mtu()
2940 if (IS_VF(cdev)) in qed_read_module_eeprom()
[all …]
Dqed_l2.c226 if (IS_VF(p_hwfn->cdev)) { in _qed_eth_queue_to_cid()
418 if (IS_VF(p_hwfn->cdev)) { in qed_sp_vport_start()
670 if (IS_VF(p_hwfn->cdev)) { in qed_sp_vport_update()
751 if (IS_VF(p_hwfn->cdev)) in qed_sp_vport_stop()
811 if (IS_VF(cdev)) { in qed_filter_accept_cmd()
1550 if (IS_VF(cdev)) { in qed_filter_mcast_cmd()
1577 if (IS_VF(cdev)) { in qed_filter_ucast_cmd()
2155 if (IS_VF(p_hwfn->cdev)) { in qed_get_queue_coalesce()
2276 if (IS_VF(cdev)) in qed_fill_eth_dev_info()
2289 if (IS_VF(cdev)) in qed_register_eth_ops()
Dqed_dev.c133 if (IS_VF(cdev)) { in qed_db_recovery_add()
180 if (IS_VF(cdev)) { in qed_db_recovery_del()
1269 if (IS_VF(p_hwfn->cdev)) in qed_hw_bar_size()
1349 if (IS_VF(cdev)) { in qed_resc_free()
2155 if (IS_VF(cdev)) { in qed_resc_alloc()
2361 if (IS_VF(cdev)) { in qed_resc_setup()
3013 if (IS_VF(cdev)) { in qed_hw_init()
3273 if (IS_VF(cdev)) { in qed_hw_stop()
3384 if (IS_VF(cdev)) { in qed_hw_stop_fastpath()
3418 if (IS_VF(p_hwfn->cdev)) in qed_hw_start_fastpath()
[all …]
Dqed_mcp.c1627 if (IS_VF(p_hwfn->cdev)) in qed_get_process_kill_counter()
2087 if (IS_VF(p_hwfn->cdev)) { in qed_mcp_get_mfw_ver()
2126 if (IS_VF(p_hwfn->cdev)) in qed_mcp_get_mbi_ver()
2156 if (IS_VF(p_hwfn->cdev)) in qed_mcp_get_media_type()
2187 if (IS_VF(p_hwfn->cdev)) in qed_mcp_get_transceiver_data()
2343 if (IS_VF(p_hwfn->cdev)) in qed_mcp_get_board_config()
2574 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_sp_commands.c490 if (IS_VF(p_hwfn->cdev)) in qed_sp_pf_update_tunn_cfg()
Dqed_int.c1481 if (IS_VF(p_hwfn->cdev)) in qed_int_cau_conf_pi()
1703 if (IS_VF(p_hwfn->cdev)) { in qed_int_sb_release()
1881 if (IS_VF(p_hwfn->cdev)) in qed_int_igu_disable_int()
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()
4663 if (IS_VF(cdev)) in qed_get_vf_config()
4774 if (IS_VF(cdev)) in qed_set_vf_link_state()
Dqed_dcbx.c1002 if (IS_VF(p_hwfn->cdev)) in qed_dcbx_query_params()
/Linux-v5.10/drivers/net/ethernet/qlogic/qede/
Dqede_main.c547 if (IS_VF(edev)) in qede_tx_timeout()
789 if (IS_VF(edev)) { in qede_init_ndev()
1229 if (!IS_VF(edev)) in __qede_probe()
2556 IS_VF(edev), QEDE_PROBE_RECOVERY); in qede_recovery_handler()
2794 if (IS_VF(edev)) { in qede_io_error_detected()
Dqede.h181 #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()
467 if (!IS_VF(edev)) in qede_get_sset_count()
2188 if (IS_VF(edev)) in qede_set_ethtool_ops()
Dqede_filter.c1114 if (IS_VF(edev) && edev->ops->req_bulletin_update_mac) in qede_set_mac_addr()
/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/
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.h1496 #define IS_VF(bp) ((bp)->flags & IS_VF_FLAG) macro
1499 #define IS_VF(bp) false macro
2214 IS_VF(bp) ? 0 : BNX2X_NUM_TESTS_SF)
Dbnx2x_main.c1030 if (IS_VF(bp)) in bnx2x_panic_dump()
5809 if (IS_VF(bp)) in bnx2x_timer()
6387 if (IS_VF(bp)) in bnx2x_init_eth_fp()
8279 if (IS_VF(bp)) in bnx2x_free_mem()
8580 if (IS_VF(bp) && int_mode != BNX2X_INT_MODE_MSIX) { in bnx2x_set_int_mode()
8595 if (rc && IS_VF(bp)) in bnx2x_set_int_mode()
11875 if (IS_VF(bp)) in bnx2x_get_dropless_info()
12400 if (IS_VF(bp)) in bnx2x_init_bp()
12430 if (IS_VF(bp)) in bnx2x_init_bp()
12447 if (IS_VF(bp)) in bnx2x_init_bp()
[all …]
Dbnx2x_cmn.c2512 if (!IS_MF_BD(bp) || !SHMEM2_HAS(bp, os_driver_state) || IS_VF(bp)) in bnx2x_set_os_driver_state()
2676 if (IS_VF(bp)) { in bnx2x_nic_load()
3063 if (IS_VF(bp)) { in bnx2x_nic_unload()
3904 if (IS_VF(bp)) { in bnx2x_start_xmit()
3984 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()
3124 #define HIDE_PORT_STAT(bp) IS_VF(bp)
Dbnx2x_sriov.c1166 if (IS_VF(bp)) in bnx2x_iov_init_one()