/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sriov.c | 31 struct pf_vf_bulletin_content **bulletin, 1400 /* allocate local bulletin boards */ in bnx2x_iov_alloc_mem() 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 in bnx2x_iov_link_update_vf() 2545 struct pf_vf_bulletin_content *bulletin; bnx2x_pf_set_vfs_vlan() local 2567 bnx2x_vf_op_prep(struct bnx2x *bp, int vfidx, struct bnx2x_virtf **vf, struct pf_vf_bulletin_content **bulletin, bool test_queue) bnx2x_vf_op_prep() argument 2617 struct pf_vf_bulletin_content *bulletin = NULL; bnx2x_get_vf_config() local 2695 struct pf_vf_bulletin_content *bulletin = NULL; bnx2x_set_vf_mac() local 2816 struct pf_vf_bulletin_content *bulletin = NULL; bnx2x_set_vf_vlan() local 3034 bnx2x_crc_vf_bulletin(struct pf_vf_bulletin_content *bulletin) bnx2x_crc_vf_bulletin() argument 3044 struct pf_vf_bulletin_content *bulletin; bnx2x_sample_bulletin() local 3168 struct pf_vf_bulletin_content *bulletin; bnx2x_iov_channel_down() local [all...] |
H A D | bnx2x_vfpf.c | 252 /* pf 2 vf bulletin board address */ in bnx2x_vfpf_acquire() 259 /* Bulletin support for bulletin board with length > legacy length */ in bnx2x_vfpf_acquire() 729 struct pf_vf_bulletin_content bulletin = bp->pf2vf_bulletin->content; in bnx2x_vfpf_config_mac() local 744 /* sample bulletin board for new mac */ in bnx2x_vfpf_config_mac() 767 "vfpf SET MAC failed. Check bulletin board for new posts\n"); in bnx2x_vfpf_config_mac() 769 /* copy mac from bulletin to device */ in bnx2x_vfpf_config_mac() 770 memcpy(bp->dev->dev_addr, bulletin.mac, ETH_ALEN); in bnx2x_vfpf_config_mac() 772 /* check if bulletin board was updated */ in bnx2x_vfpf_config_mac() 782 /* no new info in bulletin */ in bnx2x_vfpf_config_mac() 954 /* sample bulletin boar in bnx2x_vfpf_update_vlan() 1292 struct pf_vf_bulletin_content *bulletin = bnx2x_vf_mbx_acquire_resp() local 1796 struct pf_vf_bulletin_content *bulletin = bnx2x_vf_mbx_qfilters() local 1841 struct pf_vf_bulletin_content *bulletin = BP_VF_BULLETIN(bp, vf->index); bnx2x_filters_validate_mac() local 1891 struct pf_vf_bulletin_content *bulletin = BP_VF_BULLETIN(bp, vf->index); bnx2x_filters_validate_vlan() local 2276 bnx2x_vf_bulletin_finalize(struct pf_vf_bulletin_content *bulletin, bool support_long) bnx2x_vf_bulletin_finalize() argument 2290 struct pf_vf_bulletin_content *bulletin = BP_VF_BULLETIN(bp, vf); bnx2x_post_vf_bulletin() local [all...] |
H A D | bnx2x_sriov.h | 364 /* bulletin board update synchronization */ 497 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
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sriov.c | 31 struct pf_vf_bulletin_content **bulletin, 1399 /* allocate local bulletin boards */ in bnx2x_iov_alloc_mem() 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 in bnx2x_iov_link_update_vf() 2538 struct pf_vf_bulletin_content *bulletin; bnx2x_pf_set_vfs_vlan() local 2560 bnx2x_vf_op_prep(struct bnx2x *bp, int vfidx, struct bnx2x_virtf **vf, struct pf_vf_bulletin_content **bulletin, bool test_queue) bnx2x_vf_op_prep() argument 2610 struct pf_vf_bulletin_content *bulletin = NULL; bnx2x_get_vf_config() local 2688 struct pf_vf_bulletin_content *bulletin = NULL; bnx2x_set_vf_mac() local 2809 struct pf_vf_bulletin_content *bulletin = NULL; bnx2x_set_vf_vlan() local 3027 bnx2x_crc_vf_bulletin(struct pf_vf_bulletin_content *bulletin) bnx2x_crc_vf_bulletin() argument 3037 struct pf_vf_bulletin_content *bulletin; bnx2x_sample_bulletin() local 3161 struct pf_vf_bulletin_content *bulletin; bnx2x_iov_channel_down() local [all...] |
H A D | bnx2x_vfpf.c | 252 /* pf 2 vf bulletin board address */ in bnx2x_vfpf_acquire() 259 /* Bulletin support for bulletin board with length > legacy length */ in bnx2x_vfpf_acquire() 731 struct pf_vf_bulletin_content bulletin = bp->pf2vf_bulletin->content; in bnx2x_vfpf_config_mac() local 746 /* sample bulletin board for new mac */ in bnx2x_vfpf_config_mac() 769 "vfpf SET MAC failed. Check bulletin board for new posts\n"); in bnx2x_vfpf_config_mac() 771 /* copy mac from bulletin to device */ in bnx2x_vfpf_config_mac() 772 eth_hw_addr_set(bp->dev, bulletin.mac); in bnx2x_vfpf_config_mac() 774 /* check if bulletin board was updated */ in bnx2x_vfpf_config_mac() 784 /* no new info in bulletin */ in bnx2x_vfpf_config_mac() 956 /* sample bulletin boar in bnx2x_vfpf_update_vlan() 1294 struct pf_vf_bulletin_content *bulletin = bnx2x_vf_mbx_acquire_resp() local 1798 struct pf_vf_bulletin_content *bulletin = bnx2x_vf_mbx_qfilters() local 1843 struct pf_vf_bulletin_content *bulletin = BP_VF_BULLETIN(bp, vf->index); bnx2x_filters_validate_mac() local 1893 struct pf_vf_bulletin_content *bulletin = BP_VF_BULLETIN(bp, vf->index); bnx2x_filters_validate_vlan() local 2278 bnx2x_vf_bulletin_finalize(struct pf_vf_bulletin_content *bulletin, bool support_long) bnx2x_vf_bulletin_finalize() argument 2292 struct pf_vf_bulletin_content *bulletin = BP_VF_BULLETIN(bp, vf); bnx2x_post_vf_bulletin() local [all...] |
H A D | bnx2x_sriov.h | 364 /* bulletin board update synchronization */ 497 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
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_vf.c | 196 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() 288 /* pf 2 vf bulletin board address */ in qed_vf_pf_acquire() 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() 395 /* Update bulletin board size with response from PF */ 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 in qed_vf_hw_prepare() 1618 struct qed_bulletin_content *bulletin; qed_vf_check_mac() local 1634 struct qed_bulletin_content *bulletin; qed_vf_bulletin_get_forced_mac() local [all...] |
H A D | qed_sriov.c | 318 p_bulletin = p_vf->bulletin.p_virt; in qed_iov_post_vf_bulletin() 320 /* Increment bulletin board version and compute crc */ in qed_iov_post_vf_bulletin() 323 p_vf->bulletin.size - crc_size); in qed_iov_post_vf_bulletin() 329 /* propagate bulletin board via dmae to vm memory */ 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 in qed_iov_set_link() [all...] |
H A D | qed_sriov.h | 45 /* These copies will later be reflected in the bulletin board, 174 struct qed_bulletin bulletin; member 213 /* A bitfield using bulletin's valid-map bits, used to indicate 214 * which of the bulletin board features have been configured.
|
H A D | qed_vf.h | 665 struct qed_bulletin bulletin; member 717 * @brief Read the VF bulletin and act on it if needed 720 * @param p_change - qed fills 1 iff bulletin board has changed, 0 otherwise. 993 * @brief - return the link params in a given bulletin board 1004 * @brief - return the link state in a given bulletin board 1015 * @brief - return the link capabilities in a given bulletin board 1032 * @brief - Ask PF to update the MAC address in it's bulletin board 1034 * @param p_mac - mac address to be updated in bulletin board
|
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_vf.c | 193 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() 285 /* pf 2 vf bulletin board address */ in qed_vf_pf_acquire() 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() 392 /* Update bulletin board size with response from PF */ 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 in qed_vf_hw_prepare() 1608 struct qed_bulletin_content *bulletin; qed_vf_check_mac() local 1624 struct qed_bulletin_content *bulletin; qed_vf_bulletin_get_forced_mac() local [all...] |
H A D | qed_sriov.c | 320 p_bulletin = p_vf->bulletin.p_virt; in qed_iov_post_vf_bulletin() 322 /* Increment bulletin board version and compute crc */ in qed_iov_post_vf_bulletin() 325 p_vf->bulletin.size - crc_size); in qed_iov_post_vf_bulletin() 331 /* propagate bulletin board via dmae to vm memory */ 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 in qed_iov_set_link() [all...] |
H A D | qed_sriov.h | 45 /* These copies will later be reflected in the bulletin board, 174 struct qed_bulletin bulletin; member 213 /* A bitfield using bulletin's valid-map bits, used to indicate 214 * which of the bulletin board features have been configured.
|
H A D | qed_vf.h | 665 struct qed_bulletin bulletin; member 721 * qed_vf_read_bulletin(): Read the VF bulletin and act on it if needed. 724 * @p_change: qed fills 1 iff bulletin board has changed, 0 otherwise. 1019 * __qed_vf_get_link_params(): return the link params in a given bulletin board 1032 * __qed_vf_get_link_state(): return the link state in a given bulletin board 1046 * bulletin board 1066 * it's bulletin board 1069 * @p_mac: mac address to be updated in bulletin board
|