Home
last modified time | relevance | path

Searched refs:bnge_net (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/net/ethernet/broadcom/bnge/
H A Dbnge_netdev.c37 static void bnge_free_stats_mem(struct bnge_net *bn, in bnge_free_stats_mem()
49 static int bnge_alloc_stats_mem(struct bnge_net *bn, in bnge_alloc_stats_mem()
62 static void bnge_free_ring_stats(struct bnge_net *bn) in bnge_free_ring_stats()
78 static int bnge_alloc_ring_stats(struct bnge_net *bn) in bnge_alloc_ring_stats()
162 static void bnge_free_nq_arrays(struct bnge_net *bn) in bnge_free_nq_arrays()
174 static int bnge_alloc_nq_arrays(struct bnge_net *bn) in bnge_alloc_nq_arrays()
193 static void bnge_free_nq_tree(struct bnge_net *bn) in bnge_free_nq_tree()
225 static int alloc_one_cp_ring(struct bnge_net *bn, in alloc_one_cp_ring()
253 static int bnge_alloc_nq_tree(struct bnge_net *bn) in bnge_alloc_nq_tree()
332 static void bnge_free_one_rx_ring_bufs(struct bnge_net *bn, in bnge_free_one_rx_ring_bufs()
[all …]
H A Dbnge_hwrm_lib.h34 int bnge_hwrm_vnic_set_hds(struct bnge_net *bn, struct bnge_vnic_info *vnic);
37 int bnge_hwrm_vnic_set_rss(struct bnge_net *bn,
39 int bnge_hwrm_vnic_cfg(struct bnge_net *bn, struct bnge_vnic_info *vnic);
40 void bnge_hwrm_update_rss_hash_cfg(struct bnge_net *bn);
50 void bnge_hwrm_stat_ctx_free(struct bnge_net *bn);
51 int bnge_hwrm_stat_ctx_alloc(struct bnge_net *bn);
52 int hwrm_ring_free_send_msg(struct bnge_net *bn, struct bnge_ring_struct *ring,
54 int hwrm_ring_alloc_send_msg(struct bnge_net *bn,
H A Dbnge_txrx.c36 struct bnge_net *bn; in bnge_msix()
48 static struct rx_agg_cmp *bnge_get_tpa_agg(struct bnge_net *bn, in bnge_get_tpa_agg()
57 static struct rx_agg_cmp *bnge_get_agg(struct bnge_net *bn, in bnge_get_agg()
73 struct bnge_net *bn = bnapi->bn; in bnge_reuse_rx_agg_bufs()
126 static int bnge_agg_bufs_valid(struct bnge_net *bn, in bnge_agg_bufs_valid()
140 static int bnge_discard_rx(struct bnge_net *bn, struct bnge_cp_ring_info *cpr, in bnge_discard_rx()
165 static u32 __bnge_rx_agg_netmems(struct bnge_net *bn, in __bnge_rx_agg_netmems()
233 static struct sk_buff *bnge_rx_agg_netmems_skb(struct bnge_net *bn, in bnge_rx_agg_netmems_skb()
251 static void bnge_sched_reset_rxr(struct bnge_net *bn, in bnge_sched_reset_rxr()
262 static void bnge_sched_reset_txr(struct bnge_net *bn, in bnge_sched_reset_txr()
[all …]
H A Dbnge_netdev.h227 struct bnge_net { struct
470 struct bnge_net *bn;
561 void bnge_fill_hw_rss_tbl(struct bnge_net *bn, struct bnge_vnic_info *vnic);
562 int bnge_alloc_rx_data(struct bnge_net *bn, struct bnge_rx_ring_info *rxr,
565 u8 *__bnge_alloc_rx_frag(struct bnge_net *bn, dma_addr_t *mapping,
567 int bnge_alloc_rx_netmem(struct bnge_net *bn, struct bnge_rx_ring_info *rxr,
H A Dbnge_rmem.h9 struct bnge_net;
200 void bnge_init_ring_struct(struct bnge_net *bn);
H A Dbnge_hwrm_lib.c707 int bnge_hwrm_vnic_set_hds(struct bnge_net *bn, struct bnge_vnic_info *vnic) in bnge_hwrm_vnic_set_hds()
755 __bnge_hwrm_vnic_set_rss(struct bnge_net *bn, in __bnge_hwrm_vnic_set_rss()
770 int bnge_hwrm_vnic_set_rss(struct bnge_net *bn, in bnge_hwrm_vnic_set_rss()
806 int bnge_hwrm_vnic_cfg(struct bnge_net *bn, struct bnge_vnic_info *vnic) in bnge_hwrm_vnic_cfg()
837 void bnge_hwrm_update_rss_hash_cfg(struct bnge_net *bn) in bnge_hwrm_update_rss_hash_cfg()
984 void bnge_hwrm_stat_ctx_free(struct bnge_net *bn) in bnge_hwrm_stat_ctx_free()
1008 int bnge_hwrm_stat_ctx_alloc(struct bnge_net *bn) in bnge_hwrm_stat_ctx_alloc()
1040 int hwrm_ring_free_send_msg(struct bnge_net *bn, in hwrm_ring_free_send_msg()
1067 int hwrm_ring_alloc_send_msg(struct bnge_net *bn, in hwrm_ring_alloc_send_msg()
1195 struct bnge_net *bn = netdev_priv(bd->netdev); in bnge_hwrm_vnic_update_tunl_tpa()
[all …]
H A Dbnge_txrx.h10 static inline u32 bnge_tx_avail(struct bnge_net *bn, in bnge_tx_avail()
31 static inline void bnge_db_write_relaxed(struct bnge_net *bn, in bnge_db_write_relaxed()
H A Dbnge_ethtool.c18 struct bnge_net *bn = netdev_priv(dev); in bnge_get_drvinfo()
H A Dbnge.h220 struct bnge_net *bn = netdev_priv(bd->netdev); in bnge_is_agg_reqd()
H A Dbnge_rmem.c442 void bnge_init_ring_struct(struct bnge_net *bn) in bnge_init_ring_struct()