Lines Matching defs:bp

27 static void bnx2x_add_tlv(struct bnx2x *bp, void *tlvs_list,  in bnx2x_add_tlv()
38 static void bnx2x_vfpf_prep(struct bnx2x *bp, struct vfpf_first_tlv *first_tlv, in bnx2x_vfpf_prep()
57 static void bnx2x_vfpf_finalize(struct bnx2x *bp, in bnx2x_vfpf_finalize()
67 static void *bnx2x_search_tlv_list(struct bnx2x *bp, void *tlvs_list, in bnx2x_search_tlv_list()
91 static void bnx2x_dp_tlv_list(struct bnx2x *bp, void *tlvs_list) in bnx2x_dp_tlv_list()
139 static int bnx2x_send_msg2pf(struct bnx2x *bp, u8 *done, dma_addr_t msg_mapping) in bnx2x_send_msg2pf()
192 static int bnx2x_get_vf_id(struct bnx2x *bp, u32 *vf_id) in bnx2x_get_vf_id()
221 int bnx2x_vfpf_acquire(struct bnx2x *bp, u8 tx_count, u8 rx_count) in bnx2x_vfpf_acquire()
389 int bnx2x_vfpf_release(struct bnx2x *bp) in bnx2x_vfpf_release()
436 int bnx2x_vfpf_init(struct bnx2x *bp) in bnx2x_vfpf_init()
482 void bnx2x_vfpf_close_vf(struct bnx2x *bp) in bnx2x_vfpf_close_vf()
535 static void bnx2x_leading_vfq_init(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_leading_vfq_init()
584 int bnx2x_vfpf_setup_q(struct bnx2x *bp, struct bnx2x_fastpath *fp, in bnx2x_vfpf_setup_q()
668 static int bnx2x_vfpf_teardown_queue(struct bnx2x *bp, int qidx) in bnx2x_vfpf_teardown_queue()
709 int bnx2x_vfpf_config_mac(struct bnx2x *bp, u8 *addr, u8 vf_qid, bool set) in bnx2x_vfpf_config_mac()
782 int bnx2x_vfpf_config_rss(struct bnx2x *bp, in bnx2x_vfpf_config_rss()
852 struct bnx2x *bp = netdev_priv(dev); in bnx2x_vfpf_set_mcast() local
914 int bnx2x_vfpf_storm_rx_mode(struct bnx2x *bp) in bnx2x_vfpf_storm_rx_mode()
964 static void storm_memset_vf_mbx_ack(struct bnx2x *bp, u16 abs_fid) in storm_memset_vf_mbx_ack()
972 static void storm_memset_vf_mbx_valid(struct bnx2x *bp, u16 abs_fid) in storm_memset_vf_mbx_valid()
981 void bnx2x_vf_enable_mbx(struct bnx2x *bp, u8 abs_vfid) in bnx2x_vf_enable_mbx()
994 static int bnx2x_copy32_vf_dmae(struct bnx2x *bp, u8 from_vf, in bnx2x_copy32_vf_dmae()
1042 static void bnx2x_vf_mbx_resp_single_tlv(struct bnx2x *bp, in bnx2x_vf_mbx_resp_single_tlv()
1058 static void bnx2x_vf_mbx_resp_send_msg(struct bnx2x *bp, in bnx2x_vf_mbx_resp_send_msg()
1123 static void bnx2x_vf_mbx_resp(struct bnx2x *bp, in bnx2x_vf_mbx_resp()
1131 static void bnx2x_vf_mbx_resp_phys_port(struct bnx2x *bp, in bnx2x_vf_mbx_resp_phys_port()
1154 static void bnx2x_vf_mbx_resp_fp_hsi_ver(struct bnx2x *bp, in bnx2x_vf_mbx_resp_fp_hsi_ver()
1174 static void bnx2x_vf_mbx_acquire_resp(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_acquire_resp()
1281 static bool bnx2x_vf_mbx_is_windows_vm(struct bnx2x *bp, in bnx2x_vf_mbx_is_windows_vm()
1298 static int bnx2x_vf_mbx_acquire_chk_dorq(struct bnx2x *bp, in bnx2x_vf_mbx_acquire_chk_dorq()
1316 static void bnx2x_vf_mbx_acquire(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_acquire()
1378 static void bnx2x_vf_mbx_init_vf(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_init_vf()
1403 static void bnx2x_vf_mbx_set_q_flags(struct bnx2x *bp, u32 mbx_q_flags, in bnx2x_vf_mbx_set_q_flags()
1430 static void bnx2x_vf_mbx_setup_q(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_setup_q()
1558 static int bnx2x_vf_mbx_macvlan_list(struct bnx2x *bp, in bnx2x_vf_mbx_macvlan_list()
1601 static void bnx2x_vf_mbx_dp_q_filter(struct bnx2x *bp, int msglvl, int idx, in bnx2x_vf_mbx_dp_q_filter()
1612 static void bnx2x_vf_mbx_dp_q_filters(struct bnx2x *bp, int msglvl, in bnx2x_vf_mbx_dp_q_filters()
1633 static int bnx2x_vf_mbx_qfilters(struct bnx2x *bp, struct bnx2x_virtf *vf) in bnx2x_vf_mbx_qfilters()
1717 static int bnx2x_filters_validate_mac(struct bnx2x *bp, in bnx2x_filters_validate_mac()
1753 static int bnx2x_filters_validate_vlan(struct bnx2x *bp, in bnx2x_filters_validate_vlan()
1786 static void bnx2x_vf_mbx_set_q_filters(struct bnx2x *bp, in bnx2x_vf_mbx_set_q_filters()
1813 static void bnx2x_vf_mbx_teardown_q(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_teardown_q()
1826 static void bnx2x_vf_mbx_close_vf(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_close_vf()
1837 static void bnx2x_vf_mbx_release_vf(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_release_vf()
1848 static void bnx2x_vf_mbx_update_rss(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_update_rss()
1909 static int bnx2x_validate_tpa_params(struct bnx2x *bp, in bnx2x_validate_tpa_params()
1932 static void bnx2x_vf_mbx_update_tpa(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_update_tpa()
1974 static void bnx2x_vf_mbx_request(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_request()
2048 void bnx2x_vf_mbx_schedule(struct bnx2x *bp, in bnx2x_vf_mbx_schedule()
2079 void bnx2x_vf_mbx(struct bnx2x *bp) in bnx2x_vf_mbx()
2144 int bnx2x_post_vf_bulletin(struct bnx2x *bp, int vf) in bnx2x_post_vf_bulletin()