Lines Matching refs:bnx2x

26 static int bnx2x_vfpf_teardown_queue(struct bnx2x *bp, int qidx);
29 static void bnx2x_add_tlv(struct bnx2x *bp, void *tlvs_list, in bnx2x_add_tlv()
40 static void bnx2x_vfpf_prep(struct bnx2x *bp, struct vfpf_first_tlv *first_tlv, in bnx2x_vfpf_prep()
59 static void bnx2x_vfpf_finalize(struct bnx2x *bp, in bnx2x_vfpf_finalize()
69 static void *bnx2x_search_tlv_list(struct bnx2x *bp, void *tlvs_list, in bnx2x_search_tlv_list()
93 static void bnx2x_dp_tlv_list(struct bnx2x *bp, void *tlvs_list) in bnx2x_dp_tlv_list()
141 static int bnx2x_send_msg2pf(struct bnx2x *bp, u8 *done, dma_addr_t msg_mapping) in bnx2x_send_msg2pf()
196 static int bnx2x_get_vf_id(struct bnx2x *bp, u32 *vf_id) in bnx2x_get_vf_id()
225 int bnx2x_vfpf_acquire(struct bnx2x *bp, u8 tx_count, u8 rx_count) in bnx2x_vfpf_acquire()
398 int bnx2x_vfpf_release(struct bnx2x *bp) in bnx2x_vfpf_release()
445 int bnx2x_vfpf_init(struct bnx2x *bp) in bnx2x_vfpf_init()
491 void bnx2x_vfpf_close_vf(struct bnx2x *bp) in bnx2x_vfpf_close_vf()
544 static void bnx2x_leading_vfq_init(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_leading_vfq_init()
602 int bnx2x_vfpf_setup_q(struct bnx2x *bp, struct bnx2x_fastpath *fp, in bnx2x_vfpf_setup_q()
686 static int bnx2x_vfpf_teardown_queue(struct bnx2x *bp, int qidx) in bnx2x_vfpf_teardown_queue()
727 int bnx2x_vfpf_config_mac(struct bnx2x *bp, u8 *addr, u8 vf_qid, bool set) in bnx2x_vfpf_config_mac()
800 int bnx2x_vfpf_config_rss(struct bnx2x *bp, in bnx2x_vfpf_config_rss()
870 struct bnx2x *bp = netdev_priv(dev); in bnx2x_vfpf_set_mcast()
932 int bnx2x_vfpf_update_vlan(struct bnx2x *bp, u16 vid, u8 vf_qid, bool add) in bnx2x_vfpf_update_vlan()
992 int bnx2x_vfpf_storm_rx_mode(struct bnx2x *bp) in bnx2x_vfpf_storm_rx_mode()
1047 static void storm_memset_vf_mbx_ack(struct bnx2x *bp, u16 abs_fid) in storm_memset_vf_mbx_ack()
1055 static void storm_memset_vf_mbx_valid(struct bnx2x *bp, u16 abs_fid) in storm_memset_vf_mbx_valid()
1064 void bnx2x_vf_enable_mbx(struct bnx2x *bp, u8 abs_vfid) in bnx2x_vf_enable_mbx()
1077 static int bnx2x_copy32_vf_dmae(struct bnx2x *bp, u8 from_vf, in bnx2x_copy32_vf_dmae()
1125 static void bnx2x_vf_mbx_resp_single_tlv(struct bnx2x *bp, in bnx2x_vf_mbx_resp_single_tlv()
1141 static void bnx2x_vf_mbx_resp_send_msg(struct bnx2x *bp, in bnx2x_vf_mbx_resp_send_msg()
1206 static void bnx2x_vf_mbx_resp(struct bnx2x *bp, in bnx2x_vf_mbx_resp()
1214 static void bnx2x_vf_mbx_resp_phys_port(struct bnx2x *bp, in bnx2x_vf_mbx_resp_phys_port()
1237 static void bnx2x_vf_mbx_resp_fp_hsi_ver(struct bnx2x *bp, in bnx2x_vf_mbx_resp_fp_hsi_ver()
1257 static void bnx2x_vf_mbx_acquire_resp(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_acquire_resp()
1365 static bool bnx2x_vf_mbx_is_windows_vm(struct bnx2x *bp, in bnx2x_vf_mbx_is_windows_vm()
1382 static int bnx2x_vf_mbx_acquire_chk_dorq(struct bnx2x *bp, in bnx2x_vf_mbx_acquire_chk_dorq()
1400 static void bnx2x_vf_mbx_acquire(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_acquire()
1470 static void bnx2x_vf_mbx_init_vf(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_init_vf()
1494 static void bnx2x_vf_mbx_set_q_flags(struct bnx2x *bp, u32 mbx_q_flags, in bnx2x_vf_mbx_set_q_flags()
1521 static void bnx2x_vf_mbx_setup_q(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_setup_q()
1649 static int bnx2x_vf_mbx_macvlan_list(struct bnx2x *bp, in bnx2x_vf_mbx_macvlan_list()
1705 static void bnx2x_vf_mbx_dp_q_filter(struct bnx2x *bp, int msglvl, int idx, in bnx2x_vf_mbx_dp_q_filter()
1716 static void bnx2x_vf_mbx_dp_q_filters(struct bnx2x *bp, int msglvl, in bnx2x_vf_mbx_dp_q_filters()
1738 static int bnx2x_vf_mbx_qfilters(struct bnx2x *bp, struct bnx2x_virtf *vf) in bnx2x_vf_mbx_qfilters()
1844 static int bnx2x_filters_validate_mac(struct bnx2x *bp, in bnx2x_filters_validate_mac()
1894 static int bnx2x_filters_validate_vlan(struct bnx2x *bp, in bnx2x_filters_validate_vlan()
1924 static void bnx2x_vf_mbx_set_q_filters(struct bnx2x *bp, in bnx2x_vf_mbx_set_q_filters()
1951 static void bnx2x_vf_mbx_teardown_q(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_teardown_q()
1964 static void bnx2x_vf_mbx_close_vf(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_close_vf()
1975 static void bnx2x_vf_mbx_release_vf(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_release_vf()
1986 static void bnx2x_vf_mbx_update_rss(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_update_rss()
2047 static int bnx2x_validate_tpa_params(struct bnx2x *bp, in bnx2x_validate_tpa_params()
2070 static void bnx2x_vf_mbx_update_tpa(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_update_tpa()
2112 static void bnx2x_vf_mbx_request(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_request()
2186 void bnx2x_vf_mbx_schedule(struct bnx2x *bp, in bnx2x_vf_mbx_schedule()
2219 void bnx2x_vf_mbx(struct bnx2x *bp) in bnx2x_vf_mbx()
2284 int bnx2x_post_vf_bulletin(struct bnx2x *bp, int vf) in bnx2x_post_vf_bulletin()