| H A D | bnxt.c | 349 static void bnxt_db_nq(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) in bnxt_db_nq() argument 359 static void bnxt_db_nq_arm(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) in bnxt_db_nq_arm() argument 367 static void bnxt_db_cq(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) in bnxt_db_cq() argument 376 bnxt_queue_fw_reset_work(struct bnxt * bp,unsigned long delay) bnxt_queue_fw_reset_work() argument 387 __bnxt_queue_sp_work(struct bnxt * bp) __bnxt_queue_sp_work() argument 395 bnxt_queue_sp_work(struct bnxt * bp,unsigned int event) bnxt_queue_sp_work() argument 401 bnxt_sched_reset_rxr(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_sched_reset_rxr() argument 414 bnxt_sched_reset_txr(struct bnxt * bp,struct bnxt_tx_ring_info * txr,u16 curr) bnxt_sched_reset_txr() argument 462 bnxt_txr_db_kick(struct bnxt * bp,struct bnxt_tx_ring_info * txr,u16 prod) bnxt_txr_db_kick() argument 483 struct bnxt *bp = netdev_priv(dev); bnxt_start_xmit() local 836 __bnxt_tx_int(struct bnxt * bp,struct bnxt_tx_ring_info * txr,int budget) __bnxt_tx_int() argument 942 bnxt_tx_int(struct bnxt * bp,struct bnxt_napi * bnapi,int budget) bnxt_tx_int() argument 961 __bnxt_alloc_rx_page(struct bnxt * bp,dma_addr_t * mapping,struct bnxt_rx_ring_info * rxr,unsigned int * offset,gfp_t gfp) __bnxt_alloc_rx_page() argument 982 __bnxt_alloc_rx_netmem(struct bnxt * bp,dma_addr_t * mapping,struct bnxt_rx_ring_info * rxr,unsigned int * offset,gfp_t gfp) __bnxt_alloc_rx_netmem() argument 1003 __bnxt_alloc_rx_frag(struct bnxt * bp,dma_addr_t * mapping,struct bnxt_rx_ring_info * rxr,gfp_t gfp) __bnxt_alloc_rx_frag() argument 1019 bnxt_alloc_rx_data(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 prod,gfp_t gfp) bnxt_alloc_rx_data() argument 1058 struct bnxt *bp = rxr->bnapi->bp; bnxt_reuse_rx_data() local 1086 bnxt_alloc_rx_netmem(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 prod,gfp_t gfp) bnxt_alloc_rx_netmem() argument 1116 bnxt_get_agg(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u16 cp_cons,u16 curr) bnxt_get_agg() argument 1128 bnxt_get_tpa_agg_p5(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 agg_id,u16 curr) bnxt_get_tpa_agg_p5() argument 1141 struct bnxt *bp = bnapi->bp; bnxt_reuse_rx_agg_bufs() local 1194 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) bnxt_rx_multi_page_skb() argument 1229 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) bnxt_rx_page_skb() argument 1276 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) bnxt_rx_skb() argument 1306 __bnxt_rx_agg_netmems(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u16 idx,u32 agg_bufs,bool tpa,struct sk_buff * skb,struct xdp_buff * xdp) __bnxt_rx_agg_netmems() argument 1397 bnxt_rx_agg_netmems_skb(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,struct sk_buff * skb,u16 idx,u32 agg_bufs,bool tpa) bnxt_rx_agg_netmems_skb() argument 1415 bnxt_rx_agg_netmems_xdp(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,struct xdp_buff * xdp,u16 idx,u32 agg_bufs,bool tpa) bnxt_rx_agg_netmems_xdp() argument 1436 bnxt_agg_bufs_valid(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u8 agg_bufs,u32 * raw_cons) bnxt_agg_bufs_valid() argument 1453 struct bnxt *bp = bnapi->bp; bnxt_copy_data() local 1507 bnxt_discard_rx(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 * raw_cons,void * cmp) bnxt_discard_rx() argument 1537 bnxt_alloc_agg_idx(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 agg_id) bnxt_alloc_agg_idx() argument 1599 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) bnxt_tpa_start() argument 1861 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,struct bnxt_rx_sw_stats * rx_stats) bnxt_gro_skb() argument 1897 bnxt_get_pkt_dev(struct bnxt * bp,u16 cfa_code) bnxt_get_pkt_dev() argument 1905 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) bnxt_tpa_end() argument 2058 bnxt_tpa_agg(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,struct rx_agg_cmp * rx_agg) bnxt_tpa_agg() argument 2070 bnxt_deliver_skb(struct bnxt * bp,struct bnxt_napi * bnapi,struct sk_buff * skb) bnxt_deliver_skb() argument 2084 bnxt_rx_ts_valid(struct bnxt * bp,u32 flags,struct rx_cmp_ext * rxcmp1,u32 * cmpl_ts) bnxt_rx_ts_valid() argument 2148 bnxt_rx_pkt(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 * raw_cons,u8 * event) bnxt_rx_pkt() argument 2437 bnxt_force_rx_discard(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 * raw_cons,u8 * event) bnxt_force_rx_discard() argument 2482 bnxt_fw_health_readl(struct bnxt * bp,int reg_idx) bnxt_fw_health_readl() argument 2509 bnxt_agg_ring_id_to_grp_idx(struct bnxt * bp,u16 ring_id) bnxt_agg_ring_id_to_grp_idx() argument 2526 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_get_force_speed() local 2537 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_set_force_speed() local 2569 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_set_auto_speed() local 2581 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_force_speed_updated() local 2599 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_auto_speed_updated() local 2612 bnxt_bs_trace_avail(struct bnxt * bp,u16 type) bnxt_bs_trace_avail() argument 2621 bnxt_bs_trace_init(struct bnxt * bp,struct bnxt_ctx_mem_type * ctxm) bnxt_bs_trace_init() argument 2684 bnxt_event_error_report(struct bnxt * bp,u32 data1,u32 data2) bnxt_event_error_report() argument 2773 bnxt_async_event_process(struct bnxt * bp,struct hwrm_async_event_cmpl * cmpl) bnxt_async_event_process() argument 2999 bnxt_hwrm_handler(struct bnxt * bp,struct tx_cmp * txcmp) bnxt_hwrm_handler() argument 3038 bnxt_vnic_is_active(struct bnxt * bp) bnxt_vnic_is_active() argument 3048 struct bnxt *bp = bnapi->bp; bnxt_msix() local 3058 bnxt_has_work(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_has_work() argument 3069 __bnxt_poll_work(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,int budget) __bnxt_poll_work() argument 3175 __bnxt_poll_work_done(struct bnxt * bp,struct bnxt_napi * bnapi,int budget) __bnxt_poll_work_done() argument 3195 bnxt_poll_work(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,int budget) bnxt_poll_work() argument 3216 struct bnxt *bp = bnapi->bp; bnxt_poll_nitroa0() local 3292 struct bnxt *bp = bnapi->bp; bnxt_poll() local 3327 __bnxt_poll_cqs(struct bnxt * bp,struct bnxt_napi * bnapi,int budget) __bnxt_poll_cqs() argument 3344 __bnxt_poll_cqs_done(struct bnxt * bp,struct bnxt_napi * bnapi,u64 dbr_type,int budget) __bnxt_poll_cqs_done() argument 3378 struct bnxt *bp = bnapi->bp; bnxt_poll_p5() local 3458 bnxt_free_one_tx_ring_skbs(struct bnxt * bp,struct bnxt_tx_ring_info * txr,int idx) bnxt_free_one_tx_ring_skbs() argument 3543 bnxt_free_tx_skbs(struct bnxt * bp) bnxt_free_tx_skbs() argument 3563 bnxt_free_one_rx_ring(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_free_one_rx_ring() argument 3584 bnxt_free_one_rx_agg_ring(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_free_one_rx_agg_ring() argument 3604 bnxt_free_one_tpa_info_data(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_free_one_tpa_info_data() argument 3621 bnxt_free_one_rx_ring_skbs(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_free_one_rx_ring_skbs() argument 3649 bnxt_free_rx_skbs(struct bnxt * bp) bnxt_free_rx_skbs() argument 3660 bnxt_free_skbs(struct bnxt * bp) bnxt_free_skbs() argument 3683 __bnxt_copy_ring(struct bnxt * bp,struct bnxt_ring_mem_info * rmem,void * buf,size_t offset,size_t head,size_t tail) __bnxt_copy_ring() argument 3712 bnxt_free_ring(struct bnxt * bp,struct bnxt_ring_mem_info * rmem) bnxt_free_ring() argument 3745 bnxt_alloc_ring(struct bnxt * bp,struct bnxt_ring_mem_info * rmem) bnxt_alloc_ring() argument 3798 bnxt_free_one_tpa_info(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_free_one_tpa_info() argument 3815 bnxt_free_tpa_info(struct bnxt * bp) bnxt_free_tpa_info() argument 3826 bnxt_alloc_one_tpa_info(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_alloc_one_tpa_info() argument 3852 bnxt_alloc_tpa_info(struct bnxt * bp) bnxt_alloc_tpa_info() argument 3880 bnxt_free_rx_rings(struct bnxt * bp) bnxt_free_rx_rings() argument 3913 bnxt_rx_agg_ring_fill_level(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_rx_agg_ring_fill_level() argument 3928 bnxt_alloc_rx_page_pool(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,int numa_node) bnxt_alloc_rx_page_pool() argument 3985 bnxt_alloc_rx_agg_bmap(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_alloc_rx_agg_bmap() argument 3998 bnxt_alloc_rx_rings(struct bnxt * bp) bnxt_alloc_rx_rings() argument 4092 bnxt_free_tx_rings(struct bnxt * bp) bnxt_free_tx_rings() argument 4118 BNXT_TC_TO_RING_BASE(bp,tc) global() argument 4121 BNXT_RING_TO_TC_OFF(bp,tx) global() argument 4124 BNXT_RING_TO_TC(bp,tx) global() argument 4127 bnxt_alloc_tx_rings(struct bnxt * bp) bnxt_alloc_tx_rings() argument 4218 bnxt_free_all_cp_arrays(struct bnxt * bp) bnxt_free_all_cp_arrays() argument 4233 bnxt_alloc_all_cp_arrays(struct bnxt * bp) bnxt_alloc_all_cp_arrays() argument 4250 bnxt_free_cp_rings(struct bnxt * bp) bnxt_free_cp_rings() argument 4287 bnxt_alloc_cp_sub_ring(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_alloc_cp_sub_ring() argument 4314 bnxt_alloc_cp_rings(struct bnxt * bp) bnxt_alloc_cp_rings() argument 4389 bnxt_init_rx_ring_struct(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_init_rx_ring_struct() argument 4414 bnxt_reset_rx_ring_struct(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_reset_rx_ring_struct() argument 4448 bnxt_init_ring_struct(struct bnxt * bp) bnxt_init_ring_struct() argument 4534 bnxt_alloc_one_rx_ring_skb(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,int ring_nr) bnxt_alloc_one_rx_ring_skb() argument 4553 bnxt_alloc_one_rx_ring_netmem(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,int ring_nr) bnxt_alloc_one_rx_ring_netmem() argument 4574 bnxt_alloc_one_tpa_info_data(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_alloc_one_tpa_info_data() argument 4595 bnxt_alloc_one_rx_ring(struct bnxt * bp,int ring_nr) bnxt_alloc_one_rx_ring() argument 4615 bnxt_init_one_rx_ring_rxbd(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_init_one_rx_ring_rxbd() argument 4632 bnxt_init_one_rx_agg_ring_rxbd(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_init_one_rx_agg_ring_rxbd() argument 4658 bnxt_init_one_rx_ring(struct bnxt * bp,int ring_nr) bnxt_init_one_rx_ring() argument 4678 bnxt_init_cp_rings(struct bnxt * bp) bnxt_init_cp_rings() argument 4702 bnxt_init_rx_rings(struct bnxt * bp) bnxt_init_rx_rings() argument 4723 bnxt_init_tx_rings(struct bnxt * bp) bnxt_init_tx_rings() argument 4748 bnxt_free_ring_grps(struct bnxt * bp) bnxt_free_ring_grps() argument 4754 bnxt_init_ring_grps(struct bnxt * bp,bool irq_re_init) bnxt_init_ring_grps() argument 4775 bnxt_free_vnics(struct bnxt * bp) bnxt_free_vnics() argument 4782 bnxt_alloc_vnics(struct bnxt * bp) bnxt_alloc_vnics() argument 4806 bnxt_init_vnics(struct bnxt * bp) bnxt_init_vnics() argument 4873 bnxt_set_tpa_flags(struct bnxt * bp) bnxt_set_tpa_flags() argument 4884 bnxt_init_ring_params(struct bnxt * bp) bnxt_init_ring_params() argument 4898 bnxt_set_ring_params(struct bnxt * bp) bnxt_set_ring_params() argument 4997 __bnxt_set_rx_skb_mode(struct bnxt * bp,bool page_mode) __bnxt_set_rx_skb_mode() argument 5026 bnxt_set_rx_skb_mode(struct bnxt * bp,bool page_mode) bnxt_set_rx_skb_mode() argument 5045 bnxt_free_vnic_attributes(struct bnxt * bp) bnxt_free_vnic_attributes() argument 5081 bnxt_alloc_vnic_attributes(struct bnxt * bp) bnxt_alloc_vnic_attributes() argument 5158 bnxt_free_hwrm_resources(struct bnxt * bp) bnxt_free_hwrm_resources() argument 5171 bnxt_alloc_hwrm_resources(struct bnxt * bp) bnxt_alloc_hwrm_resources() argument 5184 bnxt_free_stats_mem(struct bnxt * bp,struct bnxt_stats_mem * stats) bnxt_free_stats_mem() argument 5197 bnxt_alloc_stats_mem(struct bnxt * bp,struct bnxt_stats_mem * stats,bool alloc_masks) bnxt_alloc_stats_mem() argument 5237 bnxt_hwrm_func_qstat_ext(struct bnxt * bp,struct bnxt_stats_mem * stats) bnxt_hwrm_func_qstat_ext() argument 5269 bnxt_init_stats(struct bnxt * bp) bnxt_init_stats() argument 5340 bnxt_free_port_stats(struct bnxt * bp) bnxt_free_port_stats() argument 5350 bnxt_free_ring_stats(struct bnxt * bp) bnxt_free_ring_stats() argument 5368 bnxt_alloc_stats(struct bnxt * bp) bnxt_alloc_stats() argument 5435 bnxt_clear_ring_indices(struct bnxt * bp) bnxt_clear_ring_indices() argument 5473 bnxt_insert_usr_fltr(struct bnxt * bp,struct bnxt_filter_base * fltr) bnxt_insert_usr_fltr() argument 5483 bnxt_del_one_usr_fltr(struct bnxt * bp,struct bnxt_filter_base * fltr) bnxt_del_one_usr_fltr() argument 5489 bnxt_clear_usr_fltrs(struct bnxt * bp,bool all) bnxt_clear_usr_fltrs() argument 5500 bnxt_del_fltr(struct bnxt * bp,struct bnxt_filter_base * fltr) bnxt_del_fltr() argument 5511 bnxt_free_ntp_fltrs(struct bnxt * bp,bool all) bnxt_free_ntp_fltrs() argument 5542 bnxt_alloc_ntp_fltrs(struct bnxt * bp) bnxt_alloc_ntp_fltrs() argument 5561 bnxt_free_l2_filters(struct bnxt * bp,bool all) bnxt_free_l2_filters() argument 5580 bnxt_init_l2_fltr_tbl(struct bnxt * bp) bnxt_init_l2_fltr_tbl() argument 5589 bnxt_free_mem(struct bnxt * bp,bool irq_re_init) bnxt_free_mem() argument 5618 bnxt_alloc_mem(struct bnxt * bp,bool irq_re_init) bnxt_alloc_mem() argument 5763 bnxt_disable_int(struct bnxt * bp) bnxt_disable_int() argument 5780 bnxt_cp_num_to_irq_num(struct bnxt * bp,int n) bnxt_cp_num_to_irq_num() argument 5789 bnxt_disable_int_sync(struct bnxt * bp) bnxt_disable_int_sync() argument 5806 bnxt_enable_int(struct bnxt * bp) bnxt_enable_int() argument 5819 bnxt_hwrm_func_drv_rgtr(struct bnxt * bp,unsigned long * bmap,int bmap_size,bool async_only) bnxt_hwrm_func_drv_rgtr() argument 5920 bnxt_hwrm_func_drv_unrgtr(struct bnxt * bp) bnxt_hwrm_func_drv_unrgtr() argument 5936 bnxt_hwrm_tunnel_dst_port_free(struct bnxt * bp,u8 tunnel_type) bnxt_hwrm_tunnel_dst_port_free() argument 5983 bnxt_hwrm_tunnel_dst_port_alloc(struct bnxt * bp,__be16 port,u8 tunnel_type) bnxt_hwrm_tunnel_dst_port_alloc() argument 6031 bnxt_hwrm_cfa_l2_set_rx_mask(struct bnxt * bp,u16 vnic_id) bnxt_hwrm_cfa_l2_set_rx_mask() argument 6050 bnxt_del_l2_filter(struct bnxt * bp,struct bnxt_l2_filter * fltr) bnxt_del_l2_filter() argument 6069 __bnxt_lookup_l2_filter(struct bnxt * bp,struct bnxt_l2_key * key,u32 idx) __bnxt_lookup_l2_filter() argument 6086 bnxt_lookup_l2_filter(struct bnxt * bp,struct bnxt_l2_key * key,u32 idx) bnxt_lookup_l2_filter() argument 6100 BNXT_IPV4_4TUPLE(bp,fkeys) global() argument 6106 BNXT_IPV6_4TUPLE(bp,fkeys) global() argument 6112 bnxt_get_rss_flow_tuple_len(struct bnxt * bp,struct flow_keys * fkeys) bnxt_get_rss_flow_tuple_len() argument 6135 bnxt_toeplitz(struct bnxt * bp,struct flow_keys * fkeys,const unsigned char * key) bnxt_toeplitz() argument 6175 bnxt_lookup_l2_filter_from_key(struct bnxt * bp,struct bnxt_l2_key * key) bnxt_lookup_l2_filter_from_key() argument 6187 bnxt_init_l2_filter(struct bnxt * bp,struct bnxt_l2_filter * fltr,struct bnxt_l2_key * key,u32 idx) bnxt_init_l2_filter() argument 6213 bnxt_alloc_l2_filter(struct bnxt * bp,struct bnxt_l2_key * key,gfp_t gfp) bnxt_alloc_l2_filter() argument 6240 bnxt_alloc_new_l2_filter(struct bnxt * bp,struct bnxt_l2_key * key,u16 flags) bnxt_alloc_new_l2_filter() argument 6285 bnxt_hwrm_l2_filter_free(struct bnxt * bp,struct bnxt_l2_filter * fltr) bnxt_hwrm_l2_filter_free() argument 6311 bnxt_hwrm_l2_filter_alloc(struct bnxt * bp,struct bnxt_l2_filter * fltr) bnxt_hwrm_l2_filter_alloc() argument 6364 bnxt_hwrm_cfa_ntuple_filter_free(struct bnxt * bp,struct bnxt_ntuple_filter * fltr) bnxt_hwrm_cfa_ntuple_filter_free() argument 6409 bnxt_cfg_rfs_ring_tbl_idx(struct bnxt * bp,struct hwrm_cfa_ntuple_filter_alloc_input * req,struct bnxt_ntuple_filter * fltr) bnxt_cfg_rfs_ring_tbl_idx() argument 6448 bnxt_hwrm_cfa_ntuple_filter_alloc(struct bnxt * bp,struct bnxt_ntuple_filter * fltr) bnxt_hwrm_cfa_ntuple_filter_alloc() argument 6514 bnxt_hwrm_set_vnic_filter(struct bnxt * bp,u16 vnic_id,u16 idx,const u8 * mac_addr) bnxt_hwrm_set_vnic_filter() argument 6536 bnxt_hwrm_clear_vnic_filter(struct bnxt * bp) bnxt_hwrm_clear_vnic_filter() argument 6559 bnxt_hwrm_vnic_update_tunl_tpa(struct bnxt * bp,struct hwrm_vnic_tpa_cfg_input * req) bnxt_hwrm_vnic_update_tunl_tpa() argument 6578 bnxt_hwrm_vnic_set_tpa(struct bnxt * bp,struct bnxt_vnic_info * vnic,u32 tpa_flags) bnxt_hwrm_vnic_set_tpa() argument 6641 bnxt_cp_ring_from_grp(struct bnxt * bp,struct bnxt_ring_struct * ring) bnxt_cp_ring_from_grp() argument 6649 bnxt_cp_ring_for_rx(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_cp_ring_for_rx() argument 6657 bnxt_cp_ring_for_tx(struct bnxt * bp,struct bnxt_tx_ring_info * txr) bnxt_cp_ring_for_tx() argument 6665 bnxt_alloc_rss_indir_tbl(struct bnxt * bp) bnxt_alloc_rss_indir_tbl() argument 6683 bnxt_set_dflt_rss_indir_tbl(struct bnxt * bp,struct ethtool_rxfh_context * rss_ctx) bnxt_set_dflt_rss_indir_tbl() argument 6711 bnxt_get_max_rss_ring(struct bnxt * bp) bnxt_get_max_rss_ring() argument 6724 bnxt_get_nr_rss_ctxs(struct bnxt * bp,int rx_rings) bnxt_get_nr_rss_ctxs() argument 6740 bnxt_fill_hw_rss_tbl(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_fill_hw_rss_tbl() argument 6767 bnxt_fill_hw_rss_tbl_p5(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_fill_hw_rss_tbl_p5() argument 6797 __bnxt_hwrm_vnic_set_rss(struct bnxt * bp,struct hwrm_vnic_rss_cfg_input * req,struct bnxt_vnic_info * vnic) __bnxt_hwrm_vnic_set_rss() argument 6817 bnxt_hwrm_vnic_set_rss(struct bnxt * bp,struct bnxt_vnic_info * vnic,bool set_rss) bnxt_hwrm_vnic_set_rss() argument 6837 bnxt_hwrm_vnic_set_rss_p5(struct bnxt * bp,struct bnxt_vnic_info * vnic,bool set_rss) bnxt_hwrm_vnic_set_rss_p5() argument 6873 bnxt_hwrm_update_rss_hash_cfg(struct bnxt * bp) bnxt_hwrm_update_rss_hash_cfg() argument 6893 bnxt_hwrm_vnic_set_hds(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_hwrm_vnic_set_hds() argument 6918 bnxt_hwrm_vnic_ctx_free_one(struct bnxt * bp,struct bnxt_vnic_info * vnic,u16 ctx_idx) bnxt_hwrm_vnic_ctx_free_one() argument 6934 bnxt_hwrm_vnic_ctx_free(struct bnxt * bp) bnxt_hwrm_vnic_ctx_free() argument 6949 bnxt_hwrm_vnic_ctx_alloc(struct bnxt * bp,struct bnxt_vnic_info * vnic,u16 ctx_idx) bnxt_hwrm_vnic_ctx_alloc() argument 6970 bnxt_get_roce_vnic_mode(struct bnxt * bp) bnxt_get_roce_vnic_mode() argument 6977 bnxt_hwrm_vnic_cfg(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_hwrm_vnic_cfg() argument 7047 bnxt_hwrm_vnic_free_one(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_hwrm_vnic_free_one() argument 7063 bnxt_hwrm_vnic_free(struct bnxt * bp) bnxt_hwrm_vnic_free() argument 7071 bnxt_hwrm_vnic_alloc(struct bnxt * bp,struct bnxt_vnic_info * vnic,unsigned int start_rx_ring_idx,unsigned int nr_rings) bnxt_hwrm_vnic_alloc() argument 7112 bnxt_hwrm_vnic_qcaps(struct bnxt * bp) bnxt_hwrm_vnic_qcaps() argument 7177 bnxt_hwrm_ring_grp_alloc(struct bnxt * bp) bnxt_hwrm_ring_grp_alloc() argument 7212 bnxt_hwrm_ring_grp_free(struct bnxt * bp) bnxt_hwrm_ring_grp_free() argument 7236 bnxt_set_rx_ring_params_p5(struct bnxt * bp,u32 ring_type,struct hwrm_ring_alloc_input * req,struct bnxt_rx_ring_info * rxr,struct bnxt_ring_struct * ring) bnxt_set_rx_ring_params_p5() argument 7261 hwrm_ring_alloc_send_msg(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,struct bnxt_ring_struct * ring,u32 ring_type,u32 map_index) hwrm_ring_alloc_send_msg() argument 7363 bnxt_hwrm_set_async_event_cr(struct bnxt * bp,int idx) bnxt_hwrm_set_async_event_cr() argument 7392 bnxt_set_db_mask(struct bnxt * bp,struct bnxt_db_info * db,u32 ring_type) bnxt_set_db_mask() argument 7416 bnxt_set_db(struct bnxt * bp,struct bnxt_db_info * db,u32 ring_type,u32 map_idx,u32 xid) bnxt_set_db() argument 7459 bnxt_hwrm_rx_ring_alloc(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_hwrm_rx_ring_alloc() argument 7478 bnxt_hwrm_rx_agg_ring_alloc(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_hwrm_rx_agg_ring_alloc() argument 7501 bnxt_hwrm_cp_ring_alloc_p5(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_hwrm_cp_ring_alloc_p5() argument 7520 bnxt_hwrm_tx_ring_alloc(struct bnxt * bp,struct bnxt_tx_ring_info * txr,u32 tx_idx) bnxt_hwrm_tx_ring_alloc() argument 7534 bnxt_hwrm_ring_alloc(struct bnxt * bp) bnxt_hwrm_ring_alloc() argument 7610 bnxt_cancel_dim(struct bnxt * bp) bnxt_cancel_dim() argument 7630 hwrm_ring_free_send_msg(struct bnxt * bp,struct bnxt_ring_struct * ring,u32 ring_type,int cmpl_ring_id) hwrm_ring_free_send_msg() argument 7663 bnxt_hwrm_tx_ring_free(struct bnxt * bp,struct bnxt_tx_ring_info * txr,bool close_path) bnxt_hwrm_tx_ring_free() argument 7680 bnxt_hwrm_rx_ring_free(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,bool close_path) bnxt_hwrm_rx_ring_free() argument 7700 bnxt_hwrm_rx_agg_ring_free(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,bool close_path) bnxt_hwrm_rx_agg_ring_free() argument 7724 bnxt_hwrm_cp_ring_free(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_hwrm_cp_ring_free() argument 7738 bnxt_clear_one_cp_ring(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_clear_one_cp_ring() argument 7751 bnxt_hwrm_ring_free(struct bnxt * bp,bool close_path) bnxt_hwrm_ring_free() argument 7802 bnxt_hwrm_get_rings(struct bnxt * bp) bnxt_hwrm_get_rings() argument 7862 __bnxt_hwrm_get_tx_rings(struct bnxt * bp,u16 fid,int * tx_rings) __bnxt_hwrm_get_tx_rings() argument 7888 __bnxt_hwrm_reserve_pf_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) __bnxt_hwrm_reserve_pf_rings() argument 7932 __bnxt_hwrm_reserve_vf_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) __bnxt_hwrm_reserve_vf_rings() argument 7974 bnxt_hwrm_reserve_pf_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_hwrm_reserve_pf_rings() argument 7999 bnxt_hwrm_reserve_vf_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_hwrm_reserve_vf_rings() argument 8020 bnxt_hwrm_reserve_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_hwrm_reserve_rings() argument 8028 bnxt_nq_rings_in_use(struct bnxt * bp) bnxt_nq_rings_in_use() argument 8033 bnxt_cp_rings_in_use(struct bnxt * bp) bnxt_cp_rings_in_use() argument 8044 bnxt_get_func_stat_ctxs(struct bnxt * bp) bnxt_get_func_stat_ctxs() argument 8049 bnxt_get_total_rss_ctxs(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_get_total_rss_ctxs() argument 8070 bnxt_check_rss_tbl_no_rmgr(struct bnxt * bp) bnxt_check_rss_tbl_no_rmgr() argument 8082 bnxt_get_total_vnics(struct bnxt * bp,int rx_rings) bnxt_get_total_vnics() argument 8093 bnxt_get_total_resources(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_get_total_resources() argument 8109 bnxt_need_reserve_rings(struct bnxt * bp) bnxt_need_reserve_rings() argument 8149 bnxt_copy_reserved_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_copy_reserved_rings() argument 8166 bnxt_rings_ok(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_rings_ok() argument 8174 __bnxt_reserve_rings(struct bnxt * bp) __bnxt_reserve_rings() argument 8299 bnxt_hwrm_check_vf_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_hwrm_check_vf_rings() argument 8321 bnxt_hwrm_check_pf_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_hwrm_check_pf_rings() argument 8344 bnxt_hwrm_check_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_hwrm_check_rings() argument 8355 bnxt_hwrm_coal_params_qcaps(struct bnxt * bp) bnxt_hwrm_coal_params_qcaps() argument 8402 bnxt_usec_to_coal_tmr(struct bnxt * bp,u16 usec) bnxt_usec_to_coal_tmr() argument 8409 bnxt_hwrm_set_coal_params(struct bnxt * bp,struct bnxt_coal * hw_coal,struct hwrm_ring_cmpl_ring_cfg_aggint_params_input * req) bnxt_hwrm_set_coal_params() argument 8465 __bnxt_hwrm_set_coal_nq(struct bnxt * bp,struct bnxt_napi * bnapi,struct bnxt_coal * hw_coal) __bnxt_hwrm_set_coal_nq() argument 8493 bnxt_hwrm_set_ring_coal(struct bnxt * bp,struct bnxt_napi * bnapi) bnxt_hwrm_set_ring_coal() argument 8523 bnxt_hwrm_set_rx_coal(struct bnxt * bp,struct bnxt_napi * bnapi,struct hwrm_ring_cmpl_ring_cfg_aggint_params_input * req) bnxt_hwrm_set_rx_coal() argument 8533 bnxt_hwrm_set_tx_coal(struct bnxt * bp,struct bnxt_napi * bnapi,struct hwrm_ring_cmpl_ring_cfg_aggint_params_input * req) bnxt_hwrm_set_tx_coal() argument 8553 bnxt_hwrm_set_coal(struct bnxt * bp) bnxt_hwrm_set_coal() argument 8603 bnxt_hwrm_stat_ctx_free(struct bnxt * bp) bnxt_hwrm_stat_ctx_free() argument 8645 bnxt_hwrm_stat_ctx_alloc(struct bnxt * bp) bnxt_hwrm_stat_ctx_alloc() argument 8680 bnxt_hwrm_func_qcfg(struct bnxt * bp) bnxt_hwrm_func_qcfg() argument 8784 bnxt_alloc_all_ctx_pg_info(struct bnxt * bp,int ctx_max) bnxt_alloc_all_ctx_pg_info() argument 8812 bnxt_hwrm_func_backing_store_qcaps_v2(struct bnxt * bp) bnxt_hwrm_func_backing_store_qcaps_v2() argument 8885 bnxt_hwrm_func_backing_store_qcaps(struct bnxt * bp) bnxt_hwrm_func_backing_store_qcaps() argument 9028 bnxt_hwrm_func_backing_store_cfg(struct bnxt * bp,u32 enables) bnxt_hwrm_func_backing_store_cfg() argument 9158 bnxt_alloc_ctx_mem_blk(struct bnxt * bp,struct bnxt_ctx_pg_info * ctx_pg) bnxt_alloc_ctx_mem_blk() argument 9172 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) bnxt_alloc_ctx_pg_tbls() argument 9232 bnxt_copy_ctx_pg_tbls(struct bnxt * bp,struct bnxt_ctx_pg_info * ctx_pg,void * buf,size_t offset,size_t head,size_t tail) bnxt_copy_ctx_pg_tbls() argument 9262 bnxt_free_ctx_pg_tbls(struct bnxt * bp,struct bnxt_ctx_pg_info * ctx_pg) bnxt_free_ctx_pg_tbls() argument 9291 bnxt_setup_ctxm_pg_tbls(struct bnxt * bp,struct bnxt_ctx_mem_type * ctxm,u32 entries,u8 pg_lvl) bnxt_setup_ctxm_pg_tbls() argument 9317 bnxt_hwrm_func_backing_store_cfg_v2(struct bnxt * bp,struct bnxt_ctx_mem_type * ctxm,bool last) bnxt_hwrm_func_backing_store_cfg_v2() argument 9375 bnxt_backing_store_cfg_v2(struct bnxt * bp) bnxt_backing_store_cfg_v2() argument 9437 __bnxt_copy_ctx_mem(struct bnxt * bp,struct bnxt_ctx_mem_type * ctxm,void * buf,size_t offset,size_t head,size_t tail) __bnxt_copy_ctx_mem() argument 9459 bnxt_copy_ctx_mem(struct bnxt * bp,struct bnxt_ctx_mem_type * ctxm,void * buf,size_t offset) bnxt_copy_ctx_mem() argument 9467 bnxt_free_one_ctx_mem(struct bnxt * bp,struct bnxt_ctx_mem_type * ctxm,bool force) bnxt_free_one_ctx_mem() argument 9492 bnxt_free_ctx_mem(struct bnxt * bp,bool force) bnxt_free_ctx_mem() argument 9510 bnxt_alloc_ctx_mem(struct bnxt * bp) bnxt_alloc_ctx_mem() argument 9653 bnxt_hwrm_crash_dump_mem_cfg(struct bnxt * bp) bnxt_hwrm_crash_dump_mem_cfg() argument 9680 bnxt_free_crash_dump_mem(struct bnxt * bp) bnxt_free_crash_dump_mem() argument 9689 bnxt_alloc_crash_dump_mem(struct bnxt * bp) bnxt_alloc_crash_dump_mem() argument 9726 bnxt_hwrm_func_resc_qcaps(struct bnxt * bp,bool all) bnxt_hwrm_func_resc_qcaps() argument 9788 __bnxt_hwrm_ptp_qcfg(struct bnxt * bp) __bnxt_hwrm_ptp_qcfg() argument 9856 __bnxt_hwrm_func_qcaps(struct bnxt * bp) __bnxt_hwrm_func_qcaps() argument 9994 bnxt_hwrm_dbg_qcaps(struct bnxt * bp) bnxt_hwrm_dbg_qcaps() argument 10022 bnxt_hwrm_func_qcaps(struct bnxt * bp) bnxt_hwrm_func_qcaps() argument 10048 bnxt_hwrm_cfa_adv_flow_mgnt_qcaps(struct bnxt * bp) bnxt_hwrm_cfa_adv_flow_mgnt_qcaps() argument 10085 __bnxt_alloc_fw_health(struct bnxt * bp) __bnxt_alloc_fw_health() argument 10098 bnxt_alloc_fw_health(struct bnxt * bp) bnxt_alloc_fw_health() argument 10116 __bnxt_map_fw_health_reg(struct bnxt * bp,u32 reg) __bnxt_map_fw_health_reg() argument 10123 bnxt_inv_fw_health_reg(struct bnxt * bp) bnxt_inv_fw_health_reg() argument 10140 bnxt_try_map_fw_health_reg(struct bnxt * bp) bnxt_try_map_fw_health_reg() argument 10187 bnxt_map_fw_health_regs(struct bnxt * bp) bnxt_map_fw_health_regs() argument 10216 bnxt_remap_fw_health_regs(struct bnxt * bp) bnxt_remap_fw_health_regs() argument 10229 bnxt_hwrm_error_recovery_qcfg(struct bnxt * bp) bnxt_hwrm_error_recovery_qcfg() argument 10294 bnxt_hwrm_func_reset(struct bnxt * bp) bnxt_hwrm_func_reset() argument 10308 bnxt_nvm_cfg_ver_get(struct bnxt * bp) bnxt_nvm_cfg_ver_get() argument 10318 bnxt_hwrm_queue_qportcfg(struct bnxt * bp) bnxt_hwrm_queue_qportcfg() argument 10369 bnxt_hwrm_poll(struct bnxt * bp) bnxt_hwrm_poll() argument 10387 bnxt_hwrm_ver_get(struct bnxt * bp) bnxt_hwrm_ver_get() argument 10513 bnxt_hwrm_fw_set_time(struct bnxt * bp) bnxt_hwrm_fw_set_time() argument 10576 bnxt_accumulate_ring_stats(struct bnxt * bp) bnxt_accumulate_ring_stats() argument 10601 bnxt_accumulate_port_stats(struct bnxt * bp) bnxt_accumulate_port_stats() argument 10625 bnxt_accumulate_all_stats(struct bnxt * bp) bnxt_accumulate_all_stats() argument 10644 bnxt_sync_ring_stats(struct bnxt * bp) bnxt_sync_ring_stats() argument 10660 bnxt_hwrm_port_qstats(struct bnxt * bp,u8 flags) bnxt_hwrm_port_qstats() argument 10684 bnxt_hwrm_port_qstats_ext(struct bnxt * bp,u8 flags) bnxt_hwrm_port_qstats_ext() argument 10774 bnxt_hwrm_free_tunnel_ports(struct bnxt * bp) bnxt_hwrm_free_tunnel_ports() argument 10782 bnxt_set_tpa(struct bnxt * bp,bool set_tpa) bnxt_set_tpa() argument 10802 bnxt_hwrm_clear_vnic_rss(struct bnxt * bp) bnxt_hwrm_clear_vnic_rss() argument 10810 bnxt_clear_vnic(struct bnxt * bp) bnxt_clear_vnic() argument 10829 bnxt_hwrm_resource_free(struct bnxt * bp,bool close_path,bool irq_re_init) bnxt_hwrm_resource_free() argument 10841 bnxt_hwrm_set_br_mode(struct bnxt * bp,u16 br_mode) bnxt_hwrm_set_br_mode() argument 10864 bnxt_hwrm_set_cache_line_size(struct bnxt * bp,int size) bnxt_hwrm_set_cache_line_size() argument 10885 __bnxt_setup_vnic(struct bnxt * bp,struct bnxt_vnic_info * vnic) __bnxt_setup_vnic() argument 10941 bnxt_hwrm_vnic_update(struct bnxt * bp,struct bnxt_vnic_info * vnic,u8 valid) bnxt_hwrm_vnic_update() argument 10961 bnxt_hwrm_vnic_rss_cfg_p5(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_hwrm_vnic_rss_cfg_p5() argument 10978 __bnxt_setup_vnic_p5(struct bnxt * bp,struct bnxt_vnic_info * vnic) __bnxt_setup_vnic_p5() argument 11009 bnxt_setup_vnic(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_setup_vnic() argument 11017 bnxt_alloc_and_setup_vnic(struct bnxt * bp,struct bnxt_vnic_info * vnic,u16 start_rx_ring_idx,int rx_rings) bnxt_alloc_and_setup_vnic() argument 11032 bnxt_alloc_rfs_vnics(struct bnxt * bp) bnxt_alloc_rfs_vnics() argument 11062 bnxt_del_one_rss_ctx(struct bnxt * bp,struct bnxt_rss_ctx * rss_ctx,bool all) bnxt_del_one_rss_ctx() argument 11097 bnxt_vnic_has_rx_ring(struct bnxt * bp,struct bnxt_vnic_info * vnic,int rxr_id) bnxt_vnic_has_rx_ring() argument 11122 bnxt_set_vnic_mru_p5(struct bnxt * bp,struct bnxt_vnic_info * vnic,u16 mru,int rxr_id) bnxt_set_vnic_mru_p5() argument 11150 bnxt_set_rss_ctx_vnic_mru(struct bnxt * bp,u16 mru,int rxr_id) bnxt_set_rss_ctx_vnic_mru() argument 11168 bnxt_hwrm_realloc_rss_ctx_vnic(struct bnxt * bp) bnxt_hwrm_realloc_rss_ctx_vnic() argument 11189 bnxt_clear_rss_ctxs(struct bnxt * bp) bnxt_clear_rss_ctxs() argument 11202 bnxt_promisc_ok(struct bnxt * bp) bnxt_promisc_ok() argument 11211 bnxt_setup_nitroa0_vnic(struct bnxt * bp) bnxt_setup_nitroa0_vnic() argument 11239 bnxt_init_chip(struct bnxt * bp,bool irq_re_init) bnxt_init_chip() argument 11365 bnxt_shutdown_nic(struct bnxt * bp,bool irq_re_init) bnxt_shutdown_nic() argument 11371 bnxt_init_nic(struct bnxt * bp,bool irq_re_init) bnxt_init_nic() argument 11387 bnxt_set_real_num_queues(struct bnxt * bp) bnxt_set_real_num_queues() argument 11409 __bnxt_trim_rings(struct bnxt * bp,int * rx,int * tx,int max,bool shared) __bnxt_trim_rings() argument 11433 __bnxt_num_tx_to_cp(struct bnxt * bp,int tx,int tx_sets,int tx_xdp) __bnxt_num_tx_to_cp() argument 11438 bnxt_num_tx_to_cp(struct bnxt * bp,int tx) bnxt_num_tx_to_cp() argument 11447 bnxt_num_cp_to_tx(struct bnxt * bp,int tx_cp) bnxt_num_cp_to_tx() argument 11455 bnxt_trim_rings(struct bnxt * bp,int * rx,int * tx,int max,bool sh) bnxt_trim_rings() argument 11473 bnxt_setup_msix(struct bnxt * bp) bnxt_setup_msix() argument 11509 bnxt_change_msix(struct bnxt * bp,int total) bnxt_change_msix() argument 11533 bnxt_setup_int_mode(struct bnxt * bp) bnxt_setup_int_mode() argument 11549 bnxt_get_max_func_rss_ctxs(struct bnxt * bp) bnxt_get_max_func_rss_ctxs() argument 11554 bnxt_get_max_func_vnics(struct bnxt * bp) bnxt_get_max_func_vnics() argument 11559 bnxt_get_max_func_stat_ctxs(struct bnxt * bp) bnxt_get_max_func_stat_ctxs() argument 11564 bnxt_get_max_func_cp_rings(struct bnxt * bp) bnxt_get_max_func_cp_rings() argument 11569 bnxt_get_max_func_cp_rings_for_en(struct bnxt * bp) bnxt_get_max_func_cp_rings_for_en() argument 11579 bnxt_get_max_func_irqs(struct bnxt * bp) bnxt_get_max_func_irqs() argument 11589 bnxt_set_max_func_irqs(struct bnxt * bp,unsigned int max_irqs) bnxt_set_max_func_irqs() argument 11594 bnxt_get_avail_cp_rings_for_en(struct bnxt * bp) bnxt_get_avail_cp_rings_for_en() argument 11605 bnxt_get_avail_stat_ctxs_for_en(struct bnxt * bp) bnxt_get_avail_stat_ctxs_for_en() argument 11610 bnxt_get_avail_msix(struct bnxt * bp,int num) bnxt_get_avail_msix() argument 11623 bnxt_get_num_msix(struct bnxt * bp) bnxt_get_num_msix() argument 11631 bnxt_init_int_mode(struct bnxt * bp) bnxt_init_int_mode() argument 11688 bnxt_clear_int_mode(struct bnxt * bp) bnxt_clear_int_mode() argument 11696 bnxt_reserve_rings(struct bnxt * bp,bool irq_re_init) bnxt_reserve_rings() argument 11753 bnxt_tx_queue_stop(struct bnxt * bp,int idx) bnxt_tx_queue_stop() argument 11784 bnxt_tx_queue_start(struct bnxt * bp,int idx) bnxt_tx_queue_start() argument 11888 bnxt_register_irq_notifier(struct bnxt * bp,struct bnxt_irq * irq) bnxt_register_irq_notifier() argument 11903 bnxt_alloc_ring_cpu_masks(struct bnxt * bp) bnxt_alloc_ring_cpu_masks() argument 11922 bnxt_free_ring_cpu_masks(struct bnxt * bp) bnxt_free_ring_cpu_masks() argument 11938 bnxt_free_irq(struct bnxt * bp) bnxt_free_irq() argument 11971 bnxt_request_irq(struct bnxt * bp) bnxt_request_irq() argument 12062 bnxt_del_napi(struct bnxt * bp) bnxt_del_napi() argument 12085 bnxt_init_napi(struct bnxt * bp) bnxt_init_napi() argument 12110 bnxt_disable_napi(struct bnxt * bp) bnxt_disable_napi() argument 12131 bnxt_enable_napi(struct bnxt * bp) bnxt_enable_napi() argument 12153 bnxt_tx_disable(struct bnxt * bp) bnxt_tx_disable() argument 12172 bnxt_tx_enable(struct bnxt * bp) bnxt_tx_enable() argument 12232 bnxt_report_link(struct bnxt * bp) bnxt_report_link() argument 12308 bnxt_hwrm_phy_qcaps(struct bnxt * bp) bnxt_hwrm_phy_qcaps() argument 12369 bnxt_hwrm_mac_qcaps(struct bnxt * bp) bnxt_hwrm_mac_qcaps() argument 12398 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_support_speed_dropped() local 12424 bnxt_update_link(struct bnxt * bp,bool chng_link_state) bnxt_update_link() argument 12556 bnxt_get_port_module_status(struct bnxt * bp) bnxt_get_port_module_status() argument 12584 bnxt_hwrm_set_pause_common(struct bnxt * bp,struct hwrm_port_phy_cfg_input * req) bnxt_hwrm_set_pause_common() argument 12611 bnxt_hwrm_set_link_common(struct bnxt * bp,struct hwrm_port_phy_cfg_input * req) bnxt_hwrm_set_link_common() argument 12650 bnxt_hwrm_set_pause(struct bnxt * bp) bnxt_hwrm_set_pause() argument 12681 bnxt_hwrm_set_eee(struct bnxt * bp,struct hwrm_port_phy_cfg_input * req) bnxt_hwrm_set_eee() argument 12704 bnxt_hwrm_set_link_setting(struct bnxt * bp,bool set_pause,bool set_eee) bnxt_hwrm_set_link_setting() argument 12723 bnxt_hwrm_shutdown_link(struct bnxt * bp) bnxt_hwrm_shutdown_link() argument 12754 bnxt_fw_reset_via_optee(struct bnxt * bp) bnxt_fw_reset_via_optee() argument 12769 bnxt_try_recover_fw(struct bnxt * bp) bnxt_try_recover_fw() argument 12800 bnxt_clear_reservations(struct bnxt * bp,bool fw_reset) bnxt_clear_reservations() argument 12821 bnxt_cancel_reservations(struct bnxt * bp,bool fw_reset) bnxt_cancel_reservations() argument 12837 bnxt_hwrm_if_change(struct bnxt * bp,bool up) bnxt_hwrm_if_change() argument 12926 bnxt_hwrm_port_led_qcaps(struct bnxt * bp) bnxt_hwrm_port_led_qcaps() argument 12969 bnxt_hwrm_alloc_wol_fltr(struct bnxt * bp) bnxt_hwrm_alloc_wol_fltr() argument 12992 bnxt_hwrm_free_wol_fltr(struct bnxt * bp) bnxt_hwrm_free_wol_fltr() argument 13008 bnxt_hwrm_get_wol_fltrs(struct bnxt * bp,u16 handle) bnxt_hwrm_get_wol_fltrs() argument 13037 bnxt_get_wol_settings(struct bnxt * bp) bnxt_get_wol_settings() argument 13050 bnxt_eee_config_ok(struct bnxt * bp) bnxt_eee_config_ok() argument 13077 bnxt_update_phy_setting(struct bnxt * bp) bnxt_update_phy_setting() argument 13139 bnxt_reinit_after_abort(struct bnxt * bp) bnxt_reinit_after_abort() argument 13161 bnxt_cfg_one_usr_fltr(struct bnxt * bp,struct bnxt_filter_base * fltr) bnxt_cfg_one_usr_fltr() argument 13189 bnxt_cfg_usr_fltrs(struct bnxt * bp) bnxt_cfg_usr_fltrs() argument 13197 bnxt_set_xps_mapping(struct bnxt * bp) bnxt_set_xps_mapping() argument 13237 bnxt_tx_nr_rings(struct bnxt * bp) bnxt_tx_nr_rings() argument 13243 bnxt_tx_nr_rings_per_tc(struct bnxt * bp) bnxt_tx_nr_rings_per_tc() argument 13248 bnxt_set_xdp_tx_rings(struct bnxt * bp) bnxt_set_xdp_tx_rings() argument 13254 bnxt_adj_tx_rings(struct bnxt * bp) bnxt_adj_tx_rings() argument 13263 __bnxt_open_nic(struct bnxt * bp,bool irq_re_init,bool link_re_init) __bnxt_open_nic() argument 13362 bnxt_open_nic(struct bnxt * bp,bool irq_re_init,bool link_re_init) bnxt_open_nic() argument 13381 bnxt_half_open_nic(struct bnxt * bp) bnxt_half_open_nic() argument 13417 bnxt_half_close_nic(struct bnxt * bp) bnxt_half_close_nic() argument 13426 bnxt_reenable_sriov(struct bnxt * bp) bnxt_reenable_sriov() argument 13439 struct bnxt *bp = netdev_priv(dev); bnxt_open() local 13471 bnxt_drv_busy(struct bnxt * bp) bnxt_drv_busy() argument 13480 __bnxt_close_nic(struct bnxt * bp,bool irq_re_init,bool link_re_init) __bnxt_close_nic() argument 13519 bnxt_close_nic(struct bnxt * bp,bool irq_re_init,bool link_re_init) bnxt_close_nic() argument 13552 struct bnxt *bp = netdev_priv(dev); bnxt_close() local 13560 bnxt_hwrm_port_phy_read(struct bnxt * bp,u16 phy_addr,u16 reg,u16 * val) bnxt_hwrm_port_phy_read() argument 13592 bnxt_hwrm_port_phy_write(struct bnxt * bp,u16 phy_addr,u16 reg,u16 val) bnxt_hwrm_port_phy_write() argument 13623 struct bnxt *bp = netdev_priv(dev); bnxt_ioctl() local 13657 bnxt_get_ring_stats(struct bnxt * bp,struct rtnl_link_stats64 * stats) bnxt_get_ring_stats() argument 13696 bnxt_add_prev_stats(struct bnxt * bp,struct rtnl_link_stats64 * stats) bnxt_add_prev_stats() argument 13714 struct bnxt *bp = netdev_priv(dev); bnxt_get_stats64() local 13756 bnxt_get_one_ring_drv_stats(struct bnxt * bp,struct bnxt_total_ring_drv_stats * stats,struct bnxt_cp_ring_info * cpr) bnxt_get_one_ring_drv_stats() argument 13778 bnxt_get_ring_drv_stats(struct bnxt * bp,struct bnxt_total_ring_drv_stats * stats) bnxt_get_ring_drv_stats() argument 13787 bnxt_mc_list_updated(struct bnxt * bp,u32 * rx_mask,const struct netdev_hw_addr_list * mc) bnxt_mc_list_updated() argument 13821 bnxt_uc_list_updated(struct bnxt * bp,const struct netdev_hw_addr_list * uc) bnxt_uc_list_updated() argument 13844 struct bnxt *bp = netdev_priv(dev); bnxt_set_rx_mode() local 13883 bnxt_cfg_rx_mode(struct bnxt * bp,struct netdev_hw_addr_list * uc,bool uc_update) bnxt_cfg_rx_mode() argument 13951 bnxt_can_reserve_rings(struct bnxt * bp) bnxt_can_reserve_rings() argument 13971 bnxt_rfs_supported(struct bnxt * bp) bnxt_rfs_supported() argument 13989 bnxt_rfs_capable(struct bnxt * bp,bool new_rss_ctx) bnxt_rfs_capable() argument 14043 struct bnxt *bp = netdev_priv(dev); bnxt_fix_features() local 14080 bnxt_reinit_features(struct bnxt * bp,bool irq_re_init,bool link_re_init,u32 flags,bool update_tpa) bnxt_reinit_features() argument 14093 struct bnxt *bp = netdev_priv(dev); bnxt_set_features() local 14162 bnxt_exthdr_check(struct bnxt * bp,struct sk_buff * skb,int nw_off,u8 ** nextp) bnxt_exthdr_check() argument 14211 bnxt_udp_tunl_check(struct bnxt * bp,struct sk_buff * skb) bnxt_udp_tunl_check() argument 14239 bnxt_tunl_check(struct bnxt * bp,struct sk_buff * skb,u8 l4_proto) bnxt_tunl_check() argument 14268 struct bnxt *bp = netdev_priv(dev); bnxt_features_check() local 14291 bnxt_dbg_hwrm_rd_reg(struct bnxt * bp,u32 reg_off,u16 num_words,u32 * reg_buf) bnxt_dbg_hwrm_rd_reg() argument 14330 bnxt_dbg_hwrm_ring_info_get(struct bnxt * bp,u8 ring_type,u32 ring_id,u32 * prod,u32 * cons) bnxt_dbg_hwrm_ring_info_get() argument 14395 bnxt_dbg_dump_states(struct bnxt * bp) bnxt_dbg_dump_states() argument 14410 bnxt_hwrm_rx_ring_reset(struct bnxt * bp,int ring_nr) bnxt_hwrm_rx_ring_reset() argument 14431 bnxt_reset_task(struct bnxt * bp,bool silent) bnxt_reset_task() argument 14443 struct bnxt *bp = netdev_priv(dev); bnxt_tx_timeout() local 14449 bnxt_fw_health_check(struct bnxt * bp) bnxt_fw_health_check() argument 14488 struct bnxt *bp = timer_container_of(bp, t, timer); bnxt_timer() local 14527 bnxt_lock_sp(struct bnxt * bp) bnxt_lock_sp() argument 14539 bnxt_unlock_sp(struct bnxt * bp) bnxt_unlock_sp() argument 14546 bnxt_rtnl_lock_sp(struct bnxt * bp) bnxt_rtnl_lock_sp() argument 14553 bnxt_rtnl_unlock_sp(struct bnxt * bp) bnxt_rtnl_unlock_sp() argument 14560 bnxt_tph_update(struct bnxt * bp) bnxt_tph_update() argument 14598 bnxt_reset(struct bnxt * bp,bool silent) bnxt_reset() argument 14607 bnxt_rx_ring_reset(struct bnxt * bp) bnxt_rx_ring_reset() argument 14662 bnxt_fw_fatal_close(struct bnxt * bp) bnxt_fw_fatal_close() argument 14672 bnxt_fw_reset_close(struct bnxt * bp) bnxt_fw_reset_close() argument 14695 is_bnxt_fw_ok(struct bnxt * bp) is_bnxt_fw_ok() argument 14716 bnxt_force_fw_reset(struct bnxt * bp) bnxt_force_fw_reset() argument 14753 bnxt_fw_exception(struct bnxt * bp) bnxt_fw_exception() argument 14766 bnxt_get_registered_vfs(struct bnxt * bp) bnxt_get_registered_vfs() argument 14787 bnxt_fw_reset(struct bnxt * bp) bnxt_fw_reset() argument 14839 bnxt_chk_missed_irq(struct bnxt * bp) bnxt_chk_missed_irq() argument 14878 bnxt_init_ethtool_link_settings(struct bnxt * bp) bnxt_init_ethtool_link_settings() argument 14903 bnxt_fw_echo_reply(struct bnxt * bp) bnxt_fw_echo_reply() argument 14917 bnxt_ulp_restart(struct bnxt * bp) bnxt_ulp_restart() argument 14925 struct bnxt *bp = container_of(work, struct bnxt, sp_task); bnxt_sp_task() local 15039 bnxt_check_rings(struct bnxt * bp,int tx,int rx,bool sh,int tcs,int tx_xdp) bnxt_check_rings() argument 15097 bnxt_unmap_bars(struct bnxt * bp,struct pci_dev * pdev) bnxt_unmap_bars() argument 15115 bnxt_cleanup_pci(struct bnxt * bp) bnxt_cleanup_pci() argument 15124 bnxt_init_dflt_coal(struct bnxt * bp) bnxt_init_dflt_coal() argument 15159 bnxt_fw_pre_resv_vnics(struct bnxt * bp) bnxt_fw_pre_resv_vnics() argument 15172 bnxt_hwrm_pfcwd_qcaps(struct bnxt * bp) bnxt_hwrm_pfcwd_qcaps() argument 15189 bnxt_fw_init_one_p1(struct bnxt * bp) bnxt_fw_init_one_p1() argument 15220 bnxt_fw_init_one_p2(struct bnxt * bp) bnxt_fw_init_one_p2() argument 15278 bnxt_set_dflt_rss_hash_type(struct bnxt * bp) bnxt_set_dflt_rss_hash_type() argument 15294 bnxt_set_dflt_rfs(struct bnxt * bp) bnxt_set_dflt_rfs() argument 15310 bnxt_fw_init_one_p3(struct bnxt * bp) bnxt_fw_init_one_p3() argument 15329 bnxt_fw_init_one(struct bnxt * bp) bnxt_fw_init_one() argument 15354 bnxt_fw_reset_writel(struct bnxt * bp,int reg_idx) bnxt_fw_reset_writel() argument 15386 bnxt_hwrm_reset_permitted(struct bnxt * bp) bnxt_hwrm_reset_permitted() argument 15407 bnxt_reset_all(struct bnxt * bp) bnxt_reset_all() argument 15438 bnxt_fw_reset_timeout(struct bnxt * bp) bnxt_fw_reset_timeout() argument 15444 bnxt_fw_reset_abort(struct bnxt * bp,int rc) bnxt_fw_reset_abort() argument 15455 struct bnxt *bp = container_of(work, struct bnxt, fw_reset_task.work); bnxt_fw_reset_task() local 15633 struct bnxt *bp = netdev_priv(dev); bnxt_init_board() local 15723 struct bnxt *bp = netdev_priv(dev); bnxt_change_mac_addr() local 15750 struct bnxt *bp = netdev_priv(dev); bnxt_change_mtu() local 15774 bnxt_set_cp_rings(struct bnxt * bp,bool sh) bnxt_set_cp_rings() argument 15784 struct bnxt *bp = netdev_priv(dev); bnxt_setup_mq_tc() local 15830 struct bnxt *bp = cb_priv; bnxt_setup_tc_block_cb() local 15849 struct bnxt *bp = netdev_priv(dev); bnxt_setup_tc() local 15869 bnxt_get_ntp_filter_idx(struct bnxt * bp,struct flow_keys * fkeys,const struct sk_buff * skb) bnxt_get_ntp_filter_idx() argument 15881 bnxt_insert_ntp_filter(struct bnxt * bp,struct bnxt_ntuple_filter * fltr,u32 idx) bnxt_insert_ntp_filter() argument 15945 bnxt_lookup_ntp_filter_from_idx(struct bnxt * bp,struct bnxt_ntuple_filter * fltr,u32 idx) bnxt_lookup_ntp_filter_from_idx() argument 15963 struct bnxt *bp = netdev_priv(dev); bnxt_rx_flow_steer() local 16047 bnxt_del_ntp_filter(struct bnxt * bp,struct bnxt_ntuple_filter * fltr) bnxt_del_ntp_filter() argument 16063 bnxt_cfg_ntp_filters(struct bnxt * bp) bnxt_cfg_ntp_filters() argument 16107 struct bnxt *bp = netdev_priv(netdev); bnxt_udp_tunnel_set_port() local 16123 struct bnxt *bp = netdev_priv(netdev); bnxt_udp_tunnel_unset_port() local 16159 struct bnxt *bp = netdev_priv(dev); bnxt_bridge_getlink() local 16168 struct bnxt *bp = netdev_priv(dev); bnxt_bridge_setlink() local 16197 struct bnxt *bp = netdev_priv(dev); bnxt_get_port_parent_id() local 16254 struct bnxt *bp = netdev_priv(dev); bnxt_get_queue_stats_rx() local 16283 struct bnxt *bp = netdev_priv(dev); bnxt_get_queue_stats_tx() local 16309 struct bnxt *bp = netdev_priv(dev); bnxt_get_base_stats() local 16337 struct bnxt *bp = netdev_priv(dev); bnxt_validate_qcfg() local 16359 struct bnxt *bp = netdev_priv(dev); bnxt_queue_mem_alloc() local 16455 struct bnxt *bp = netdev_priv(dev); bnxt_queue_mem_free() local 16478 bnxt_copy_rx_ring(struct bnxt * bp,struct bnxt_rx_ring_info * dst,struct bnxt_rx_ring_info * src) bnxt_copy_rx_ring() argument 16539 struct bnxt *bp = netdev_priv(dev); bnxt_queue_start() local 16618 struct bnxt *bp = netdev_priv(dev); bnxt_queue_stop() local 16682 struct bnxt *bp = netdev_priv(dev); bnxt_remove_one() local 16728 bnxt_probe_phy(struct bnxt * bp,bool fw_dflt) bnxt_probe_phy() argument 16782 _bnxt_get_max_rings(struct bnxt * bp,int * max_rx,int * max_tx,int * max_cp) _bnxt_get_max_rings() argument 16818 bnxt_get_max_rings(struct bnxt * bp,int * max_rx,int * max_tx,bool shared) bnxt_get_max_rings() argument 16831 bnxt_get_dflt_rings(struct bnxt * bp,int * max_rx,int * max_tx,bool shared) bnxt_get_dflt_rings() argument 16879 bnxt_trim_dflt_sh_rings(struct bnxt * bp) bnxt_trim_dflt_sh_rings() argument 16887 bnxt_adj_dflt_rings(struct bnxt * bp,bool sh) bnxt_adj_dflt_rings() argument 16900 bnxt_set_dflt_rings(struct bnxt * bp,bool sh) bnxt_set_dflt_rings() argument 16962 bnxt_init_dflt_ring_mode(struct bnxt * bp) bnxt_init_dflt_ring_mode() argument 16992 bnxt_restore_pf_fw_resources(struct bnxt * bp) bnxt_restore_pf_fw_resources() argument 17017 bnxt_init_mac_addr(struct bnxt * bp) bnxt_init_mac_addr() argument 17044 bnxt_vpd_read_info(struct bnxt * bp) bnxt_vpd_read_info() argument 17078 bnxt_pcie_dsn_get(struct bnxt * bp,u8 dsn[]) bnxt_pcie_dsn_get() argument 17095 bnxt_map_db_bar(struct bnxt * bp) bnxt_map_db_bar() argument 17105 bnxt_print_device_info(struct bnxt * bp) bnxt_print_device_info() argument 17118 struct bnxt *bp; bnxt_init_one() local 17410 struct bnxt *bp; bnxt_shutdown() local 17446 struct bnxt *bp = netdev_priv(dev); bnxt_suspend() local 17467 struct bnxt *bp = netdev_priv(dev); bnxt_resume() local 17544 struct bnxt *bp = netdev_priv(netdev); bnxt_io_error_detected() local 17598 struct bnxt *bp = netdev_priv(netdev); bnxt_io_slot_reset() local 17682 struct bnxt *bp = netdev_priv(netdev); bnxt_io_resume() local [all...] |