Home
last modified time | relevance | path

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

/linux-6.1.9/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.c728 struct pf_vf_bulletin_content bulletin = bp->pf2vf_bulletin->content; in bnx2x_vfpf_config_mac() local
769 eth_hw_addr_set(bp->dev, bulletin.mac); in bnx2x_vfpf_config_mac()
1291 struct pf_vf_bulletin_content *bulletin = in bnx2x_vf_mbx_acquire_resp() local
1304 if (bulletin->valid_bitmap & 1 << MAC_ADDR_VALID) { in bnx2x_vf_mbx_acquire_resp()
1305 memcpy(resc->current_mac_addr, bulletin->mac, in bnx2x_vf_mbx_acquire_resp()
1795 struct pf_vf_bulletin_content *bulletin = in bnx2x_vf_mbx_qfilters() local
1811 if (!(bulletin->valid_bitmap & (1 << VLAN_VALID)) && in bnx2x_vf_mbx_qfilters()
1840 struct pf_vf_bulletin_content *bulletin = BP_VF_BULLETIN(bp, vf->index); in bnx2x_filters_validate_mac() local
1848 if (bulletin->valid_bitmap & 1 << MAC_ADDR_VALID) { in bnx2x_filters_validate_mac()
1873 !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.1.9/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.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