Lines Matching defs:bp
41 static void bnx2x_add_all_napi_cnic(struct bnx2x *bp) in bnx2x_add_all_napi_cnic()
51 static void bnx2x_add_all_napi(struct bnx2x *bp) in bnx2x_add_all_napi()
61 static int bnx2x_calc_num_queues(struct bnx2x *bp) in bnx2x_calc_num_queues()
86 static inline void bnx2x_move_fp(struct bnx2x *bp, int from, int to) in bnx2x_move_fp()
143 void bnx2x_fill_fw_str(struct bnx2x *bp, char *buf, size_t buf_len) in bnx2x_fill_fw_str()
170 static void bnx2x_shrink_eth_fp(struct bnx2x *bp, int delta) in bnx2x_shrink_eth_fp()
194 static u16 bnx2x_free_tx_pkt(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata, in bnx2x_free_tx_pkt()
273 int bnx2x_tx_int(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata) in bnx2x_tx_int()
358 struct bnx2x *bp = fp->bp; in bnx2x_update_sge_prod() local
410 static u32 bnx2x_get_rxhash(const struct bnx2x *bp, in bnx2x_get_rxhash()
434 struct bnx2x *bp = fp->bp; in bnx2x_tpa_start() local
547 static int bnx2x_alloc_rx_sge(struct bnx2x *bp, struct bnx2x_fastpath *fp, in bnx2x_alloc_rx_sge()
586 static int bnx2x_fill_frag_skb(struct bnx2x *bp, struct bnx2x_fastpath *fp, in bnx2x_fill_frag_skb()
710 static void bnx2x_gro_ip_csum(struct bnx2x *bp, struct sk_buff *skb) in bnx2x_gro_ip_csum()
722 static void bnx2x_gro_ipv6_csum(struct bnx2x *bp, struct sk_buff *skb) in bnx2x_gro_ipv6_csum()
734 static void bnx2x_gro_csum(struct bnx2x *bp, struct sk_buff *skb, in bnx2x_gro_csum()
743 static void bnx2x_gro_receive(struct bnx2x *bp, struct bnx2x_fastpath *fp, in bnx2x_gro_receive()
766 static void bnx2x_tpa_stop(struct bnx2x *bp, struct bnx2x_fastpath *fp, in bnx2x_tpa_stop()
840 static int bnx2x_alloc_rx_data(struct bnx2x *bp, struct bnx2x_fastpath *fp, in bnx2x_alloc_rx_data()
896 struct bnx2x *bp = fp->bp; in bnx2x_rx_int() local
1143 struct bnx2x *bp = fp->bp; in bnx2x_msix_fp_int() local
1168 void bnx2x_acquire_phy_lock(struct bnx2x *bp) in bnx2x_acquire_phy_lock()
1175 void bnx2x_release_phy_lock(struct bnx2x *bp) in bnx2x_release_phy_lock()
1183 u16 bnx2x_get_mf_speed(struct bnx2x *bp) in bnx2x_get_mf_speed()
1214 static void bnx2x_fill_report_data(struct bnx2x *bp, in bnx2x_fill_report_data()
1261 void bnx2x_link_report(struct bnx2x *bp) in bnx2x_link_report()
1276 void __bnx2x_link_report(struct bnx2x *bp) in __bnx2x_link_report()
1369 static void bnx2x_free_tpa_pool(struct bnx2x *bp, in bnx2x_free_tpa_pool()
1392 void bnx2x_init_rx_rings_cnic(struct bnx2x *bp) in bnx2x_init_rx_rings_cnic()
1411 void bnx2x_init_rx_rings(struct bnx2x *bp) in bnx2x_init_rx_rings()
1507 struct bnx2x *bp = fp->bp; in bnx2x_free_tx_skbs_queue() local
1528 static void bnx2x_free_tx_skbs_cnic(struct bnx2x *bp) in bnx2x_free_tx_skbs_cnic()
1537 static void bnx2x_free_tx_skbs(struct bnx2x *bp) in bnx2x_free_tx_skbs()
1548 struct bnx2x *bp = fp->bp; in bnx2x_free_rx_bds() local
1570 static void bnx2x_free_rx_skbs_cnic(struct bnx2x *bp) in bnx2x_free_rx_skbs_cnic()
1579 static void bnx2x_free_rx_skbs(struct bnx2x *bp) in bnx2x_free_rx_skbs()
1593 static void bnx2x_free_skbs_cnic(struct bnx2x *bp) in bnx2x_free_skbs_cnic()
1599 void bnx2x_free_skbs(struct bnx2x *bp) in bnx2x_free_skbs()
1605 void bnx2x_update_max_mf_config(struct bnx2x *bp, u32 value) in bnx2x_update_max_mf_config()
1628 static void bnx2x_free_msix_irqs(struct bnx2x *bp, int nvecs) in bnx2x_free_msix_irqs()
1659 void bnx2x_free_irq(struct bnx2x *bp) in bnx2x_free_irq()
1675 int bnx2x_enable_msix(struct bnx2x *bp) in bnx2x_enable_msix()
1758 static int bnx2x_req_msix_irqs(struct bnx2x *bp) in bnx2x_req_msix_irqs()
1811 int bnx2x_enable_msi(struct bnx2x *bp) in bnx2x_enable_msi()
1825 static int bnx2x_req_irq(struct bnx2x *bp) in bnx2x_req_irq()
1843 static int bnx2x_setup_irqs(struct bnx2x *bp) in bnx2x_setup_irqs()
1872 static void bnx2x_napi_enable_cnic(struct bnx2x *bp) in bnx2x_napi_enable_cnic()
1881 static void bnx2x_napi_enable(struct bnx2x *bp) in bnx2x_napi_enable()
1890 static void bnx2x_napi_disable_cnic(struct bnx2x *bp) in bnx2x_napi_disable_cnic()
1899 static void bnx2x_napi_disable(struct bnx2x *bp) in bnx2x_napi_disable()
1908 void bnx2x_netif_start(struct bnx2x *bp) in bnx2x_netif_start()
1920 void bnx2x_netif_stop(struct bnx2x *bp, int disable_hw) in bnx2x_netif_stop()
1931 struct bnx2x *bp = netdev_priv(dev); in bnx2x_select_queue() local
1954 void bnx2x_set_num_queues(struct bnx2x *bp) in bnx2x_set_num_queues()
1993 static int bnx2x_set_real_num_queues(struct bnx2x *bp, int include_cnic) in bnx2x_set_real_num_queues()
2023 static void bnx2x_set_rx_buf_size(struct bnx2x *bp) in bnx2x_set_rx_buf_size()
2056 static int bnx2x_init_rss(struct bnx2x *bp) in bnx2x_init_rss()
2080 int bnx2x_rss(struct bnx2x *bp, struct bnx2x_rss_config_obj *rss_obj, in bnx2x_rss()
2138 static int bnx2x_init_hw(struct bnx2x *bp, u32 load_code) in bnx2x_init_hw()
2157 void bnx2x_squeeze_objects(struct bnx2x *bp) in bnx2x_squeeze_objects()
2216 #define LOAD_ERROR_EXIT(bp, label) \ argument
2222 #define LOAD_ERROR_EXIT_CNIC(bp, label) \ argument
2228 #define LOAD_ERROR_EXIT(bp, label) \ argument
2234 #define LOAD_ERROR_EXIT_CNIC(bp, label) \ argument
2242 static void bnx2x_free_fw_stats_mem(struct bnx2x *bp) in bnx2x_free_fw_stats_mem()
2249 static int bnx2x_alloc_fw_stats_mem(struct bnx2x *bp) in bnx2x_alloc_fw_stats_mem()
2329 static int bnx2x_nic_load_request(struct bnx2x *bp, u32 *load_code) in bnx2x_nic_load_request()
2373 int bnx2x_compare_fw_ver(struct bnx2x *bp, u32 load_code, bool print_err) in bnx2x_compare_fw_ver()
2409 static int bnx2x_nic_load_no_mcp(struct bnx2x *bp, int port) in bnx2x_nic_load_no_mcp()
2430 static void bnx2x_nic_load_pmf(struct bnx2x *bp, u32 load_code) in bnx2x_nic_load_pmf()
2448 static void bnx2x_nic_load_afex_dcc(struct bnx2x *bp, int load_code) in bnx2x_nic_load_afex_dcc()
2475 static void bnx2x_bz_fp(struct bnx2x *bp, int index) in bnx2x_bz_fp()
2524 void bnx2x_set_os_driver_state(struct bnx2x *bp, u32 state) in bnx2x_set_os_driver_state()
2538 int bnx2x_load_cnic(struct bnx2x *bp) in bnx2x_load_cnic()
2626 int bnx2x_nic_load(struct bnx2x *bp, int load_mode) in bnx2x_nic_load()
2979 int bnx2x_drain_tx_queues(struct bnx2x *bp) in bnx2x_drain_tx_queues()
2996 int bnx2x_nic_unload(struct bnx2x *bp, int unload_mode, bool keep_link) in bnx2x_nic_unload()
3181 int bnx2x_set_power_state(struct bnx2x *bp, pci_power_t state) in bnx2x_set_power_state()
3241 struct bnx2x *bp = fp->bp; in bnx2x_poll() local
3303 static u16 bnx2x_tx_split(struct bnx2x *bp, in bnx2x_tx_split()
3362 static u32 bnx2x_xmit_type(struct bnx2x *bp, struct sk_buff *skb) in bnx2x_xmit_type()
3419 static int bnx2x_pkt_req_lin(struct bnx2x *bp, struct sk_buff *skb, in bnx2x_pkt_req_lin()
3537 static u8 bnx2x_set_pbd_csum_enc(struct bnx2x *bp, struct sk_buff *skb, in bnx2x_set_pbd_csum_enc()
3569 static u8 bnx2x_set_pbd_csum_e2(struct bnx2x *bp, struct sk_buff *skb, in bnx2x_set_pbd_csum_e2()
3591 static void bnx2x_set_sbd_csum(struct bnx2x *bp, struct sk_buff *skb, in bnx2x_set_sbd_csum()
3612 static u8 bnx2x_set_pbd_csum(struct bnx2x *bp, struct sk_buff *skb, in bnx2x_set_pbd_csum()
3753 struct bnx2x *bp = netdev_priv(dev); in bnx2x_start_xmit() local
4211 void bnx2x_get_c2s_mapping(struct bnx2x *bp, u8 *c2s_map, u8 *c2s_default) in bnx2x_get_c2s_mapping()
4256 struct bnx2x *bp = netdev_priv(dev); in bnx2x_setup_tc() local
4334 struct bnx2x *bp = netdev_priv(dev); in bnx2x_change_mac_addr() local
4364 static void bnx2x_free_fp_mem_at(struct bnx2x *bp, int fp_index) in bnx2x_free_fp_mem_at()
4430 static void bnx2x_free_fp_mem_cnic(struct bnx2x *bp) in bnx2x_free_fp_mem_cnic()
4437 void bnx2x_free_fp_mem(struct bnx2x *bp) in bnx2x_free_fp_mem()
4444 static void set_sb_shortcuts(struct bnx2x *bp, int index) in set_sb_shortcuts()
4464 struct bnx2x *bp = fp->bp; in bnx2x_alloc_rx_bds() local
4516 static int bnx2x_alloc_fp_mem_at(struct bnx2x *bp, int index) in bnx2x_alloc_fp_mem_at()
4659 static int bnx2x_alloc_fp_mem_cnic(struct bnx2x *bp) in bnx2x_alloc_fp_mem_cnic()
4672 static int bnx2x_alloc_fp_mem(struct bnx2x *bp) in bnx2x_alloc_fp_mem()
4713 void bnx2x_free_mem_bp(struct bnx2x *bp) in bnx2x_free_mem_bp()
4727 int bnx2x_alloc_mem_bp(struct bnx2x *bp) in bnx2x_alloc_mem_bp()
4805 struct bnx2x *bp = netdev_priv(dev); in bnx2x_reload_if_running() local
4814 int bnx2x_get_cur_phy_idx(struct bnx2x *bp) in bnx2x_get_cur_phy_idx()
4843 int bnx2x_get_link_cfg_idx(struct bnx2x *bp) in bnx2x_get_link_cfg_idx()
4865 struct bnx2x *bp = netdev_priv(dev); in bnx2x_fcoe_get_wwn() local
4889 struct bnx2x *bp = netdev_priv(dev); in bnx2x_change_mtu() local
4919 struct bnx2x *bp = netdev_priv(dev); in bnx2x_fix_features() local
4952 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_features() local
4992 struct bnx2x *bp = netdev_priv(dev); in bnx2x_tx_timeout() local
5012 struct bnx2x *bp; in bnx2x_suspend() local
5040 struct bnx2x *bp; in bnx2x_resume() local
5072 void bnx2x_set_ctx_validation(struct bnx2x *bp, struct eth_context *cxt, in bnx2x_set_ctx_validation()
5090 static void storm_memset_hc_timeout(struct bnx2x *bp, u8 port, in storm_memset_hc_timeout()
5102 static void storm_memset_hc_disable(struct bnx2x *bp, u8 port, in storm_memset_hc_disable()
5119 void bnx2x_update_coalesce_sb_index(struct bnx2x *bp, u8 fw_sb_id, in bnx2x_update_coalesce_sb_index()
5131 void bnx2x_schedule_sp_rtnl(struct bnx2x *bp, enum sp_rtnl_flag flag, in bnx2x_schedule_sp_rtnl()