Home
last modified time | relevance | path

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

/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c31 struct pf_vf_bulletin_content **bulletin,
1454 struct pf_vf_bulletin_content *bulletin; in bnx2x_iov_link_update_vf() local
1460 rc = bnx2x_vf_op_prep(bp, idx, &vf, &bulletin, false); in bnx2x_iov_link_update_vf()
1467 bulletin->valid_bitmap |= 1 << LINK_VALID; in bnx2x_iov_link_update_vf()
1469 bulletin->link_speed = state->line_speed; in bnx2x_iov_link_update_vf()
1470 bulletin->link_flags = 0; in bnx2x_iov_link_update_vf()
1473 bulletin->link_flags |= VFPF_LINK_REPORT_LINK_DOWN; in bnx2x_iov_link_update_vf()
1476 bulletin->link_flags |= VFPF_LINK_REPORT_FULL_DUPLEX; in bnx2x_iov_link_update_vf()
1479 bulletin->link_flags |= VFPF_LINK_REPORT_RX_FC_ON; in bnx2x_iov_link_update_vf()
1482 bulletin->link_flags |= VFPF_LINK_REPORT_TX_FC_ON; in bnx2x_iov_link_update_vf()
[all …]
Dbnx2x_vfpf.c729 struct pf_vf_bulletin_content bulletin = bp->pf2vf_bulletin->content; in bnx2x_vfpf_config_mac() local
770 memcpy(bp->dev->dev_addr, bulletin.mac, ETH_ALEN); in bnx2x_vfpf_config_mac()
1292 struct pf_vf_bulletin_content *bulletin = in bnx2x_vf_mbx_acquire_resp() local
1305 if (bulletin->valid_bitmap & 1 << MAC_ADDR_VALID) { in bnx2x_vf_mbx_acquire_resp()
1306 memcpy(resc->current_mac_addr, bulletin->mac, in bnx2x_vf_mbx_acquire_resp()
1796 struct pf_vf_bulletin_content *bulletin = in bnx2x_vf_mbx_qfilters() local
1812 if (!(bulletin->valid_bitmap & (1 << VLAN_VALID)) && in bnx2x_vf_mbx_qfilters()
1841 struct pf_vf_bulletin_content *bulletin = BP_VF_BULLETIN(bp, vf->index); in bnx2x_filters_validate_mac() local
1849 if (bulletin->valid_bitmap & 1 << MAC_ADDR_VALID) { in bnx2x_filters_validate_mac()
1874 !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
/drivers/net/ethernet/qlogic/qed/
Dqed_vf.c196 if (p_iov->bulletin.p_virt) { in _qed_vf_pf_release()
200 p_iov->bulletin.p_virt, p_iov->bulletin.phys); in _qed_vf_pf_release()
289 req->bulletin_addr = p_iov->bulletin.phys; in qed_vf_pf_acquire()
290 req->bulletin_size = p_iov->bulletin.size; in qed_vf_pf_acquire()
396 p_iov->bulletin.size = resp->bulletin_size; in qed_vf_pf_acquire()
511 p_iov->bulletin.size = sizeof(struct qed_bulletin_content); in qed_vf_hw_prepare()
512 p_iov->bulletin.p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_vf_hw_prepare()
513 p_iov->bulletin.size, in qed_vf_hw_prepare()
514 &p_iov->bulletin.phys, in qed_vf_hw_prepare()
516 if (!p_iov->bulletin.p_virt) in qed_vf_hw_prepare()
[all …]
Dqed_sriov.c318 p_bulletin = p_vf->bulletin.p_virt; in qed_iov_post_vf_bulletin()
323 p_vf->bulletin.size - crc_size); in qed_iov_post_vf_bulletin()
333 return qed_dmae_host2host(p_hwfn, p_ptt, p_vf->bulletin.phys, in qed_iov_post_vf_bulletin()
334 p_vf->vf_bulletin, p_vf->bulletin.size / 4, in qed_iov_post_vf_bulletin()
439 vf->bulletin.phys = idx * in qed_iov_setup_vfdb()
442 vf->bulletin.p_virt = p_bulletin_virt + idx; in qed_iov_setup_vfdb()
443 vf->bulletin.size = sizeof(struct qed_bulletin_content); in qed_iov_setup_vfdb()
950 p_bulletin = p_vf->bulletin.p_virt; in qed_iov_set_link()
1099 if (vf->bulletin.p_virt) in qed_iov_release_hw_for_vf()
1100 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