/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_vfr.h | 17 void bnxt_vf_reps_destroy(struct bnxt *bp); 18 void bnxt_vf_reps_close(struct bnxt *bp); 19 void bnxt_vf_reps_open(struct bnxt *bp); 20 void bnxt_vf_rep_rx(struct bnxt *bp, struct sk_buff *skb); 21 struct net_device *bnxt_get_vf_rep(struct bnxt *bp, u16 cfa_code); 26 struct bnxt *bp = vf_rep->bp; in bnxt_vf_rep_get_fid() 37 static inline void bnxt_vf_reps_close(struct bnxt *bp) in bnxt_vf_reps_close() 41 static inline void bnxt_vf_reps_open(struct bnxt *bp) in bnxt_vf_reps_open() 45 static inline void bnxt_vf_rep_rx(struct bnxt *bp, struct sk_buff *skb) in bnxt_vf_rep_rx() 49 static inline struct net_device *bnxt_get_vf_rep(struct bnxt *bp, u16 cfa_code) in bnxt_get_vf_rep()
|
D | bnxt_ulp.h | 21 struct bnxt; 91 int bnxt_get_ulp_msix_num(struct bnxt *bp); 92 int bnxt_get_ulp_msix_base(struct bnxt *bp); 93 void bnxt_ulp_stop(struct bnxt *bp); 94 void bnxt_ulp_start(struct bnxt *bp); 95 void bnxt_ulp_sriov_cfg(struct bnxt *bp, int num_vfs); 96 void bnxt_ulp_shutdown(struct bnxt *bp); 97 void bnxt_ulp_irq_stop(struct bnxt *bp); 98 void bnxt_ulp_irq_restart(struct bnxt *bp, int err); 99 void bnxt_ulp_async_events(struct bnxt *bp, struct hwrm_async_event_cmpl *cmpl);
|
D | bnxt_tc.h | 193 int bnxt_tc_setup_flower(struct bnxt *bp, u16 src_fid, 195 int bnxt_init_tc(struct bnxt *bp); 196 void bnxt_shutdown_tc(struct bnxt *bp); 197 void bnxt_tc_flow_stats_work(struct bnxt *bp); 199 static inline bool bnxt_tc_flower_enabled(struct bnxt *bp) in bnxt_tc_flower_enabled() 206 static inline int bnxt_tc_setup_flower(struct bnxt *bp, u16 src_fid, in bnxt_tc_setup_flower() 212 static inline int bnxt_init_tc(struct bnxt *bp) in bnxt_init_tc() 217 static inline void bnxt_shutdown_tc(struct bnxt *bp) in bnxt_shutdown_tc() 221 static inline void bnxt_tc_flow_stats_work(struct bnxt *bp) in bnxt_tc_flow_stats_work() 225 static inline bool bnxt_tc_flower_enabled(struct bnxt *bp) in bnxt_tc_flower_enabled()
|
D | bnxt.h | 730 struct bnxt *bp; 737 void (*tx_int)(struct bnxt *, struct bnxt_napi *, 1061 struct bnxt *bp; 1072 struct bnxt { struct 1214 struct sk_buff * (*rx_skb_func)(struct bnxt *, argument 1437 static inline u32 bnxt_tx_avail(struct bnxt *bp, struct bnxt_tx_ring_info *txr) in bnxt_tx_avail() argument 1447 static inline void bnxt_db_write_relaxed(struct bnxt *bp, void __iomem *db, in bnxt_db_write_relaxed() 1456 static inline void bnxt_db_write(struct bnxt *bp, void __iomem *db, u32 val) in bnxt_db_write() 1465 int bnxt_alloc_rx_data(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, 1468 void bnxt_set_tpa_flags(struct bnxt *bp); [all …]
|
D | bnxt_devlink.h | 15 struct bnxt *bp; /* back ptr to the controlling dev */ 18 static inline struct bnxt *bnxt_get_bp_from_dl(struct devlink *dl) in bnxt_get_bp_from_dl() 24 static inline void bnxt_link_bp_to_dl(struct bnxt *bp, struct devlink *dl) in bnxt_link_bp_to_dl() 51 int bnxt_dl_register(struct bnxt *bp); 52 void bnxt_dl_unregister(struct bnxt *bp);
|
D | bnxt_debugfs.h | 16 void bnxt_debug_dev_init(struct bnxt *bp); 17 void bnxt_debug_dev_exit(struct bnxt *bp); 21 static inline void bnxt_debug_dev_init(struct bnxt *bp) {} in bnxt_debug_dev_init() 22 static inline void bnxt_debug_dev_exit(struct bnxt *bp) {} in bnxt_debug_dev_exit()
|
D | bnxt_ulp.c | 31 struct bnxt *bp = netdev_priv(dev); in bnxt_register_dev() 69 struct bnxt *bp = netdev_priv(dev); in bnxt_unregister_dev() 104 static void bnxt_fill_msix_vecs(struct bnxt *bp, struct bnxt_msix_entry *ent) in bnxt_fill_msix_vecs() 122 struct bnxt *bp = netdev_priv(dev); in bnxt_req_msix_vecs() 179 struct bnxt *bp = netdev_priv(dev); in bnxt_free_msix_vecs() 197 int bnxt_get_ulp_msix_num(struct bnxt *bp) in bnxt_get_ulp_msix_num() 207 int bnxt_get_ulp_msix_base(struct bnxt *bp) in bnxt_get_ulp_msix_base() 222 struct bnxt *bp = netdev_priv(dev); in bnxt_send_msg() 254 void bnxt_ulp_stop(struct bnxt *bp) in bnxt_ulp_stop() 273 void bnxt_ulp_start(struct bnxt *bp) in bnxt_ulp_start() [all …]
|
D | bnxt_dcb.c | 24 static int bnxt_queue_to_tc(struct bnxt *bp, u8 queue_id) in bnxt_queue_to_tc() 39 static int bnxt_hwrm_queue_pri2cos_cfg(struct bnxt *bp, struct ieee_ets *ets) in bnxt_hwrm_queue_pri2cos_cfg() 63 static int bnxt_hwrm_queue_pri2cos_qcfg(struct bnxt *bp, struct ieee_ets *ets) in bnxt_hwrm_queue_pri2cos_qcfg() 91 static int bnxt_hwrm_queue_cos2bw_cfg(struct bnxt *bp, struct ieee_ets *ets, in bnxt_hwrm_queue_cos2bw_cfg() 135 static int bnxt_hwrm_queue_cos2bw_qcfg(struct bnxt *bp, struct ieee_ets *ets) in bnxt_hwrm_queue_cos2bw_qcfg() 176 static int bnxt_queue_remap(struct bnxt *bp, unsigned int lltc_mask) in bnxt_queue_remap() 232 static int bnxt_hwrm_queue_pfc_cfg(struct bnxt *bp, struct ieee_pfc *pfc) in bnxt_hwrm_queue_pfc_cfg() 281 static int bnxt_hwrm_queue_pfc_qcfg(struct bnxt *bp, struct ieee_pfc *pfc) in bnxt_hwrm_queue_pfc_qcfg() 303 static int bnxt_hwrm_set_dcbx_app(struct bnxt *bp, struct dcb_app *app, in bnxt_hwrm_set_dcbx_app() 388 static int bnxt_hwrm_queue_dscp_qcaps(struct bnxt *bp) in bnxt_hwrm_queue_dscp_qcaps() [all …]
|
D | bnxt.c | 287 struct bnxt *bp = netdev_priv(dev); in bnxt_start_xmit() 555 static void bnxt_tx_int(struct bnxt *bp, struct bnxt_napi *bnapi, int nr_pkts) in bnxt_tx_int() 621 static struct page *__bnxt_alloc_rx_page(struct bnxt *bp, dma_addr_t *mapping, in __bnxt_alloc_rx_page() 641 static inline u8 *__bnxt_alloc_rx_data(struct bnxt *bp, dma_addr_t *mapping, in __bnxt_alloc_rx_data() 662 int bnxt_alloc_rx_data(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, in bnxt_alloc_rx_data() 722 static inline int bnxt_alloc_rx_page(struct bnxt *bp, in bnxt_alloc_rx_page() 782 struct bnxt *bp = bnapi->bp; in bnxt_reuse_rx_agg_bufs() 831 static struct sk_buff *bnxt_rx_page_skb(struct bnxt *bp, in bnxt_rx_page_skb() 877 static struct sk_buff *bnxt_rx_skb(struct bnxt *bp, in bnxt_rx_skb() 906 static struct sk_buff *bnxt_rx_pages(struct bnxt *bp, struct bnxt_napi *bnapi, in bnxt_rx_pages() [all …]
|
D | bnxt_sriov.c | 25 static int bnxt_hwrm_fwd_async_event_cmpl(struct bnxt *bp, in bnxt_hwrm_fwd_async_event_cmpl() 63 static int bnxt_vf_ndo_prep(struct bnxt *bp, int vf_id) in bnxt_vf_ndo_prep() 83 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_spoofchk() 126 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_trust() 144 struct bnxt *bp = netdev_priv(dev); in bnxt_get_vf_config() 181 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_mac() 210 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_vlan() 251 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_bw() 292 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_link_state() 324 static int bnxt_set_vf_attr(struct bnxt *bp, int num_vfs) in bnxt_set_vf_attr() [all …]
|
D | bnxt_sriov.h | 39 void bnxt_sriov_disable(struct bnxt *); 40 void bnxt_hwrm_exec_fwd_req(struct bnxt *); 41 void bnxt_update_vf_mac(struct bnxt *); 42 int bnxt_approve_mac(struct bnxt *, u8 *, bool);
|
D | bnxt_vfr.c | 27 static int hwrm_cfa_vfr_alloc(struct bnxt *bp, u16 vf_idx, in hwrm_cfa_vfr_alloc() 53 static int hwrm_cfa_vfr_free(struct bnxt *bp, u16 vf_idx) in hwrm_cfa_vfr_free() 67 static int bnxt_hwrm_vfr_qcfg(struct bnxt *bp, struct bnxt_vf_rep *vf_rep, in bnxt_hwrm_vfr_qcfg() 95 struct bnxt *bp = vf_rep->bp; in bnxt_vf_rep_open() 149 struct bnxt *bp = vf_rep->bp; in bnxt_vf_rep_setup_tc_block_cb() 197 struct net_device *bnxt_get_vf_rep(struct bnxt *bp, u16 cfa_code) in bnxt_get_vf_rep() 209 void bnxt_vf_rep_rx(struct bnxt *bp, struct sk_buff *skb) in bnxt_vf_rep_rx() 280 void bnxt_vf_reps_close(struct bnxt *bp) in bnxt_vf_reps_close() 301 void bnxt_vf_reps_open(struct bnxt *bp) in bnxt_vf_reps_open() 312 static void __bnxt_vf_reps_destroy(struct bnxt *bp) in __bnxt_vf_reps_destroy() [all …]
|
D | bnxt_tc.c | 43 static u16 bnxt_flow_get_dst_fid(struct bnxt *pf_bp, struct net_device *dev) in bnxt_flow_get_dst_fid() 45 struct bnxt *bp; in bnxt_flow_get_dst_fid() 62 static int bnxt_tc_parse_redir(struct bnxt *bp, in bnxt_tc_parse_redir() 78 static int bnxt_tc_parse_vlan(struct bnxt *bp, in bnxt_tc_parse_vlan() 97 static int bnxt_tc_parse_tunnel_set(struct bnxt *bp, in bnxt_tc_parse_tunnel_set() 114 static int bnxt_tc_parse_actions(struct bnxt *bp, in bnxt_tc_parse_actions() 187 static int bnxt_tc_parse_flow(struct bnxt *bp, in bnxt_tc_parse_flow() 355 static int bnxt_hwrm_cfa_flow_free(struct bnxt *bp, __le16 flow_handle) in bnxt_hwrm_cfa_flow_free() 434 static int bnxt_hwrm_cfa_flow_alloc(struct bnxt *bp, struct bnxt_tc_flow *flow, in bnxt_hwrm_cfa_flow_alloc() 556 static int hwrm_cfa_decap_filter_alloc(struct bnxt *bp, in hwrm_cfa_decap_filter_alloc() [all …]
|
D | bnxt_ethtool.c | 34 struct bnxt *bp = netdev_priv(dev); in bnxt_get_msglevel() 41 struct bnxt *bp = netdev_priv(dev); in bnxt_set_msglevel() 49 struct bnxt *bp = netdev_priv(dev); in bnxt_get_coalesce() 79 struct bnxt *bp = netdev_priv(dev); in bnxt_set_coalesce() 265 static int bnxt_get_num_stats(struct bnxt *bp) in bnxt_get_num_stats() 282 struct bnxt *bp = netdev_priv(dev); in bnxt_get_sset_count() 300 struct bnxt *bp = netdev_priv(dev); in bnxt_get_ethtool_stats() 348 struct bnxt *bp = netdev_priv(dev); in bnxt_get_strings() 431 struct bnxt *bp = netdev_priv(dev); in bnxt_get_ringparam() 445 struct bnxt *bp = netdev_priv(dev); in bnxt_set_ringparam() [all …]
|
D | bnxt_xdp.h | 13 void bnxt_xmit_xdp(struct bnxt *bp, struct bnxt_tx_ring_info *txr, 15 void bnxt_tx_int_xdp(struct bnxt *bp, struct bnxt_napi *bnapi, int nr_pkts); 16 bool bnxt_rx_xdp(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, u16 cons,
|
D | bnxt_devlink.c | 29 static int bnxt_hwrm_nvm_req(struct bnxt *bp, u32 param_id, void *msg, in bnxt_hwrm_nvm_req() 90 struct bnxt *bp = bnxt_get_bp_from_dl(dl); in bnxt_dl_nvm_param_get() 100 struct bnxt *bp = bnxt_get_bp_from_dl(dl); in bnxt_dl_nvm_param_set() 113 int bnxt_dl_register(struct bnxt *bp) in bnxt_dl_register() 160 void bnxt_dl_unregister(struct bnxt *bp) in bnxt_dl_unregister()
|
D | bnxt_xdp.c | 22 void bnxt_xmit_xdp(struct bnxt *bp, struct bnxt_tx_ring_info *txr, in bnxt_xmit_xdp() 45 void bnxt_tx_int_xdp(struct bnxt *bp, struct bnxt_napi *bnapi, int nr_pkts) in bnxt_tx_int_xdp() 73 bool bnxt_rx_xdp(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, u16 cons, in bnxt_rx_xdp() 153 static int bnxt_xdp_set(struct bnxt *bp, struct bpf_prog *prog) in bnxt_xdp_set() 214 struct bnxt *bp = netdev_priv(dev); in bnxt_xdp()
|
D | bnxt_dcb.h | 52 void bnxt_dcb_init(struct bnxt *bp); 53 void bnxt_dcb_free(struct bnxt *bp);
|
D | bnxt_ethtool.h | 82 void bnxt_ethtool_init(struct bnxt *bp); 83 void bnxt_ethtool_free(struct bnxt *bp);
|
D | bnxt_debugfs.c | 74 void bnxt_debug_dev_init(struct bnxt *bp) in bnxt_debug_dev_init() 106 void bnxt_debug_dev_exit(struct bnxt *bp) in bnxt_debug_dev_exit()
|
D | Makefile | 3 bnxt_en-y := bnxt.o bnxt_sriov.o bnxt_ethtool.o bnxt_dcb.o bnxt_ulp.o bnxt_xdp.o bnxt_vfr.o bnxt_de…
|
/Linux-v4.19/drivers/infiniband/hw/bnxt_re/ |
D | Makefile | 3 ccflags-y := -Idrivers/net/ethernet/broadcom/bnxt
|
D | main.c | 87 struct bnxt *bp; in bnxt_re_get_sriov_func_type() 506 struct bnxt *bp = netdev_priv(netdev); in bnxt_re_dev_probe() 1005 struct bnxt *bp = netdev_priv(rdev->netdev); in bnxt_re_query_hwrm_pri2cos()
|
/Linux-v4.19/drivers/net/ethernet/broadcom/ |
D | Makefile | 18 obj-$(CONFIG_BNXT) += bnxt/
|
/Linux-v4.19/ |
D | MAINTAINERS | 2988 F: drivers/net/ethernet/broadcom/bnxt/
|