Lines Matching refs:bnx2x

36 static void bnx2x_free_fp_mem_cnic(struct bnx2x *bp);
37 static int bnx2x_alloc_fp_mem_cnic(struct bnx2x *bp);
38 static int bnx2x_alloc_fp_mem(struct bnx2x *bp);
41 static void bnx2x_add_all_napi_cnic(struct bnx2x *bp) in bnx2x_add_all_napi_cnic()
52 static void bnx2x_add_all_napi(struct bnx2x *bp) in bnx2x_add_all_napi()
63 static int bnx2x_calc_num_queues(struct bnx2x *bp) in bnx2x_calc_num_queues()
88 static inline void bnx2x_move_fp(struct bnx2x *bp, int from, int to) in bnx2x_move_fp()
145 void bnx2x_fill_fw_str(struct bnx2x *bp, char *buf, size_t buf_len) in bnx2x_fill_fw_str()
171 static void bnx2x_shrink_eth_fp(struct bnx2x *bp, int delta) in bnx2x_shrink_eth_fp()
195 static u16 bnx2x_free_tx_pkt(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata, in bnx2x_free_tx_pkt()
274 int bnx2x_tx_int(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata) in bnx2x_tx_int()
356 struct bnx2x *bp = fp->bp; in bnx2x_update_sge_prod()
408 static u32 bnx2x_get_rxhash(const struct bnx2x *bp, in bnx2x_get_rxhash()
432 struct bnx2x *bp = fp->bp; in bnx2x_tpa_start()
544 static int bnx2x_alloc_rx_sge(struct bnx2x *bp, struct bnx2x_fastpath *fp, in bnx2x_alloc_rx_sge()
583 static int bnx2x_fill_frag_skb(struct bnx2x *bp, struct bnx2x_fastpath *fp, in bnx2x_fill_frag_skb()
695 static void bnx2x_gro_ip_csum(struct bnx2x *bp, struct sk_buff *skb) in bnx2x_gro_ip_csum()
707 static void bnx2x_gro_ipv6_csum(struct bnx2x *bp, struct sk_buff *skb) in bnx2x_gro_ipv6_csum()
719 static void bnx2x_gro_csum(struct bnx2x *bp, struct sk_buff *skb, in bnx2x_gro_csum()
720 void (*gro_func)(struct bnx2x*, struct sk_buff*)) in bnx2x_gro_csum() argument
728 static void bnx2x_gro_receive(struct bnx2x *bp, struct bnx2x_fastpath *fp, in bnx2x_gro_receive()
751 static void bnx2x_tpa_stop(struct bnx2x *bp, struct bnx2x_fastpath *fp, in bnx2x_tpa_stop()
824 static int bnx2x_alloc_rx_data(struct bnx2x *bp, struct bnx2x_fastpath *fp, in bnx2x_alloc_rx_data()
880 struct bnx2x *bp = fp->bp; in bnx2x_rx_int()
1127 struct bnx2x *bp = fp->bp; in bnx2x_msix_fp_int()
1152 void bnx2x_acquire_phy_lock(struct bnx2x *bp) in bnx2x_acquire_phy_lock()
1159 void bnx2x_release_phy_lock(struct bnx2x *bp) in bnx2x_release_phy_lock()
1167 u16 bnx2x_get_mf_speed(struct bnx2x *bp) in bnx2x_get_mf_speed()
1198 static void bnx2x_fill_report_data(struct bnx2x *bp, in bnx2x_fill_report_data()
1245 void bnx2x_link_report(struct bnx2x *bp) in bnx2x_link_report()
1260 void __bnx2x_link_report(struct bnx2x *bp) in __bnx2x_link_report()
1353 static void bnx2x_free_tpa_pool(struct bnx2x *bp, in bnx2x_free_tpa_pool()
1376 void bnx2x_init_rx_rings_cnic(struct bnx2x *bp) in bnx2x_init_rx_rings_cnic()
1395 void bnx2x_init_rx_rings(struct bnx2x *bp) in bnx2x_init_rx_rings()
1491 struct bnx2x *bp = fp->bp; in bnx2x_free_tx_skbs_queue()
1512 static void bnx2x_free_tx_skbs_cnic(struct bnx2x *bp) in bnx2x_free_tx_skbs_cnic()
1521 static void bnx2x_free_tx_skbs(struct bnx2x *bp) in bnx2x_free_tx_skbs()
1532 struct bnx2x *bp = fp->bp; in bnx2x_free_rx_bds()
1554 static void bnx2x_free_rx_skbs_cnic(struct bnx2x *bp) in bnx2x_free_rx_skbs_cnic()
1563 static void bnx2x_free_rx_skbs(struct bnx2x *bp) in bnx2x_free_rx_skbs()
1577 static void bnx2x_free_skbs_cnic(struct bnx2x *bp) in bnx2x_free_skbs_cnic()
1583 void bnx2x_free_skbs(struct bnx2x *bp) in bnx2x_free_skbs()
1589 void bnx2x_update_max_mf_config(struct bnx2x *bp, u32 value) in bnx2x_update_max_mf_config()
1612 static void bnx2x_free_msix_irqs(struct bnx2x *bp, int nvecs) in bnx2x_free_msix_irqs()
1643 void bnx2x_free_irq(struct bnx2x *bp) in bnx2x_free_irq()
1659 int bnx2x_enable_msix(struct bnx2x *bp) in bnx2x_enable_msix()
1742 static int bnx2x_req_msix_irqs(struct bnx2x *bp) in bnx2x_req_msix_irqs()
1795 int bnx2x_enable_msi(struct bnx2x *bp) in bnx2x_enable_msi()
1809 static int bnx2x_req_irq(struct bnx2x *bp) in bnx2x_req_irq()
1827 static int bnx2x_setup_irqs(struct bnx2x *bp) in bnx2x_setup_irqs()
1856 static void bnx2x_napi_enable_cnic(struct bnx2x *bp) in bnx2x_napi_enable_cnic()
1865 static void bnx2x_napi_enable(struct bnx2x *bp) in bnx2x_napi_enable()
1874 static void bnx2x_napi_disable_cnic(struct bnx2x *bp) in bnx2x_napi_disable_cnic()
1883 static void bnx2x_napi_disable(struct bnx2x *bp) in bnx2x_napi_disable()
1892 void bnx2x_netif_start(struct bnx2x *bp) in bnx2x_netif_start()
1904 void bnx2x_netif_stop(struct bnx2x *bp, int disable_hw) in bnx2x_netif_stop()
1916 struct bnx2x *bp = netdev_priv(dev); in bnx2x_select_queue()
1940 void bnx2x_set_num_queues(struct bnx2x *bp) in bnx2x_set_num_queues()
1978 static int bnx2x_set_real_num_queues(struct bnx2x *bp, int include_cnic) in bnx2x_set_real_num_queues()
2008 static void bnx2x_set_rx_buf_size(struct bnx2x *bp) in bnx2x_set_rx_buf_size()
2041 static int bnx2x_init_rss(struct bnx2x *bp) in bnx2x_init_rss()
2065 int bnx2x_rss(struct bnx2x *bp, struct bnx2x_rss_config_obj *rss_obj, in bnx2x_rss()
2123 static int bnx2x_init_hw(struct bnx2x *bp, u32 load_code) in bnx2x_init_hw()
2142 void bnx2x_squeeze_objects(struct bnx2x *bp) in bnx2x_squeeze_objects()
2227 static void bnx2x_free_fw_stats_mem(struct bnx2x *bp) in bnx2x_free_fw_stats_mem()
2234 static int bnx2x_alloc_fw_stats_mem(struct bnx2x *bp) in bnx2x_alloc_fw_stats_mem()
2314 static int bnx2x_nic_load_request(struct bnx2x *bp, u32 *load_code) in bnx2x_nic_load_request()
2358 int bnx2x_compare_fw_ver(struct bnx2x *bp, u32 load_code, bool print_err) in bnx2x_compare_fw_ver()
2390 static int bnx2x_nic_load_no_mcp(struct bnx2x *bp, int port) in bnx2x_nic_load_no_mcp()
2411 static void bnx2x_nic_load_pmf(struct bnx2x *bp, u32 load_code) in bnx2x_nic_load_pmf()
2429 static void bnx2x_nic_load_afex_dcc(struct bnx2x *bp, int load_code) in bnx2x_nic_load_afex_dcc()
2456 static void bnx2x_bz_fp(struct bnx2x *bp, int index) in bnx2x_bz_fp()
2505 void bnx2x_set_os_driver_state(struct bnx2x *bp, u32 state) in bnx2x_set_os_driver_state()
2519 int bnx2x_load_cnic(struct bnx2x *bp) in bnx2x_load_cnic()
2607 int bnx2x_nic_load(struct bnx2x *bp, int load_mode) in bnx2x_nic_load()
2956 int bnx2x_drain_tx_queues(struct bnx2x *bp) in bnx2x_drain_tx_queues()
2973 int bnx2x_nic_unload(struct bnx2x *bp, int unload_mode, bool keep_link) in bnx2x_nic_unload()
3154 int bnx2x_set_power_state(struct bnx2x *bp, pci_power_t state) in bnx2x_set_power_state()
3214 struct bnx2x *bp = fp->bp; in bnx2x_poll()
3276 static u16 bnx2x_tx_split(struct bnx2x *bp, in bnx2x_tx_split()
3335 static u32 bnx2x_xmit_type(struct bnx2x *bp, struct sk_buff *skb) in bnx2x_xmit_type()
3392 static int bnx2x_pkt_req_lin(struct bnx2x *bp, struct sk_buff *skb, in bnx2x_pkt_req_lin()
3513 static u8 bnx2x_set_pbd_csum_enc(struct bnx2x *bp, struct sk_buff *skb, in bnx2x_set_pbd_csum_enc()
3547 static u8 bnx2x_set_pbd_csum_e2(struct bnx2x *bp, struct sk_buff *skb, in bnx2x_set_pbd_csum_e2()
3569 static void bnx2x_set_sbd_csum(struct bnx2x *bp, struct sk_buff *skb, in bnx2x_set_sbd_csum()
3590 static u8 bnx2x_set_pbd_csum(struct bnx2x *bp, struct sk_buff *skb, in bnx2x_set_pbd_csum()
3733 struct bnx2x *bp = netdev_priv(dev); in bnx2x_start_xmit()
4190 void bnx2x_get_c2s_mapping(struct bnx2x *bp, u8 *c2s_map, u8 *c2s_default) in bnx2x_get_c2s_mapping()
4235 struct bnx2x *bp = netdev_priv(dev); in bnx2x_setup_tc()
4313 struct bnx2x *bp = netdev_priv(dev); in bnx2x_change_mac_addr()
4343 static void bnx2x_free_fp_mem_at(struct bnx2x *bp, int fp_index) in bnx2x_free_fp_mem_at()
4409 static void bnx2x_free_fp_mem_cnic(struct bnx2x *bp) in bnx2x_free_fp_mem_cnic()
4416 void bnx2x_free_fp_mem(struct bnx2x *bp) in bnx2x_free_fp_mem()
4423 static void set_sb_shortcuts(struct bnx2x *bp, int index) in set_sb_shortcuts()
4443 struct bnx2x *bp = fp->bp; in bnx2x_alloc_rx_bds()
4495 static int bnx2x_alloc_fp_mem_at(struct bnx2x *bp, int index) in bnx2x_alloc_fp_mem_at()
4638 static int bnx2x_alloc_fp_mem_cnic(struct bnx2x *bp) in bnx2x_alloc_fp_mem_cnic()
4651 static int bnx2x_alloc_fp_mem(struct bnx2x *bp) in bnx2x_alloc_fp_mem()
4692 void bnx2x_free_mem_bp(struct bnx2x *bp) in bnx2x_free_mem_bp()
4706 int bnx2x_alloc_mem_bp(struct bnx2x *bp) in bnx2x_alloc_mem_bp()
4784 struct bnx2x *bp = netdev_priv(dev); in bnx2x_reload_if_running()
4793 int bnx2x_get_cur_phy_idx(struct bnx2x *bp) in bnx2x_get_cur_phy_idx()
4822 int bnx2x_get_link_cfg_idx(struct bnx2x *bp) in bnx2x_get_link_cfg_idx()
4844 struct bnx2x *bp = netdev_priv(dev); in bnx2x_fcoe_get_wwn()
4868 struct bnx2x *bp = netdev_priv(dev); in bnx2x_change_mtu()
4898 struct bnx2x *bp = netdev_priv(dev); in bnx2x_fix_features()
4931 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_features()
4971 struct bnx2x *bp = netdev_priv(dev); in bnx2x_tx_timeout()
4990 struct bnx2x *bp; in bnx2x_suspend()
5021 struct bnx2x *bp; in bnx2x_resume()
5054 void bnx2x_set_ctx_validation(struct bnx2x *bp, struct eth_context *cxt, in bnx2x_set_ctx_validation()
5072 static void storm_memset_hc_timeout(struct bnx2x *bp, u8 port, in storm_memset_hc_timeout()
5084 static void storm_memset_hc_disable(struct bnx2x *bp, u8 port, in storm_memset_hc_disable()
5101 void bnx2x_update_coalesce_sb_index(struct bnx2x *bp, u8 fw_sb_id, in bnx2x_update_coalesce_sb_index()
5113 void bnx2x_schedule_sp_rtnl(struct bnx2x *bp, enum sp_rtnl_flag flag, in bnx2x_schedule_sp_rtnl()