Lines Matching refs:bnx2x

244 void bnx2x_lock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf,
247 void bnx2x_unlock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf,
401 int bnx2x_iov_init_ilt(struct bnx2x *bp, u16 line);
402 int bnx2x_iov_init_one(struct bnx2x *bp, int int_mode_param, int num_vfs_param);
403 void bnx2x_iov_remove_one(struct bnx2x *bp);
404 void bnx2x_iov_free_mem(struct bnx2x *bp);
405 int bnx2x_iov_alloc_mem(struct bnx2x *bp);
406 int bnx2x_iov_nic_init(struct bnx2x *bp);
407 int bnx2x_iov_chip_cleanup(struct bnx2x *bp);
408 void bnx2x_iov_init_dq(struct bnx2x *bp);
409 void bnx2x_iov_init_dmae(struct bnx2x *bp);
410 void bnx2x_iov_set_queue_sp_obj(struct bnx2x *bp, int vf_cid,
412 int bnx2x_iov_eq_sp_event(struct bnx2x *bp, union event_ring_elem *elem);
413 void bnx2x_iov_adjust_stats_req(struct bnx2x *bp);
414 void bnx2x_iov_storm_stats_update(struct bnx2x *bp);
416 void bnx2x_vf_mbx(struct bnx2x *bp);
417 void bnx2x_vf_mbx_schedule(struct bnx2x *bp,
419 void bnx2x_vf_enable_mbx(struct bnx2x *bp, u8 abs_vfid);
425 int bnx2x_vf_acquire(struct bnx2x *bp, struct bnx2x_virtf *vf,
428 int bnx2x_vf_init(struct bnx2x *bp, struct bnx2x_virtf *vf,
432 void bnx2x_vfop_qctor_dump_tx(struct bnx2x *bp, struct bnx2x_virtf *vf,
437 void bnx2x_vfop_qctor_dump_rx(struct bnx2x *bp, struct bnx2x_virtf *vf,
442 void bnx2x_vfop_qctor_prep(struct bnx2x *bp,
448 int bnx2x_vf_mac_vlan_config_list(struct bnx2x *bp, struct bnx2x_virtf *vf,
452 int bnx2x_vf_queue_setup(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid,
455 int bnx2x_vf_queue_teardown(struct bnx2x *bp, struct bnx2x_virtf *vf, int qid);
457 int bnx2x_vf_mcast(struct bnx2x *bp, struct bnx2x_virtf *vf,
460 int bnx2x_vf_rxmode(struct bnx2x *bp, struct bnx2x_virtf *vf,
463 int bnx2x_vf_close(struct bnx2x *bp, struct bnx2x_virtf *vf);
465 int bnx2x_vf_free(struct bnx2x *bp, struct bnx2x_virtf *vf);
467 int bnx2x_vf_rss_update(struct bnx2x *bp, struct bnx2x_virtf *vf,
470 int bnx2x_vf_tpa_update(struct bnx2x *bp, struct bnx2x_virtf *vf,
479 int bnx2x_vf_release(struct bnx2x *bp, struct bnx2x_virtf *vf);
480 int bnx2x_vf_idx_by_abs_fid(struct bnx2x *bp, u16 abs_vfid);
481 u8 bnx2x_vf_max_queue_cnt(struct bnx2x *bp, struct bnx2x_virtf *vf);
486 int bnx2x_vf_flr_clnup_epilog(struct bnx2x *bp, u8 abs_vfid);
487 void bnx2x_vf_enable_access(struct bnx2x *bp, u8 abs_vfid);
490 void bnx2x_vf_handle_flr_event(struct bnx2x *bp);
495 int bnx2x_post_vf_bulletin(struct bnx2x *bp, int vf);
499 enum sample_bulletin_result bnx2x_sample_bulletin(struct bnx2x *bp);
502 int bnx2x_vfpf_acquire(struct bnx2x *bp, u8 tx_count, u8 rx_count);
503 int bnx2x_vfpf_release(struct bnx2x *bp);
504 int bnx2x_vfpf_release(struct bnx2x *bp);
505 int bnx2x_vfpf_init(struct bnx2x *bp);
506 void bnx2x_vfpf_close_vf(struct bnx2x *bp);
507 int bnx2x_vfpf_setup_q(struct bnx2x *bp, struct bnx2x_fastpath *fp,
509 int bnx2x_vfpf_config_mac(struct bnx2x *bp, u8 *addr, u8 vf_qid, bool set);
510 int bnx2x_vfpf_config_rss(struct bnx2x *bp,
513 int bnx2x_vfpf_storm_rx_mode(struct bnx2x *bp);
515 static inline void bnx2x_vf_fill_fw_str(struct bnx2x *bp, char *buf, in bnx2x_vf_fill_fw_str()
521 static inline int bnx2x_vf_ustorm_prods_offset(struct bnx2x *bp, in bnx2x_vf_ustorm_prods_offset()
529 enum sample_bulletin_result bnx2x_sample_bulletin(struct bnx2x *bp);
530 void bnx2x_timer_sriov(struct bnx2x *bp);
531 void __iomem *bnx2x_vf_doorbells(struct bnx2x *bp);
532 void bnx2x_vf_pci_dealloc(struct bnx2x *bp);
533 int bnx2x_vf_pci_alloc(struct bnx2x *bp);
534 int bnx2x_enable_sriov(struct bnx2x *bp);
535 void bnx2x_disable_sriov(struct bnx2x *bp);
536 static inline int bnx2x_vf_headroom(struct bnx2x *bp) in bnx2x_vf_headroom()
540 void bnx2x_pf_set_vfs_vlan(struct bnx2x *bp);
542 void bnx2x_iov_channel_down(struct bnx2x *bp);
546 void bnx2x_schedule_iov_task(struct bnx2x *bp, enum bnx2x_iov_flag flag);
548 void bnx2x_iov_link_update(struct bnx2x *bp);
549 int bnx2x_iov_link_update_vf(struct bnx2x *bp, int idx);
553 int bnx2x_vfpf_update_vlan(struct bnx2x *bp, u16 vid, u8 vf_qid, bool add);
561 static inline void bnx2x_iov_set_queue_sp_obj(struct bnx2x *bp, int vf_cid, in bnx2x_iov_set_queue_sp_obj()
563 static inline void bnx2x_vf_handle_flr_event(struct bnx2x *bp) {} in bnx2x_vf_handle_flr_event()
564 static inline int bnx2x_iov_eq_sp_event(struct bnx2x *bp, in bnx2x_iov_eq_sp_event()
566 static inline void bnx2x_vf_mbx(struct bnx2x *bp) {} in bnx2x_vf_mbx()
567 static inline void bnx2x_vf_mbx_schedule(struct bnx2x *bp, in bnx2x_vf_mbx_schedule()
569 static inline int bnx2x_iov_init_ilt(struct bnx2x *bp, u16 line) {return line; } in bnx2x_iov_init_ilt()
570 static inline void bnx2x_iov_init_dq(struct bnx2x *bp) {} in bnx2x_iov_init_dq()
571 static inline int bnx2x_iov_alloc_mem(struct bnx2x *bp) {return 0; } in bnx2x_iov_alloc_mem()
572 static inline void bnx2x_iov_free_mem(struct bnx2x *bp) {} in bnx2x_iov_free_mem()
573 static inline int bnx2x_iov_chip_cleanup(struct bnx2x *bp) {return 0; } in bnx2x_iov_chip_cleanup()
574 static inline void bnx2x_iov_init_dmae(struct bnx2x *bp) {} in bnx2x_iov_init_dmae()
575 static inline int bnx2x_iov_init_one(struct bnx2x *bp, int int_mode_param, in bnx2x_iov_init_one()
577 static inline void bnx2x_iov_remove_one(struct bnx2x *bp) {} in bnx2x_iov_remove_one()
578 static inline int bnx2x_enable_sriov(struct bnx2x *bp) {return 0; } in bnx2x_enable_sriov()
579 static inline void bnx2x_disable_sriov(struct bnx2x *bp) {} in bnx2x_disable_sriov()
580 static inline int bnx2x_vfpf_acquire(struct bnx2x *bp, in bnx2x_vfpf_acquire()
582 static inline int bnx2x_vfpf_release(struct bnx2x *bp) {return 0; } in bnx2x_vfpf_release()
583 static inline int bnx2x_vfpf_init(struct bnx2x *bp) {return 0; } in bnx2x_vfpf_init()
584 static inline void bnx2x_vfpf_close_vf(struct bnx2x *bp) {} in bnx2x_vfpf_close_vf()
585 static inline int bnx2x_vfpf_setup_q(struct bnx2x *bp, struct bnx2x_fastpath *fp, bool is_leading) … in bnx2x_vfpf_setup_q()
586 static inline int bnx2x_vfpf_config_mac(struct bnx2x *bp, u8 *addr, in bnx2x_vfpf_config_mac()
588 static inline int bnx2x_vfpf_config_rss(struct bnx2x *bp, in bnx2x_vfpf_config_rss()
591 static inline int bnx2x_vfpf_storm_rx_mode(struct bnx2x *bp) {return 0; } in bnx2x_vfpf_storm_rx_mode()
592 static inline int bnx2x_iov_nic_init(struct bnx2x *bp) {return 0; } in bnx2x_iov_nic_init()
593 static inline int bnx2x_vf_headroom(struct bnx2x *bp) {return 0; } in bnx2x_vf_headroom()
594 static inline void bnx2x_iov_adjust_stats_req(struct bnx2x *bp) {} in bnx2x_iov_adjust_stats_req()
595 static inline void bnx2x_vf_fill_fw_str(struct bnx2x *bp, char *buf, in bnx2x_vf_fill_fw_str()
597 static inline int bnx2x_vf_ustorm_prods_offset(struct bnx2x *bp, in bnx2x_vf_ustorm_prods_offset()
599 static inline enum sample_bulletin_result bnx2x_sample_bulletin(struct bnx2x *bp) in bnx2x_sample_bulletin()
603 static inline void bnx2x_timer_sriov(struct bnx2x *bp) {} in bnx2x_timer_sriov()
605 static inline void __iomem *bnx2x_vf_doorbells(struct bnx2x *bp) in bnx2x_vf_doorbells()
610 static inline void bnx2x_vf_pci_dealloc(struct bnx2x *bp) {} in bnx2x_vf_pci_dealloc()
611 static inline int bnx2x_vf_pci_alloc(struct bnx2x *bp) {return 0; } in bnx2x_vf_pci_alloc()
612 static inline void bnx2x_pf_set_vfs_vlan(struct bnx2x *bp) {} in bnx2x_pf_set_vfs_vlan()
614 static inline void bnx2x_iov_channel_down(struct bnx2x *bp) {} in bnx2x_iov_channel_down()
617 static inline void bnx2x_schedule_iov_task(struct bnx2x *bp, enum bnx2x_iov_flag flag) {} in bnx2x_schedule_iov_task()
618 static inline void bnx2x_iov_link_update(struct bnx2x *bp) {} in bnx2x_iov_link_update()
619 static inline int bnx2x_iov_link_update_vf(struct bnx2x *bp, int idx) {return 0; } in bnx2x_iov_link_update_vf()
627 static inline int bnx2x_vfpf_update_vlan(struct bnx2x *bp, u16 vid, u8 vf_qid, bool add) {return 0;… in bnx2x_vfpf_update_vlan()