H A D | bnxt.c | 311 bnxt_writeq(bp, (db)->db_key64 | DBR_TYPE_NQ | DB_RING_IDX(db, idx),\ 315 bnxt_writeq(bp, (db)->db_key64 | DBR_TYPE_NQ_MASK | \ 322 bnxt_writeq(bp, (db)->db_key64 | DBR_TYPE_NQ_ARM | \ 325 static void bnxt_db_nq(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) argument 327 if (bp->flags & BNXT_FLAG_CHIP_P7) 329 else if (bp->flags & BNXT_FLAG_CHIP_P5_PLUS) 335 static void bnxt_db_nq_arm(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) argument 337 if (bp->flags & BNXT_FLAG_CHIP_P5_PLUS) 343 static void bnxt_db_cq(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) argument 345 if (bp 352 bnxt_queue_fw_reset_work(struct bnxt *bp, unsigned long delay) argument 363 __bnxt_queue_sp_work(struct bnxt *bp) argument 371 bnxt_queue_sp_work(struct bnxt *bp, unsigned int event) argument 377 bnxt_sched_reset_rxr(struct bnxt *bp, struct bnxt_rx_ring_info *rxr) argument 390 bnxt_sched_reset_txr(struct bnxt *bp, struct bnxt_tx_ring_info *txr, u16 curr) argument 438 bnxt_txr_db_kick(struct bnxt *bp, struct bnxt_tx_ring_info *txr, u16 prod) argument 449 struct bnxt *bp = netdev_priv(dev); local 764 __bnxt_tx_int(struct bnxt *bp, struct bnxt_tx_ring_info *txr, int budget) argument 833 bnxt_tx_int(struct bnxt *bp, struct bnxt_napi *bnapi, int budget) argument 845 __bnxt_alloc_rx_page(struct bnxt *bp, dma_addr_t *mapping, struct bnxt_rx_ring_info *rxr, unsigned int *offset, gfp_t gfp) argument 866 __bnxt_alloc_rx_frag(struct bnxt *bp, dma_addr_t *mapping, gfp_t gfp) argument 890 bnxt_alloc_rx_data(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, u16 prod, gfp_t gfp) argument 927 struct bnxt *bp = rxr->bnapi->bp; local 954 bnxt_alloc_rx_page(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, u16 prod, gfp_t gfp) argument 986 bnxt_get_agg(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u16 cp_cons, u16 curr) argument 998 bnxt_get_tpa_agg_p5(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, u16 agg_id, u16 curr) argument 1011 struct bnxt *bp = bnapi->bp; local 1064 bnxt_rx_multi_page_skb(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, u16 cons, void *data, u8 *data_ptr, dma_addr_t dma_addr, unsigned int offset_and_len) argument 1096 bnxt_rx_page_skb(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, u16 cons, void *data, u8 *data_ptr, dma_addr_t dma_addr, unsigned int offset_and_len) argument 1143 bnxt_rx_skb(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, u16 cons, void *data, u8 *data_ptr, dma_addr_t dma_addr, unsigned int offset_and_len) argument 1172 __bnxt_rx_agg_pages(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, struct skb_shared_info *shinfo, u16 idx, u32 agg_bufs, bool tpa, struct xdp_buff *xdp) argument 1243 bnxt_rx_agg_pages_skb(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, struct sk_buff *skb, u16 idx, u32 agg_bufs, bool tpa) argument 1265 bnxt_rx_agg_pages_xdp(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, struct xdp_buff *xdp, u16 idx, u32 agg_bufs, bool tpa) argument 1286 bnxt_agg_bufs_valid(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u8 agg_bufs, u32 *raw_cons) argument 1303 struct bnxt *bp = bnapi->bp; local 1324 bnxt_discard_rx(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u32 *raw_cons, void *cmp) argument 1412 bnxt_tpa_start(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, u8 cmp_type, struct rx_tpa_start_cmp *tpa_start, struct rx_tpa_start_cmp_ext *tpa_start1) argument 1667 bnxt_gro_skb(struct bnxt *bp, struct bnxt_tpa_info *tpa_info, struct rx_tpa_end_cmp *tpa_end, struct rx_tpa_end_cmp_ext *tpa_end1, struct sk_buff *skb) argument 1699 bnxt_get_pkt_dev(struct bnxt *bp, u16 cfa_code) argument 1707 bnxt_tpa_end(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u32 *raw_cons, struct rx_tpa_end_cmp *tpa_end, struct rx_tpa_end_cmp_ext *tpa_end1, u8 *event) argument 1857 bnxt_tpa_agg(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, struct rx_agg_cmp *rx_agg) argument 1869 bnxt_deliver_skb(struct bnxt *bp, struct bnxt_napi *bnapi, struct sk_buff *skb) argument 1883 bnxt_rx_ts_valid(struct bnxt *bp, u32 flags, struct rx_cmp_ext *rxcmp1, u32 *cmpl_ts) argument 1939 bnxt_rss_ext_op(struct bnxt *bp, struct rx_cmp *rxcmp) argument 1963 bnxt_rx_pkt(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u32 *raw_cons, u8 *event) argument 2234 bnxt_force_rx_discard(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u32 *raw_cons, u8 *event) argument 2279 bnxt_fw_health_readl(struct bnxt *bp, int reg_idx) argument 2306 bnxt_agg_ring_id_to_grp_idx(struct bnxt *bp, u16 ring_id) argument 2323 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); local 2334 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); local 2366 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); local 2378 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); local 2396 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); local 2428 bnxt_event_error_report(struct bnxt *bp, u32 data1, u32 data2) argument 2514 bnxt_async_event_process(struct bnxt *bp, struct hwrm_async_event_cmpl *cmpl) argument 2729 bnxt_hwrm_handler(struct bnxt *bp, struct tx_cmp *txcmp) argument 2771 struct bnxt *bp = bnapi->bp; local 2781 bnxt_has_work(struct bnxt *bp, struct bnxt_cp_ring_info *cpr) argument 2795 struct bnxt *bp = bnapi->bp; local 2820 __bnxt_poll_work(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, int budget) argument 2918 __bnxt_poll_work_done(struct bnxt *bp, struct bnxt_napi *bnapi, int budget) argument 2937 bnxt_poll_work(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, int budget) argument 2958 struct bnxt *bp = bnapi->bp; local 3034 struct bnxt *bp = bnapi->bp; local 3069 __bnxt_poll_cqs(struct bnxt *bp, struct bnxt_napi *bnapi, int budget) argument 3086 __bnxt_poll_cqs_done(struct bnxt *bp, struct bnxt_napi *bnapi, u64 dbr_type, int budget) argument 3120 struct bnxt *bp = bnapi->bp; local 3200 bnxt_free_tx_skbs(struct bnxt *bp) argument 3271 bnxt_free_one_rx_ring_skbs(struct bnxt *bp, int ring_nr) argument 3345 bnxt_free_rx_skbs(struct bnxt *bp) argument 3356 bnxt_free_skbs(struct bnxt *bp) argument 3379 bnxt_free_ring(struct bnxt *bp, struct bnxt_ring_mem_info *rmem) argument 3412 bnxt_alloc_ring(struct bnxt *bp, struct bnxt_ring_mem_info *rmem) argument 3465 bnxt_free_tpa_info(struct bnxt *bp) argument 3485 bnxt_alloc_tpa_info(struct bnxt *bp) argument 3521 bnxt_free_rx_rings(struct bnxt *bp) argument 3553 bnxt_alloc_rx_page_pool(struct bnxt *bp, struct bnxt_rx_ring_info *rxr) argument 3579 bnxt_alloc_rx_rings(struct bnxt *bp) argument 3637 bnxt_free_tx_rings(struct bnxt *bp) argument 3670 bnxt_alloc_tx_rings(struct bnxt *bp) argument 3755 bnxt_free_all_cp_arrays(struct bnxt *bp) argument 3770 bnxt_alloc_all_cp_arrays(struct bnxt *bp) argument 3787 bnxt_free_cp_rings(struct bnxt *bp) argument 3824 bnxt_alloc_cp_sub_ring(struct bnxt *bp, struct bnxt_cp_ring_info *cpr) argument 3851 bnxt_alloc_cp_rings(struct bnxt *bp) argument 3930 bnxt_init_ring_struct(struct bnxt *bp) argument 4012 bnxt_alloc_one_rx_ring(struct bnxt *bp, int ring_nr) argument 4061 bnxt_init_one_rx_ring(struct bnxt *bp, int ring_nr) argument 4099 bnxt_init_cp_rings(struct bnxt *bp) argument 4123 bnxt_init_rx_rings(struct bnxt *bp) argument 4144 bnxt_init_tx_rings(struct bnxt *bp) argument 4166 bnxt_free_ring_grps(struct bnxt *bp) argument 4172 bnxt_init_ring_grps(struct bnxt *bp, bool irq_re_init) argument 4194 bnxt_free_vnics(struct bnxt *bp) argument 4201 bnxt_alloc_vnics(struct bnxt *bp) argument 4226 bnxt_init_vnics(struct bnxt *bp) argument 4292 bnxt_set_tpa_flags(struct bnxt *bp) argument 4306 bnxt_set_ring_params(struct bnxt *bp) argument 4403 bnxt_set_rx_skb_mode(struct bnxt *bp, bool page_mode) argument 4435 bnxt_free_vnic_attributes(struct bnxt *bp) argument 4471 bnxt_alloc_vnic_attributes(struct bnxt *bp) argument 4548 bnxt_free_hwrm_resources(struct bnxt *bp) argument 4561 bnxt_alloc_hwrm_resources(struct bnxt *bp) argument 4574 bnxt_free_stats_mem(struct bnxt *bp, struct bnxt_stats_mem *stats) argument 4587 bnxt_alloc_stats_mem(struct bnxt *bp, struct bnxt_stats_mem *stats, bool alloc_masks) argument 4627 bnxt_hwrm_func_qstat_ext(struct bnxt *bp, struct bnxt_stats_mem *stats) argument 4659 bnxt_init_stats(struct bnxt *bp) argument 4730 bnxt_free_port_stats(struct bnxt *bp) argument 4740 bnxt_free_ring_stats(struct bnxt *bp) argument 4755 bnxt_alloc_stats(struct bnxt *bp) argument 4818 bnxt_clear_ring_indices(struct bnxt *bp) argument 4854 bnxt_insert_usr_fltr(struct bnxt *bp, struct bnxt_filter_base *fltr) argument 4864 bnxt_del_one_usr_fltr(struct bnxt *bp, struct bnxt_filter_base *fltr) argument 4870 bnxt_clear_usr_fltrs(struct bnxt *bp, bool all) argument 4881 bnxt_del_fltr(struct bnxt *bp, struct bnxt_filter_base *fltr) argument 4892 bnxt_free_ntp_fltrs(struct bnxt *bp, bool all) argument 4921 bnxt_alloc_ntp_fltrs(struct bnxt *bp) argument 4940 bnxt_free_l2_filters(struct bnxt *bp, bool all) argument 4959 bnxt_init_l2_fltr_tbl(struct bnxt *bp) argument 4968 bnxt_free_mem(struct bnxt *bp, bool irq_re_init) argument 4997 bnxt_alloc_mem(struct bnxt *bp, bool irq_re_init) argument 5144 bnxt_disable_int(struct bnxt *bp) argument 5161 bnxt_cp_num_to_irq_num(struct bnxt *bp, int n) argument 5170 bnxt_disable_int_sync(struct bnxt *bp) argument 5187 bnxt_enable_int(struct bnxt *bp) argument 5200 bnxt_hwrm_func_drv_rgtr(struct bnxt *bp, unsigned long *bmap, int bmap_size, bool async_only) argument 5295 bnxt_hwrm_func_drv_unrgtr(struct bnxt *bp) argument 5311 bnxt_hwrm_tunnel_dst_port_free(struct bnxt *bp, u8 tunnel_type) argument 5358 bnxt_hwrm_tunnel_dst_port_alloc(struct bnxt *bp, __be16 port, u8 tunnel_type) argument 5406 bnxt_hwrm_cfa_l2_set_rx_mask(struct bnxt *bp, u16 vnic_id) argument 5425 bnxt_del_l2_filter(struct bnxt *bp, struct bnxt_l2_filter *fltr) argument 5444 __bnxt_lookup_l2_filter(struct bnxt *bp, struct bnxt_l2_key *key, u32 idx) argument 5461 bnxt_lookup_l2_filter(struct bnxt *bp, struct bnxt_l2_key *key, u32 idx) argument 5487 bnxt_get_rss_flow_tuple_len(struct bnxt *bp, struct flow_keys *fkeys) argument 5510 bnxt_toeplitz(struct bnxt *bp, struct flow_keys *fkeys, const unsigned char *key) argument 5550 bnxt_lookup_l2_filter_from_key(struct bnxt *bp, struct bnxt_l2_key *key) argument 5562 bnxt_init_l2_filter(struct bnxt *bp, struct bnxt_l2_filter *fltr, struct bnxt_l2_key *key, u32 idx) argument 5588 bnxt_alloc_l2_filter(struct bnxt *bp, struct bnxt_l2_key *key, gfp_t gfp) argument 5615 bnxt_alloc_new_l2_filter(struct bnxt *bp, struct bnxt_l2_key *key, u16 flags) argument 5660 bnxt_hwrm_l2_filter_free(struct bnxt *bp, struct bnxt_l2_filter *fltr) argument 5686 bnxt_hwrm_l2_filter_alloc(struct bnxt *bp, struct bnxt_l2_filter *fltr) argument 5739 bnxt_hwrm_cfa_ntuple_filter_free(struct bnxt *bp, struct bnxt_ntuple_filter *fltr) argument 5781 bnxt_cfg_rfs_ring_tbl_idx(struct bnxt *bp, struct hwrm_cfa_ntuple_filter_alloc_input *req, u16 rxq) argument 5803 bnxt_hwrm_cfa_ntuple_filter_alloc(struct bnxt *bp, struct bnxt_ntuple_filter *fltr) argument 5869 bnxt_hwrm_set_vnic_filter(struct bnxt *bp, u16 vnic_id, u16 idx, const u8 *mac_addr) argument 5891 bnxt_hwrm_clear_vnic_filter(struct bnxt *bp) argument 5914 bnxt_hwrm_vnic_update_tunl_tpa(struct bnxt *bp, struct hwrm_vnic_tpa_cfg_input *req) argument 5933 bnxt_hwrm_vnic_set_tpa(struct bnxt *bp, u16 vnic_id, u32 tpa_flags) argument 5996 bnxt_cp_ring_from_grp(struct bnxt *bp, struct bnxt_ring_struct *ring) argument 6004 bnxt_cp_ring_for_rx(struct bnxt *bp, struct bnxt_rx_ring_info *rxr) argument 6012 bnxt_cp_ring_for_tx(struct bnxt *bp, struct bnxt_tx_ring_info *txr) argument 6020 bnxt_alloc_rss_indir_tbl(struct bnxt *bp) argument 6037 bnxt_set_dflt_rss_indir_tbl(struct bnxt *bp) argument 6059 bnxt_get_max_rss_ring(struct bnxt *bp) argument 6072 bnxt_get_nr_rss_ctxs(struct bnxt *bp, int rx_rings) argument 6085 bnxt_fill_hw_rss_tbl(struct bnxt *bp, struct bnxt_vnic_info *vnic) argument 6098 bnxt_fill_hw_rss_tbl_p5(struct bnxt *bp, struct bnxt_vnic_info *vnic) argument 6124 __bnxt_hwrm_vnic_set_rss(struct bnxt *bp, struct hwrm_vnic_rss_cfg_input *req, struct bnxt_vnic_info *vnic) argument 6149 bnxt_hwrm_vnic_set_rss(struct bnxt *bp, u16 vnic_id, bool set_rss) argument 6169 bnxt_hwrm_vnic_set_rss_p5(struct bnxt *bp, u16 vnic_id, bool set_rss) argument 6204 bnxt_hwrm_update_rss_hash_cfg(struct bnxt *bp) argument 6224 bnxt_hwrm_vnic_set_hds(struct bnxt *bp, u16 vnic_id) argument 6251 bnxt_hwrm_vnic_ctx_free_one(struct bnxt *bp, u16 vnic_id, u16 ctx_idx) argument 6266 bnxt_hwrm_vnic_ctx_free(struct bnxt *bp) argument 6281 bnxt_hwrm_vnic_ctx_alloc(struct bnxt *bp, u16 vnic_id, u16 ctx_idx) argument 6301 bnxt_get_roce_vnic_mode(struct bnxt *bp) argument 6308 bnxt_hwrm_vnic_cfg(struct bnxt *bp, u16 vnic_id) argument 6382 bnxt_hwrm_vnic_free_one(struct bnxt *bp, u16 vnic_id) argument 6398 bnxt_hwrm_vnic_free(struct bnxt *bp) argument 6406 bnxt_hwrm_vnic_alloc(struct bnxt *bp, u16 vnic_id, unsigned int start_rx_ring_idx, unsigned int nr_rings) argument 6448 bnxt_hwrm_vnic_qcaps(struct bnxt *bp) argument 6509 bnxt_hwrm_ring_grp_alloc(struct bnxt *bp) argument 6544 bnxt_hwrm_ring_grp_free(struct bnxt *bp) argument 6568 hwrm_ring_alloc_send_msg(struct bnxt *bp, struct bnxt_ring_struct *ring, u32 ring_type, u32 map_index) argument 6689 bnxt_hwrm_set_async_event_cr(struct bnxt *bp, int idx) argument 6718 bnxt_set_db_mask(struct bnxt *bp, struct bnxt_db_info *db, u32 ring_type) argument 6742 bnxt_set_db(struct bnxt *bp, struct bnxt_db_info *db, u32 ring_type, u32 map_idx, u32 xid) argument 6785 bnxt_hwrm_ring_alloc(struct bnxt *bp) argument 6904 hwrm_ring_free_send_msg(struct bnxt *bp, struct bnxt_ring_struct *ring, u32 ring_type, int cmpl_ring_id) argument 6937 bnxt_hwrm_ring_free(struct bnxt *bp, bool close_path) argument 7041 bnxt_hwrm_get_rings(struct bnxt *bp) argument 7101 __bnxt_hwrm_get_tx_rings(struct bnxt *bp, u16 fid, int *tx_rings) argument 7127 __bnxt_hwrm_reserve_pf_rings(struct bnxt *bp, struct bnxt_hw_rings *hwr) argument 7171 __bnxt_hwrm_reserve_vf_rings(struct bnxt *bp, struct bnxt_hw_rings *hwr) argument 7213 bnxt_hwrm_reserve_pf_rings(struct bnxt *bp, struct bnxt_hw_rings *hwr) argument 7238 bnxt_hwrm_reserve_vf_rings(struct bnxt *bp, struct bnxt_hw_rings *hwr) argument 7259 bnxt_hwrm_reserve_rings(struct bnxt *bp, struct bnxt_hw_rings *hwr) argument 7267 bnxt_nq_rings_in_use(struct bnxt *bp) argument 7282 bnxt_cp_rings_in_use(struct bnxt *bp) argument 7293 bnxt_get_func_stat_ctxs(struct bnxt *bp) argument 7307 bnxt_get_total_rss_ctxs(struct bnxt *bp, struct bnxt_hw_rings *hwr) argument 7328 bnxt_check_rss_tbl_no_rmgr(struct bnxt *bp) argument 7340 bnxt_get_total_vnics(struct bnxt *bp, int rx_rings) argument 7351 bnxt_need_reserve_rings(struct bnxt *bp) argument 7389 bnxt_copy_reserved_rings(struct bnxt *bp, struct bnxt_hw_rings *hwr) argument 7406 bnxt_rings_ok(struct bnxt *bp, struct bnxt_hw_rings *hwr) argument 7412 __bnxt_reserve_rings(struct bnxt *bp) argument 7497 bnxt_hwrm_check_vf_rings(struct bnxt *bp, struct bnxt_hw_rings *hwr) argument 7519 bnxt_hwrm_check_pf_rings(struct bnxt *bp, struct bnxt_hw_rings *hwr) argument 7542 bnxt_hwrm_check_rings(struct bnxt *bp, struct bnxt_hw_rings *hwr) argument 7553 bnxt_hwrm_coal_params_qcaps(struct bnxt *bp) argument 7600 bnxt_usec_to_coal_tmr(struct bnxt *bp, u16 usec) argument 7607 bnxt_hwrm_set_coal_params(struct bnxt *bp, struct bnxt_coal *hw_coal, struct hwrm_ring_cmpl_ring_cfg_aggint_params_input *req) argument 7663 __bnxt_hwrm_set_coal_nq(struct bnxt *bp, struct bnxt_napi *bnapi, struct bnxt_coal *hw_coal) argument 7691 bnxt_hwrm_set_ring_coal(struct bnxt *bp, struct bnxt_napi *bnapi) argument 7721 bnxt_hwrm_set_rx_coal(struct bnxt *bp, struct bnxt_napi *bnapi, struct hwrm_ring_cmpl_ring_cfg_aggint_params_input *req) argument 7731 bnxt_hwrm_set_tx_coal(struct bnxt *bp, struct bnxt_napi *bnapi, struct hwrm_ring_cmpl_ring_cfg_aggint_params_input *req) argument 7751 bnxt_hwrm_set_coal(struct bnxt *bp) argument 7801 bnxt_hwrm_stat_ctx_free(struct bnxt *bp) argument 7843 bnxt_hwrm_stat_ctx_alloc(struct bnxt *bp) argument 7878 bnxt_hwrm_func_qcfg(struct bnxt *bp) argument 7969 bnxt_alloc_all_ctx_pg_info(struct bnxt *bp, int ctx_max) argument 7994 bnxt_hwrm_func_backing_store_qcaps_v2(struct bnxt *bp) argument 8052 bnxt_hwrm_func_backing_store_qcaps(struct bnxt *bp) argument 8194 bnxt_hwrm_func_backing_store_cfg(struct bnxt *bp, u32 enables) argument 8324 bnxt_alloc_ctx_mem_blk(struct bnxt *bp, struct bnxt_ctx_pg_info *ctx_pg) argument 8338 bnxt_alloc_ctx_pg_tbls(struct bnxt *bp, struct bnxt_ctx_pg_info *ctx_pg, u32 mem_size, u8 depth, struct bnxt_ctx_mem_type *ctxm) argument 8399 bnxt_free_ctx_pg_tbls(struct bnxt *bp, struct bnxt_ctx_pg_info *ctx_pg) argument 8428 bnxt_setup_ctxm_pg_tbls(struct bnxt *bp, struct bnxt_ctx_mem_type *ctxm, u32 entries, u8 pg_lvl) argument 8452 bnxt_hwrm_func_backing_store_cfg_v2(struct bnxt *bp, struct bnxt_ctx_mem_type *ctxm, bool last) argument 8500 bnxt_backing_store_cfg_v2(struct bnxt *bp, u32 ena) argument 8526 bnxt_free_ctx_mem(struct bnxt *bp) argument 8555 bnxt_alloc_ctx_mem(struct bnxt *bp) argument 8680 bnxt_hwrm_func_resc_qcaps(struct bnxt *bp, bool all) argument 8738 __bnxt_hwrm_ptp_qcfg(struct bnxt *bp) argument 8802 __bnxt_hwrm_func_qcaps(struct bnxt *bp) argument 8917 bnxt_hwrm_dbg_qcaps(struct bnxt *bp) argument 8945 bnxt_hwrm_func_qcaps(struct bnxt *bp) argument 8971 bnxt_hwrm_cfa_adv_flow_mgnt_qcaps(struct bnxt *bp) argument 9008 __bnxt_alloc_fw_health(struct bnxt *bp) argument 9021 bnxt_alloc_fw_health(struct bnxt *bp) argument 9039 __bnxt_map_fw_health_reg(struct bnxt *bp, u32 reg) argument 9046 bnxt_inv_fw_health_reg(struct bnxt *bp) argument 9063 bnxt_try_map_fw_health_reg(struct bnxt *bp) argument 9110 bnxt_map_fw_health_regs(struct bnxt *bp) argument 9139 bnxt_remap_fw_health_regs(struct bnxt *bp) argument 9152 bnxt_hwrm_error_recovery_qcfg(struct bnxt *bp) argument 9217 bnxt_hwrm_func_reset(struct bnxt *bp) argument 9231 bnxt_nvm_cfg_ver_get(struct bnxt *bp) argument 9241 bnxt_hwrm_queue_qportcfg(struct bnxt *bp) argument 9292 bnxt_hwrm_poll(struct bnxt *bp) argument 9310 bnxt_hwrm_ver_get(struct bnxt *bp) argument 9431 bnxt_hwrm_fw_set_time(struct bnxt *bp) argument 9494 bnxt_accumulate_all_stats(struct bnxt *bp) argument 9539 bnxt_hwrm_port_qstats(struct bnxt *bp, u8 flags) argument 9563 bnxt_hwrm_port_qstats_ext(struct bnxt *bp, u8 flags) argument 9653 bnxt_hwrm_free_tunnel_ports(struct bnxt *bp) argument 9661 bnxt_set_tpa(struct bnxt *bp, bool set_tpa) argument 9681 bnxt_hwrm_clear_vnic_rss(struct bnxt *bp) argument 9689 bnxt_clear_vnic(struct bnxt *bp) argument 9708 bnxt_hwrm_resource_free(struct bnxt *bp, bool close_path, bool irq_re_init) argument 9720 bnxt_hwrm_set_br_mode(struct bnxt *bp, u16 br_mode) argument 9743 bnxt_hwrm_set_cache_line_size(struct bnxt *bp, int size) argument 9764 __bnxt_setup_vnic(struct bnxt *bp, u16 vnic_id) argument 9820 __bnxt_setup_vnic_p5(struct bnxt *bp, u16 vnic_id) argument 9859 bnxt_setup_vnic(struct bnxt *bp, u16 vnic_id) argument 9867 bnxt_alloc_and_setup_vnic(struct bnxt *bp, u16 vnic_id, u16 start_rx_ring_idx, int rx_rings) argument 9881 bnxt_alloc_rfs_vnics(struct bnxt *bp) argument 9911 bnxt_promisc_ok(struct bnxt *bp) argument 9920 bnxt_setup_nitroa0_vnic(struct bnxt *bp) argument 9943 bnxt_init_chip(struct bnxt *bp, bool irq_re_init) argument 10065 bnxt_shutdown_nic(struct bnxt *bp, bool irq_re_init) argument 10071 bnxt_init_nic(struct bnxt *bp, bool irq_re_init) argument 10082 bnxt_set_real_num_queues(struct bnxt *bp) argument 10104 __bnxt_trim_rings(struct bnxt *bp, int *rx, int *tx, int max, bool shared) argument 10128 __bnxt_num_tx_to_cp(struct bnxt *bp, int tx, int tx_sets, int tx_xdp) argument 10133 bnxt_num_tx_to_cp(struct bnxt *bp, int tx) argument 10142 bnxt_num_cp_to_tx(struct bnxt *bp, int tx_cp) argument 10150 bnxt_trim_rings(struct bnxt *bp, int *rx, int *tx, int max, bool sh) argument 10168 bnxt_setup_msix(struct bnxt *bp) argument 10202 bnxt_setup_inta(struct bnxt *bp) argument 10218 bnxt_setup_int_mode(struct bnxt *bp) argument 10237 bnxt_get_max_func_rss_ctxs(struct bnxt *bp) argument 10242 bnxt_get_max_func_vnics(struct bnxt *bp) argument 10247 bnxt_get_max_func_stat_ctxs(struct bnxt *bp) argument 10252 bnxt_get_max_func_cp_rings(struct bnxt *bp) argument 10257 bnxt_get_max_func_cp_rings_for_en(struct bnxt *bp) argument 10267 bnxt_get_max_func_irqs(struct bnxt *bp) argument 10277 bnxt_set_max_func_irqs(struct bnxt *bp, unsigned int max_irqs) argument 10282 bnxt_get_avail_cp_rings_for_en(struct bnxt *bp) argument 10293 bnxt_get_avail_stat_ctxs_for_en(struct bnxt *bp) argument 10298 bnxt_get_avail_msix(struct bnxt *bp, int num) argument 10320 bnxt_get_num_msix(struct bnxt *bp) argument 10328 bnxt_init_msix(struct bnxt *bp) argument 10394 bnxt_init_inta(struct bnxt *bp) argument 10409 bnxt_init_int_mode(struct bnxt *bp) argument 10423 bnxt_clear_int_mode(struct bnxt *bp) argument 10433 bnxt_reserve_rings(struct bnxt *bp, bool irq_re_init) argument 10472 bnxt_free_irq(struct bnxt *bp) argument 10501 bnxt_request_irq(struct bnxt *bp) argument 10560 bnxt_del_napi(struct bnxt *bp) argument 10583 bnxt_init_napi(struct bnxt *bp) argument 10611 bnxt_disable_napi(struct bnxt *bp) argument 10634 bnxt_enable_napi(struct bnxt *bp) argument 10656 bnxt_tx_disable(struct bnxt *bp) argument 10675 bnxt_tx_enable(struct bnxt *bp) argument 10715 bnxt_report_link(struct bnxt *bp) argument 10789 bnxt_hwrm_phy_qcaps(struct bnxt *bp) argument 10859 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); local 10885 bnxt_update_link(struct bnxt *bp, bool chng_link_state) argument 11016 bnxt_get_port_module_status(struct bnxt *bp) argument 11044 bnxt_hwrm_set_pause_common(struct bnxt *bp, struct hwrm_port_phy_cfg_input *req) argument 11071 bnxt_hwrm_set_link_common(struct bnxt *bp, struct hwrm_port_phy_cfg_input *req) argument 11110 bnxt_hwrm_set_pause(struct bnxt *bp) argument 11141 bnxt_hwrm_set_eee(struct bnxt *bp, struct hwrm_port_phy_cfg_input *req) argument 11164 bnxt_hwrm_set_link_setting(struct bnxt *bp, bool set_pause, bool set_eee) argument 11183 bnxt_hwrm_shutdown_link(struct bnxt *bp) argument 11214 bnxt_fw_reset_via_optee(struct bnxt *bp) argument 11229 bnxt_try_recover_fw(struct bnxt *bp) argument 11260 bnxt_clear_reservations(struct bnxt *bp, bool fw_reset) argument 11281 bnxt_cancel_reservations(struct bnxt *bp, bool fw_reset) argument 11297 bnxt_hwrm_if_change(struct bnxt *bp, bool up) argument 11384 bnxt_hwrm_port_led_qcaps(struct bnxt *bp) argument 11427 bnxt_hwrm_alloc_wol_fltr(struct bnxt *bp) argument 11450 bnxt_hwrm_free_wol_fltr(struct bnxt *bp) argument 11466 bnxt_hwrm_get_wol_fltrs(struct bnxt *bp, u16 handle) argument 11495 bnxt_get_wol_settings(struct bnxt *bp) argument 11508 bnxt_eee_config_ok(struct bnxt *bp) argument 11535 bnxt_update_phy_setting(struct bnxt *bp) argument 11600 bnxt_preset_reg_win(struct bnxt *bp) argument 11611 bnxt_reinit_after_abort(struct bnxt *bp) argument 11633 bnxt_cfg_one_usr_fltr(struct bnxt *bp, struct bnxt_filter_base *fltr) argument 11661 bnxt_cfg_usr_fltrs(struct bnxt *bp) argument 11669 __bnxt_open_nic(struct bnxt *bp, bool irq_re_init, bool link_re_init) argument 11771 bnxt_open_nic(struct bnxt *bp, bool irq_re_init, bool link_re_init) argument 11790 bnxt_half_open_nic(struct bnxt *bp) argument 11826 bnxt_half_close_nic(struct bnxt *bp) argument 11835 bnxt_reenable_sriov(struct bnxt *bp) argument 11848 struct bnxt *bp = netdev_priv(dev); local 11881 bnxt_drv_busy(struct bnxt *bp) argument 11890 __bnxt_close_nic(struct bnxt *bp, bool irq_re_init, bool link_re_init) argument 11927 bnxt_close_nic(struct bnxt *bp, bool irq_re_init, bool link_re_init) argument 11959 struct bnxt *bp = netdev_priv(dev); local 11967 bnxt_hwrm_port_phy_read(struct bnxt *bp, u16 phy_addr, u16 reg, u16 *val) argument 11999 bnxt_hwrm_port_phy_write(struct bnxt *bp, u16 phy_addr, u16 reg, u16 val) argument 12030 struct bnxt *bp = netdev_priv(dev); local 12070 bnxt_get_ring_stats(struct bnxt *bp, struct rtnl_link_stats64 *stats) argument 12109 bnxt_add_prev_stats(struct bnxt *bp, struct rtnl_link_stats64 *stats) argument 12127 struct bnxt *bp = netdev_priv(dev); local 12168 bnxt_get_one_ring_err_stats(struct bnxt *bp, struct bnxt_total_ring_err_stats *stats, struct bnxt_cp_ring_info *cpr) argument 12188 bnxt_get_ring_err_stats(struct bnxt *bp, struct bnxt_total_ring_err_stats *stats) argument 12197 bnxt_mc_list_updated(struct bnxt *bp, u32 *rx_mask) argument 12231 bnxt_uc_list_updated(struct bnxt *bp) argument 12252 struct bnxt *bp = netdev_priv(dev); local 12289 bnxt_cfg_rx_mode(struct bnxt *bp) argument 12364 bnxt_can_reserve_rings(struct bnxt *bp) argument 12384 bnxt_rfs_supported(struct bnxt *bp) argument 12402 bnxt_rfs_capable(struct bnxt *bp) argument 12459 struct bnxt *bp = netdev_priv(dev); local 12491 bnxt_reinit_features(struct bnxt *bp, bool irq_re_init, bool link_re_init, u32 flags, bool update_tpa) argument 12504 struct bnxt *bp = netdev_priv(dev); local 12570 bnxt_exthdr_check(struct bnxt *bp, struct sk_buff *skb, int nw_off, u8 **nextp) argument 12637 bnxt_udp_tunl_check(struct bnxt *bp, struct sk_buff *skb) argument 12665 bnxt_tunl_check(struct bnxt *bp, struct sk_buff *skb, u8 l4_proto) argument 12694 struct bnxt *bp = netdev_priv(dev); local 12717 bnxt_dbg_hwrm_rd_reg(struct bnxt *bp, u32 reg_off, u16 num_words, u32 *reg_buf) argument 12756 bnxt_dbg_hwrm_ring_info_get(struct bnxt *bp, u8 ring_type, u32 ring_id, u32 *prod, u32 *cons) argument 12813 bnxt_dbg_dump_states(struct bnxt *bp) argument 12828 bnxt_hwrm_rx_ring_reset(struct bnxt *bp, int ring_nr) argument 12849 bnxt_reset_task(struct bnxt *bp, bool silent) argument 12870 struct bnxt *bp = netdev_priv(dev); local 12876 bnxt_fw_health_check(struct bnxt *bp) argument 12915 struct bnxt *bp = from_timer(bp, t, timer); local 12957 bnxt_rtnl_lock_sp(struct bnxt *bp) argument 12968 bnxt_rtnl_unlock_sp(struct bnxt *bp) argument 12975 bnxt_reset(struct bnxt *bp, bool silent) argument 12984 bnxt_rx_ring_reset(struct bnxt *bp) argument 13032 bnxt_fw_fatal_close(struct bnxt *bp) argument 13042 bnxt_fw_reset_close(struct bnxt *bp) argument 13066 is_bnxt_fw_ok(struct bnxt *bp) argument 13087 bnxt_force_fw_reset(struct bnxt *bp) argument 13121 bnxt_fw_exception(struct bnxt *bp) argument 13133 bnxt_get_registered_vfs(struct bnxt *bp) argument 13154 bnxt_fw_reset(struct bnxt *bp) argument 13202 bnxt_chk_missed_irq(struct bnxt *bp) argument 13241 bnxt_init_ethtool_link_settings(struct bnxt *bp) argument 13266 bnxt_fw_echo_reply(struct bnxt *bp) argument 13282 struct bnxt *bp = container_of(work, struct bnxt, sp_task); local 13388 bnxt_check_rings(struct bnxt *bp, int tx, int rx, bool sh, int tcs, int tx_xdp) argument 13429 bnxt_unmap_bars(struct bnxt *bp, struct pci_dev *pdev) argument 13447 bnxt_cleanup_pci(struct bnxt *bp) argument 13455 bnxt_init_dflt_coal(struct bnxt *bp) argument 13490 bnxt_fw_pre_resv_vnics(struct bnxt *bp) argument 13503 bnxt_fw_init_one_p1(struct bnxt *bp) argument 13534 bnxt_fw_init_one_p2(struct bnxt *bp) argument 13578 bnxt_set_dflt_rss_hash_type(struct bnxt *bp) argument 13594 bnxt_set_dflt_rfs(struct bnxt *bp) argument 13610 bnxt_fw_init_one_p3(struct bnxt *bp) argument 13629 bnxt_fw_init_one(struct bnxt *bp) argument 13654 bnxt_fw_reset_writel(struct bnxt *bp, int reg_idx) argument 13686 bnxt_hwrm_reset_permitted(struct bnxt *bp) argument 13707 bnxt_reset_all(struct bnxt *bp) argument 13738 bnxt_fw_reset_timeout(struct bnxt *bp) argument 13744 bnxt_fw_reset_abort(struct bnxt *bp, int rc) argument 13757 struct bnxt *bp = container_of(work, struct bnxt, fw_reset_task.work); local 13927 struct bnxt *bp = netdev_priv(dev); local 14015 struct bnxt *bp = netdev_priv(dev); local 14041 struct bnxt *bp = netdev_priv(dev); local 14057 struct bnxt *bp = netdev_priv(dev); local 14105 struct bnxt *bp = cb_priv; local 14124 struct bnxt *bp = netdev_priv(dev); local 14144 bnxt_get_ntp_filter_idx(struct bnxt *bp, struct flow_keys *fkeys, const struct sk_buff *skb) argument 14156 bnxt_insert_ntp_filter(struct bnxt *bp, struct bnxt_ntuple_filter *fltr, u32 idx) argument 14220 bnxt_lookup_ntp_filter_from_idx(struct bnxt *bp, struct bnxt_ntuple_filter *fltr, u32 idx) argument 14238 struct bnxt *bp = netdev_priv(dev); local 14322 bnxt_del_ntp_filter(struct bnxt *bp, struct bnxt_ntuple_filter *fltr) argument 14338 bnxt_cfg_ntp_filters(struct bnxt *bp) argument 14382 struct bnxt *bp = netdev_priv(netdev); local 14398 struct bnxt *bp = netdev_priv(netdev); local 14436 struct bnxt *bp = netdev_priv(dev); local 14445 struct bnxt *bp = netdev_priv(dev); local 14477 struct bnxt *bp = netdev_priv(dev); local 14528 struct bnxt *bp = netdev_priv(dev); local 14551 struct bnxt *bp = netdev_priv(dev); local 14573 struct bnxt *bp = netdev_priv(dev); local 14592 struct bnxt *bp = netdev_priv(dev); local 14631 bnxt_probe_phy(struct bnxt *bp, bool fw_dflt) argument 14681 _bnxt_get_max_rings(struct bnxt *bp, int *max_rx, int *max_tx, int *max_cp) argument 14716 bnxt_get_max_rings(struct bnxt *bp, int *max_rx, int *max_tx, bool shared) argument 14729 bnxt_get_dflt_rings(struct bnxt *bp, int *max_rx, int *max_tx, bool shared) argument 14777 bnxt_trim_dflt_sh_rings(struct bnxt *bp) argument 14785 bnxt_set_dflt_rings(struct bnxt *bp, bool sh) argument 14840 bnxt_init_dflt_ring_mode(struct bnxt *bp) argument 14870 bnxt_restore_pf_fw_resources(struct bnxt *bp) argument 14895 bnxt_init_mac_addr(struct bnxt *bp) argument 14922 bnxt_vpd_read_info(struct bnxt *bp) argument 14956 bnxt_pcie_dsn_get(struct bnxt *bp, u8 dsn[]) argument 14973 bnxt_map_db_bar(struct bnxt *bp) argument 14983 bnxt_print_device_info(struct bnxt *bp) argument 14996 struct bnxt *bp; local 15256 struct bnxt *bp; local 15285 struct bnxt *bp = netdev_priv(dev); local 15304 struct bnxt *bp = netdev_priv(dev); local 15372 struct bnxt *bp = netdev_priv(netdev); local 15426 struct bnxt *bp = netdev_priv(netdev); local 15503 struct bnxt *bp = netdev_priv(netdev); local [all...] |