Home
last modified time | relevance | path

Searched refs:bulletin (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c31 struct pf_vf_bulletin_content **bulletin,
1453 struct pf_vf_bulletin_content *bulletin; in bnx2x_iov_link_update_vf() local
1459 rc = bnx2x_vf_op_prep(bp, idx, &vf, &bulletin, false); in bnx2x_iov_link_update_vf()
1466 bulletin->valid_bitmap |= 1 << LINK_VALID; in bnx2x_iov_link_update_vf()
1468 bulletin->link_speed = state->line_speed; in bnx2x_iov_link_update_vf()
1469 bulletin->link_flags = 0; in bnx2x_iov_link_update_vf()
1472 bulletin->link_flags |= VFPF_LINK_REPORT_LINK_DOWN; in bnx2x_iov_link_update_vf()
1475 bulletin->link_flags |= VFPF_LINK_REPORT_FULL_DUPLEX; in bnx2x_iov_link_update_vf()
1478 bulletin->link_flags |= VFPF_LINK_REPORT_RX_FC_ON; in bnx2x_iov_link_update_vf()
1481 bulletin->link_flags |= VFPF_LINK_REPORT_TX_FC_ON; in bnx2x_iov_link_update_vf()
[all …]
Dbnx2x_vfpf.c731 struct pf_vf_bulletin_content bulletin = bp->pf2vf_bulletin->content; in bnx2x_vfpf_config_mac() local
772 eth_hw_addr_set(bp->dev, bulletin.mac); in bnx2x_vfpf_config_mac()
1294 struct pf_vf_bulletin_content *bulletin = in bnx2x_vf_mbx_acquire_resp() local
1307 if (bulletin->valid_bitmap & 1 << MAC_ADDR_VALID) { in bnx2x_vf_mbx_acquire_resp()
1308 memcpy(resc->current_mac_addr, bulletin->mac, in bnx2x_vf_mbx_acquire_resp()
1798 struct pf_vf_bulletin_content *bulletin = in bnx2x_vf_mbx_qfilters() local
1814 if (!(bulletin->valid_bitmap & (1 << VLAN_VALID)) && in bnx2x_vf_mbx_qfilters()
1843 struct pf_vf_bulletin_content *bulletin = BP_VF_BULLETIN(bp, vf->index); in bnx2x_filters_validate_mac() local
1851 if (bulletin->valid_bitmap & 1 << MAC_ADDR_VALID) { in bnx2x_filters_validate_mac()
1876 !ether_addr_equal(filter->mac, bulletin->mac)) { in bnx2x_filters_validate_mac()
[all …]
Dbnx2x_sriov.h497 u32 bnx2x_crc_vf_bulletin(struct pf_vf_bulletin_content *bulletin);
499 void bnx2x_vf_bulletin_finalize(struct pf_vf_bulletin_content *bulletin,
627 static inline void bnx2x_vf_bulletin_finalize(struct pf_vf_bulletin_content *bulletin, in bnx2x_vf_bulletin_finalize() argument
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed_vf.c193 if (p_iov->bulletin.p_virt) { in _qed_vf_pf_release()
197 p_iov->bulletin.p_virt, p_iov->bulletin.phys); in _qed_vf_pf_release()
286 req->bulletin_addr = p_iov->bulletin.phys; in qed_vf_pf_acquire()
287 req->bulletin_size = p_iov->bulletin.size; in qed_vf_pf_acquire()
393 p_iov->bulletin.size = resp->bulletin_size; in qed_vf_pf_acquire()
508 p_iov->bulletin.size = sizeof(struct qed_bulletin_content); in qed_vf_hw_prepare()
509 p_iov->bulletin.p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_vf_hw_prepare()
510 p_iov->bulletin.size, in qed_vf_hw_prepare()
511 &p_iov->bulletin.phys, in qed_vf_hw_prepare()
513 if (!p_iov->bulletin.p_virt) in qed_vf_hw_prepare()
[all …]
Dqed_sriov.c320 p_bulletin = p_vf->bulletin.p_virt; in qed_iov_post_vf_bulletin()
325 p_vf->bulletin.size - crc_size); in qed_iov_post_vf_bulletin()
335 return qed_dmae_host2host(p_hwfn, p_ptt, p_vf->bulletin.phys, in qed_iov_post_vf_bulletin()
336 p_vf->vf_bulletin, p_vf->bulletin.size / 4, in qed_iov_post_vf_bulletin()
441 vf->bulletin.phys = idx * in qed_iov_setup_vfdb()
444 vf->bulletin.p_virt = p_bulletin_virt + idx; in qed_iov_setup_vfdb()
445 vf->bulletin.size = sizeof(struct qed_bulletin_content); in qed_iov_setup_vfdb()
952 p_bulletin = p_vf->bulletin.p_virt; in qed_iov_set_link()
1101 if (vf->bulletin.p_virt) in qed_iov_release_hw_for_vf()
1102 memset(vf->bulletin.p_virt, 0, sizeof(*vf->bulletin.p_virt)); in qed_iov_release_hw_for_vf()
[all …]
Dqed_sriov.h174 struct qed_bulletin bulletin; member
Dqed_vf.h665 struct qed_bulletin bulletin; member