Searched refs:bulletin (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.c | 31 struct pf_vf_bulletin_content **bulletin, 1460 struct pf_vf_bulletin_content *bulletin; in bnx2x_iov_link_update_vf() local 1466 rc = bnx2x_vf_op_prep(bp, idx, &vf, &bulletin, false); in bnx2x_iov_link_update_vf() 1473 bulletin->valid_bitmap |= 1 << LINK_VALID; in bnx2x_iov_link_update_vf() 1475 bulletin->link_speed = state->line_speed; in bnx2x_iov_link_update_vf() 1476 bulletin->link_flags = 0; in bnx2x_iov_link_update_vf() 1479 bulletin->link_flags |= VFPF_LINK_REPORT_LINK_DOWN; in bnx2x_iov_link_update_vf() 1482 bulletin->link_flags |= VFPF_LINK_REPORT_FULL_DUPLEX; in bnx2x_iov_link_update_vf() 1485 bulletin->link_flags |= VFPF_LINK_REPORT_RX_FC_ON; in bnx2x_iov_link_update_vf() 1488 bulletin->link_flags |= VFPF_LINK_REPORT_TX_FC_ON; in bnx2x_iov_link_update_vf() [all …]
|
D | bnx2x_vfpf.c | 729 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 …]
|
D | bnx2x_sriov.h | 496 u32 bnx2x_crc_vf_bulletin(struct pf_vf_bulletin_content *bulletin); 498 void bnx2x_vf_bulletin_finalize(struct pf_vf_bulletin_content *bulletin, 626 static inline void bnx2x_vf_bulletin_finalize(struct pf_vf_bulletin_content *bulletin, in bnx2x_vf_bulletin_finalize() argument
|
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/ |
D | qed_vf.c | 209 if (p_iov->bulletin.p_virt) { in _qed_vf_pf_release() 213 p_iov->bulletin.p_virt, p_iov->bulletin.phys); in _qed_vf_pf_release() 302 req->bulletin_addr = p_iov->bulletin.phys; in qed_vf_pf_acquire() 303 req->bulletin_size = p_iov->bulletin.size; in qed_vf_pf_acquire() 409 p_iov->bulletin.size = resp->bulletin_size; in qed_vf_pf_acquire() 524 p_iov->bulletin.size = sizeof(struct qed_bulletin_content); in qed_vf_hw_prepare() 525 p_iov->bulletin.p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_vf_hw_prepare() 526 p_iov->bulletin.size, in qed_vf_hw_prepare() 527 &p_iov->bulletin.phys, in qed_vf_hw_prepare() 531 p_iov->bulletin.p_virt, in qed_vf_hw_prepare() [all …]
|
D | qed_sriov.c | 342 p_bulletin = p_vf->bulletin.p_virt; in qed_iov_post_vf_bulletin() 347 p_vf->bulletin.size - crc_size); in qed_iov_post_vf_bulletin() 357 return qed_dmae_host2host(p_hwfn, p_ptt, p_vf->bulletin.phys, in qed_iov_post_vf_bulletin() 358 p_vf->vf_bulletin, p_vf->bulletin.size / 4, in qed_iov_post_vf_bulletin() 463 vf->bulletin.phys = idx * in qed_iov_setup_vfdb() 466 vf->bulletin.p_virt = p_bulletin_virt + idx; in qed_iov_setup_vfdb() 467 vf->bulletin.size = sizeof(struct qed_bulletin_content); in qed_iov_setup_vfdb() 970 p_bulletin = p_vf->bulletin.p_virt; in qed_iov_set_link() 1119 if (vf->bulletin.p_virt) in qed_iov_release_hw_for_vf() 1120 memset(vf->bulletin.p_virt, 0, sizeof(*vf->bulletin.p_virt)); in qed_iov_release_hw_for_vf() [all …]
|
D | qed_sriov.h | 199 struct qed_bulletin bulletin; member
|
D | qed_vf.h | 692 struct qed_bulletin bulletin; member
|