Home
last modified time | relevance | path

Searched refs:pfdev_info (Results 1 – 9 of 9) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/qlogic/qed/
Dqed_vf.c150 if (!(p_iov->acquire_resp.pfdev_info.capabilities & in qed_vf_pf_add_qid()
249 struct pf_vf_pfdev_info *pfdev_info = &resp->pfdev_info; in qed_vf_pf_acquire() local
324 if (!(resp->pfdev_info.capabilities & in qed_vf_pf_acquire()
340 if (pfdev_info->major_fp_hsi && in qed_vf_pf_acquire()
341 (pfdev_info->major_fp_hsi != ETH_HSI_VER_MAJOR)) { in qed_vf_pf_acquire()
344 pfdev_info->major_fp_hsi, in qed_vf_pf_acquire()
345 pfdev_info->minor_fp_hsi, in qed_vf_pf_acquire()
348 pfdev_info->major_fp_hsi); in qed_vf_pf_acquire()
353 if (!pfdev_info->major_fp_hsi) { in qed_vf_pf_acquire()
392 if (!(resp->pfdev_info.capabilities & PFVF_ACQUIRE_CAP_QUEUE_QIDS)) in qed_vf_pf_acquire()
[all …]
Dqed_sriov.c1541 struct pf_vf_pfdev_info *pfdev_info = &resp->pfdev_info; in qed_iov_vf_mbx_acquire() local
1553 pfdev_info->major_fp_hsi = ETH_HSI_VER_MAJOR; in qed_iov_vf_mbx_acquire()
1554 pfdev_info->minor_fp_hsi = ETH_HSI_VER_MINOR; in qed_iov_vf_mbx_acquire()
1606 pfdev_info->chip_num = p_hwfn->cdev->chip_num; in qed_iov_vf_mbx_acquire()
1607 pfdev_info->db_size = 0; in qed_iov_vf_mbx_acquire()
1608 pfdev_info->indices_per_sb = PIS_PER_SB; in qed_iov_vf_mbx_acquire()
1610 pfdev_info->capabilities = PFVF_ACQUIRE_CAP_DEFAULT_UNTAGGED | in qed_iov_vf_mbx_acquire()
1613 pfdev_info->capabilities |= PFVF_ACQUIRE_CAP_100G; in qed_iov_vf_mbx_acquire()
1619 pfdev_info->capabilities |= PFVF_ACQUIRE_CAP_QUEUE_QIDS; in qed_iov_vf_mbx_acquire()
1622 resp->pfdev_info.bar_size = qed_iov_vf_db_bar_size(p_hwfn, p_ptt); in qed_iov_vf_mbx_acquire()
[all …]
Dqed_l2.c1609 *p_addr = p_resp->pfdev_info.stats_info.pstats.address; in __qed_get_vport_pstats_addrlen()
1610 *p_len = p_resp->pfdev_info.stats_info.pstats.len; in __qed_get_vport_pstats_addrlen()
1658 tstats_addr = p_resp->pfdev_info.stats_info.tstats.address; in __qed_get_vport_tstats()
1659 tstats_len = p_resp->pfdev_info.stats_info.tstats.len; in __qed_get_vport_tstats()
1685 *p_addr = p_resp->pfdev_info.stats_info.ustats.address; in __qed_get_vport_ustats_addrlen()
1686 *p_len = p_resp->pfdev_info.stats_info.ustats.len; in __qed_get_vport_ustats_addrlen()
1726 *p_addr = p_resp->pfdev_info.stats_info.mstats.address; in __qed_get_vport_mstats_addrlen()
1727 *p_len = p_resp->pfdev_info.stats_info.mstats.len; in __qed_get_vport_mstats_addrlen()
Dqed_vf.h198 } pfdev_info; member
Dqed_mcp.c2152 *p_mfw_ver = p_resp->pfdev_info.mfw_ver; in qed_mcp_get_mfw_ver()
/linux-5.19.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_vfpf.c368 bp->common.chip_id |= (bp->acquire_resp.pfdev_info.chip_num & 0xffff); in bnx2x_vfpf_acquire()
370 bp->db_size = bp->acquire_resp.pfdev_info.db_size; in bnx2x_vfpf_acquire()
383 strlcpy(bp->fw_ver, bp->acquire_resp.pfdev_info.fw_ver, in bnx2x_vfpf_acquire()
935 if (!(bp->acquire_resp.pfdev_info.pf_cap & PFVF_CAP_VLAN_FILTER)) { in bnx2x_vfpf_update_vlan()
1265 resp->pfdev_info.chip_num = bp->common.chip_id; in bnx2x_vf_mbx_acquire_resp()
1266 resp->pfdev_info.db_size = bp->db_size; in bnx2x_vf_mbx_acquire_resp()
1267 resp->pfdev_info.indices_per_sb = HC_SB_MAX_INDICES_E2; in bnx2x_vf_mbx_acquire_resp()
1268 resp->pfdev_info.pf_cap = (PFVF_CAP_RSS | in bnx2x_vf_mbx_acquire_resp()
1272 bnx2x_fill_fw_str(bp, resp->pfdev_info.fw_ver, in bnx2x_vf_mbx_acquire_resp()
1273 sizeof(resp->pfdev_info.fw_ver)); in bnx2x_vf_mbx_acquire_resp()
[all …]
Dbnx2x_vfpf.h190 } pfdev_info; member
Dbnx2x_sriov.h521 strlcpy(buf, bp->acquire_resp.pfdev_info.fw_ver, buf_len); in bnx2x_vf_fill_fw_str()
Dbnx2x_main.c13959 if (bp->acquire_resp.pfdev_info.pf_cap & PFVF_CAP_VLAN_FILTER) { in bnx2x_init_one()