Lines Matching defs:bp

35 static void storm_memset_vf_to_pf(struct bnx2x *bp, u16 abs_fid,  in storm_memset_vf_to_pf()
48 static void storm_memset_func_en(struct bnx2x *bp, u16 abs_fid, in storm_memset_func_en()
61 int bnx2x_vf_idx_by_abs_fid(struct bnx2x *bp, u16 abs_vfid) in bnx2x_vf_idx_by_abs_fid()
72 struct bnx2x_virtf *bnx2x_vf_by_abs_fid(struct bnx2x *bp, u16 abs_vfid) in bnx2x_vf_by_abs_fid()
78 static void bnx2x_vf_igu_ack_sb(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_igu_ack_sb()
111 static bool bnx2x_validate_vf_sp_objs(struct bnx2x *bp, in bnx2x_validate_vf_sp_objs()
126 void bnx2x_vfop_qctor_dump_tx(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vfop_qctor_dump_tx()
142 void bnx2x_vfop_qctor_dump_rx(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vfop_qctor_dump_rx()
166 void bnx2x_vfop_qctor_prep(struct bnx2x *bp, in bnx2x_vfop_qctor_prep()
234 static int bnx2x_vf_queue_create(struct bnx2x *bp, in bnx2x_vf_queue_create()
274 static int bnx2x_vf_queue_destroy(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_queue_destroy()
316 bnx2x_vf_set_igu_info(struct bnx2x *bp, u8 igu_sb_id, u8 abs_vfid) in bnx2x_vf_set_igu_info()
334 static int bnx2x_vf_vlan_mac_clear(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_vlan_mac_clear()
378 static int bnx2x_vf_mac_vlan_config(struct bnx2x *bp, in bnx2x_vf_mac_vlan_config()
434 int bnx2x_vf_mac_vlan_config_list(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mac_vlan_config_list()
473 int bnx2x_vf_queue_setup(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid, in bnx2x_vf_queue_setup()
493 static int bnx2x_vf_queue_flr(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_queue_flr()
537 int bnx2x_vf_mcast(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mcast()
587 static void bnx2x_vf_prep_rx_mode(struct bnx2x *bp, u8 qid, in bnx2x_vf_prep_rx_mode()
612 int bnx2x_vf_rxmode(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_rxmode()
625 int bnx2x_vf_queue_teardown(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid) in bnx2x_vf_queue_teardown()
679 static void bnx2x_vf_enable_internal(struct bnx2x *bp, u8 enable) in bnx2x_vf_enable_internal()
685 static void bnx2x_vf_semi_clear_err(struct bnx2x *bp, u8 abs_vfid) in bnx2x_vf_semi_clear_err()
693 static void bnx2x_vf_pglue_clear_err(struct bnx2x *bp, u8 abs_vfid) in bnx2x_vf_pglue_clear_err()
715 static void bnx2x_vf_igu_reset(struct bnx2x *bp, struct bnx2x_virtf *vf) in bnx2x_vf_igu_reset()
759 void bnx2x_vf_enable_access(struct bnx2x *bp, u8 abs_vfid) in bnx2x_vf_enable_access()
785 static void bnx2x_vf_enable_traffic(struct bnx2x *bp, struct bnx2x_virtf *vf) in bnx2x_vf_enable_traffic()
796 static u8 bnx2x_vf_is_pcie_pending(struct bnx2x *bp, u8 abs_vfid) in bnx2x_vf_is_pcie_pending()
814 int bnx2x_vf_flr_clnup_epilog(struct bnx2x *bp, u8 abs_vfid) in bnx2x_vf_flr_clnup_epilog()
827 bnx2x_iov_static_resc(struct bnx2x *bp, struct bnx2x_virtf *vf) in bnx2x_iov_static_resc()
846 static void bnx2x_vf_free_resc(struct bnx2x *bp, struct bnx2x_virtf *vf) in bnx2x_vf_free_resc()
853 static void bnx2x_vf_flr_clnup_hw(struct bnx2x *bp, struct bnx2x_virtf *vf) in bnx2x_vf_flr_clnup_hw()
873 static void bnx2x_vf_flr(struct bnx2x *bp, struct bnx2x_virtf *vf) in bnx2x_vf_flr()
907 static void bnx2x_vf_flr_clnup(struct bnx2x *bp) in bnx2x_vf_flr_clnup()
956 void bnx2x_vf_handle_flr_event(struct bnx2x *bp) in bnx2x_vf_handle_flr_event()
994 void bnx2x_iov_init_dq(struct bnx2x *bp) in bnx2x_iov_init_dq()
1031 void bnx2x_iov_init_dmae(struct bnx2x *bp) in bnx2x_iov_init_dmae()
1037 static int bnx2x_vf_domain(struct bnx2x *bp, int vfid) in bnx2x_vf_domain()
1044 static int bnx2x_vf_bus(struct bnx2x *bp, int vfid) in bnx2x_vf_bus()
1053 static int bnx2x_vf_devfn(struct bnx2x *bp, int vfid) in bnx2x_vf_devfn()
1061 static void bnx2x_vf_set_bars(struct bnx2x *bp, struct bnx2x_virtf *vf) in bnx2x_vf_set_bars()
1078 bnx2x_get_vf_igu_cam_info(struct bnx2x *bp) in bnx2x_get_vf_igu_cam_info()
1105 static void __bnx2x_iov_free_vfdb(struct bnx2x *bp) in __bnx2x_iov_free_vfdb()
1115 static int bnx2x_sriov_pci_cfg_info(struct bnx2x *bp, struct bnx2x_sriov *iov) in bnx2x_sriov_pci_cfg_info()
1140 static int bnx2x_sriov_info(struct bnx2x *bp, struct bnx2x_sriov *iov) in bnx2x_sriov_info()
1169 int bnx2x_iov_init_one(struct bnx2x *bp, int int_mode_param, in bnx2x_iov_init_one()
1303 void bnx2x_iov_remove_one(struct bnx2x *bp) in bnx2x_iov_remove_one()
1329 void bnx2x_iov_free_mem(struct bnx2x *bp) in bnx2x_iov_free_mem()
1355 int bnx2x_iov_alloc_mem(struct bnx2x *bp) in bnx2x_iov_alloc_mem()
1414 static void bnx2x_vfq_init(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vfq_init()
1439 static int bnx2x_max_speed_cap(struct bnx2x *bp) in bnx2x_max_speed_cap()
1450 int bnx2x_iov_link_update_vf(struct bnx2x *bp, int idx) in bnx2x_iov_link_update_vf()
1515 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_vf_link_state() local
1529 void bnx2x_iov_link_update(struct bnx2x *bp) in bnx2x_iov_link_update()
1541 int bnx2x_iov_nic_init(struct bnx2x *bp) in bnx2x_iov_nic_init()
1630 int bnx2x_iov_chip_cleanup(struct bnx2x *bp) in bnx2x_iov_chip_cleanup()
1645 int bnx2x_iov_init_ilt(struct bnx2x *bp, u16 line) in bnx2x_iov_init_ilt()
1664 static u8 bnx2x_iov_is_vf_cid(struct bnx2x *bp, u16 cid) in bnx2x_iov_is_vf_cid()
1671 void bnx2x_vf_handle_classification_eqe(struct bnx2x *bp, in bnx2x_vf_handle_classification_eqe()
1702 void bnx2x_vf_handle_mcast_eqe(struct bnx2x *bp, in bnx2x_vf_handle_mcast_eqe()
1721 void bnx2x_vf_handle_filters_eqe(struct bnx2x *bp, in bnx2x_vf_handle_filters_eqe()
1729 static void bnx2x_vf_handle_rss_update_eqe(struct bnx2x *bp, in bnx2x_vf_handle_rss_update_eqe()
1735 int bnx2x_iov_eq_sp_event(struct bnx2x *bp, union event_ring_elem *elem) in bnx2x_iov_eq_sp_event()
1838 static struct bnx2x_virtf *bnx2x_vf_by_cid(struct bnx2x *bp, int vf_cid) in bnx2x_vf_by_cid()
1848 void bnx2x_iov_set_queue_sp_obj(struct bnx2x *bp, int vf_cid, in bnx2x_iov_set_queue_sp_obj()
1870 void bnx2x_iov_adjust_stats_req(struct bnx2x *bp) in bnx2x_iov_adjust_stats_req()
1955 static void bnx2x_vf_qtbl_set_q(struct bnx2x *bp, u8 abs_vfid, u8 qid, in bnx2x_vf_qtbl_set_q()
1964 static void bnx2x_vf_clr_qtbl(struct bnx2x *bp, struct bnx2x_virtf *vf) in bnx2x_vf_clr_qtbl()
1973 static void bnx2x_vf_igu_disable(struct bnx2x *bp, struct bnx2x_virtf *vf) in bnx2x_vf_igu_disable()
1986 u8 bnx2x_vf_max_queue_cnt(struct bnx2x *bp, struct bnx2x_virtf *vf) in bnx2x_vf_max_queue_cnt()
1993 int bnx2x_vf_chk_avail_resc(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_chk_avail_resc()
2007 int bnx2x_vf_acquire(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_acquire()
2092 int bnx2x_vf_init(struct bnx2x *bp, struct bnx2x_virtf *vf, dma_addr_t *sb_map) in bnx2x_vf_init()
2155 int bnx2x_vf_close(struct bnx2x *bp, struct bnx2x_virtf *vf) in bnx2x_vf_close()
2202 int bnx2x_vf_free(struct bnx2x *bp, struct bnx2x_virtf *vf) in bnx2x_vf_free()
2235 int bnx2x_vf_rss_update(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_rss_update()
2243 int bnx2x_vf_tpa_update(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_tpa_update()
2282 int bnx2x_vf_release(struct bnx2x *bp, struct bnx2x_virtf *vf) in bnx2x_vf_release()
2298 void bnx2x_lock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_lock_vf_pf_channel()
2318 void bnx2x_unlock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_unlock_vf_pf_channel()
2349 static int bnx2x_set_pf_tx_switching(struct bnx2x *bp, bool enable) in bnx2x_set_pf_tx_switching()
2411 struct bnx2x *bp = netdev_priv(pci_get_drvdata(dev)); in bnx2x_sriov_configure() local
2446 int bnx2x_enable_sriov(struct bnx2x *bp) in bnx2x_enable_sriov()
2535 void bnx2x_pf_set_vfs_vlan(struct bnx2x *bp) in bnx2x_pf_set_vfs_vlan()
2549 void bnx2x_disable_sriov(struct bnx2x *bp) in bnx2x_disable_sriov()
2560 static int bnx2x_vf_op_prep(struct bnx2x *bp, int vfidx, in bnx2x_vf_op_prep()
2608 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_vf_config() local
2685 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_vf_mac() local
2763 static void bnx2x_set_vf_vlan_acceptance(struct bnx2x *bp, in bnx2x_set_vf_vlan_acceptance()
2782 static int bnx2x_set_vf_vlan_filter(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_set_vf_vlan_filter()
2810 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_vf_vlan() local
2952 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_vf_spoofchk() local
3035 enum sample_bulletin_result bnx2x_sample_bulletin(struct bnx2x *bp) in bnx2x_sample_bulletin()
3109 void bnx2x_timer_sriov(struct bnx2x *bp) in bnx2x_timer_sriov()
3119 void __iomem *bnx2x_vf_doorbells(struct bnx2x *bp) in bnx2x_vf_doorbells()
3125 void bnx2x_vf_pci_dealloc(struct bnx2x *bp) in bnx2x_vf_pci_dealloc()
3133 int bnx2x_vf_pci_alloc(struct bnx2x *bp) in bnx2x_vf_pci_alloc()
3158 void bnx2x_iov_channel_down(struct bnx2x *bp) in bnx2x_iov_channel_down()
3180 struct bnx2x *bp = container_of(work, struct bnx2x, iov_task.work); in bnx2x_iov_task() local
3194 void bnx2x_schedule_iov_task(struct bnx2x *bp, enum bnx2x_iov_flag flag) in bnx2x_schedule_iov_task()