| H A D | otx2_common.c | 22 static bool otx2_is_pfc_enabled(struct otx2_nic *pfvf) in otx2_is_pfc_enabled() argument 24 return IS_ENABLED(CONFIG_DCB) && !!pfvf->pfc_en; in otx2_is_pfc_enabled() 28 struct otx2_nic *pfvf, int qidx) in otx2_nix_rq_op_stats() argument 33 ptr = otx2_get_regaddr(pfvf, NIX_LF_RQ_OP_OCTS); in otx2_nix_rq_op_stats() 36 ptr = otx2_get_regaddr(pfvf, NIX_LF_RQ_OP_PKTS); in otx2_nix_rq_op_stats() 41 struct otx2_nic *pfvf, int qidx) in otx2_nix_sq_op_stats() argument 46 ptr = otx2_get_regaddr(pfvf, NIX_LF_SQ_OP_OCTS); in otx2_nix_sq_op_stats() 49 ptr = otx2_get_regaddr(pfvf, NIX_LF_SQ_OP_PKTS); in otx2_nix_sq_op_stats() 53 void otx2_update_lmac_stats(struct otx2_nic *pfvf) in otx2_update_lmac_stats() argument 57 if (!netif_running(pfvf in otx2_update_lmac_stats() 71 otx2_update_lmac_fec_stats(struct otx2_nic * pfvf) otx2_update_lmac_fec_stats() argument 84 otx2_update_rq_stats(struct otx2_nic * pfvf,int qidx) otx2_update_rq_stats() argument 96 otx2_update_sq_stats(struct otx2_nic * pfvf,int qidx) otx2_update_sq_stats() argument 113 otx2_get_dev_stats(struct otx2_nic * pfvf) otx2_get_dev_stats() argument 141 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_get_stats64() local 159 otx2_hw_set_mac_addr(struct otx2_nic * pfvf,u8 * mac) otx2_hw_set_mac_addr() argument 178 otx2_hw_get_mac_addr(struct otx2_nic * pfvf,struct net_device * netdev) otx2_hw_get_mac_addr() argument 213 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_set_mac_address() local 236 otx2_hw_set_mtu(struct otx2_nic * pfvf,int mtu) otx2_hw_set_mtu() argument 263 otx2_config_pause_frm(struct otx2_nic * pfvf) otx2_config_pause_frm() argument 289 otx2_set_flowkey_cfg(struct otx2_nic * pfvf) otx2_set_flowkey_cfg() argument 323 otx2_set_rss_table(struct otx2_nic * pfvf,int ctx_id,const u32 * ind_tbl) otx2_set_rss_table() argument 369 otx2_set_rss_key(struct otx2_nic * pfvf) otx2_set_rss_key() argument 392 otx2_rss_init(struct otx2_nic * pfvf) otx2_rss_init() argument 463 otx2_setup_segmentation(struct otx2_nic * pfvf) otx2_setup_segmentation() argument 518 otx2_config_irq_coalescing(struct otx2_nic * pfvf,int qidx) otx2_config_irq_coalescing() argument 532 otx2_alloc_pool_buf(struct otx2_nic * pfvf,struct otx2_pool * pool,dma_addr_t * dma) otx2_alloc_pool_buf() argument 550 __otx2_alloc_rbuf(struct otx2_nic * pfvf,struct otx2_pool * pool,dma_addr_t * dma,int qidx,int idx) __otx2_alloc_rbuf() argument 575 otx2_alloc_rbuf(struct otx2_nic * pfvf,struct otx2_pool * pool,dma_addr_t * dma,int qidx,int idx) otx2_alloc_rbuf() argument 586 otx2_alloc_buffer(struct otx2_nic * pfvf,struct otx2_cq_queue * cq,dma_addr_t * dma) otx2_alloc_buffer() argument 597 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_tx_timeout() local 605 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_get_mac_from_af() local 618 otx2_txschq_config(struct otx2_nic * pfvf,int lvl,int prio,bool txschq_for_pfc) otx2_txschq_config() argument 737 otx2_smq_flush(struct otx2_nic * pfvf,int smq) otx2_smq_flush() argument 761 otx2_txsch_alloc(struct otx2_nic * pfvf) otx2_txsch_alloc() argument 805 otx2_txschq_free_one(struct otx2_nic * pfvf,u16 lvl,u16 schq) otx2_txschq_free_one() argument 833 otx2_txschq_stop(struct otx2_nic * pfvf) otx2_txschq_stop() argument 853 otx2_sqb_flush(struct otx2_nic * pfvf) otx2_sqb_flush() argument 891 otx2_rq_init(struct otx2_nic * pfvf,u16 qidx,u16 lpb_aura) otx2_rq_init() argument 926 struct otx2_nic *pfvf = dev; otx2_sq_aq_init() local 961 otx2_sq_init(struct otx2_nic * pfvf,u16 qidx,u16 sqb_aura) otx2_sq_init() argument 1051 otx2_cq_init(struct otx2_nic * pfvf,u16 qidx) otx2_cq_init() argument 1158 struct otx2_nic *pfvf; otx2_pool_refill_task() local 1173 otx2_config_nix_queues(struct otx2_nic * pfvf) otx2_config_nix_queues() argument 1219 otx2_config_nix(struct otx2_nic * pfvf) otx2_config_nix() argument 1264 otx2_sq_free_sqbs(struct otx2_nic * pfvf) otx2_sq_free_sqbs() argument 1290 otx2_free_bufs(struct otx2_nic * pfvf,struct otx2_pool * pool,u64 iova,int size) otx2_free_bufs() argument 1311 otx2_free_aura_ptr(struct otx2_nic * pfvf,int type) otx2_free_aura_ptr() argument 1349 otx2_aura_pool_free(struct otx2_nic * pfvf) otx2_aura_pool_free() argument 1369 otx2_aura_init(struct otx2_nic * pfvf,int aura_id,int pool_id,int numptrs) otx2_aura_init() argument 1376 otx2_aura_aq_init(struct otx2_nic * pfvf,int aura_id,int pool_id,int numptrs) otx2_aura_aq_init() argument 1453 otx2_pool_init(struct otx2_nic * pfvf,u16 pool_id,int stack_pages,int numptrs,int buf_size,int type) otx2_pool_init() argument 1460 otx2_pool_aq_init(struct otx2_nic * pfvf,u16 pool_id,int stack_pages,int numptrs,int buf_size,int type) otx2_pool_aq_init() argument 1544 otx2_sq_aura_pool_init(struct otx2_nic * pfvf) otx2_sq_aura_pool_init() argument 1625 otx2_rq_aura_pool_init(struct otx2_nic * pfvf) otx2_rq_aura_pool_init() argument 1683 otx2_config_npa(struct otx2_nic * pfvf) otx2_config_npa() argument 1736 otx2_attach_npa_nix(struct otx2_nic * pfvf) otx2_attach_npa_nix() argument 1818 otx2_nix_config_bp(struct otx2_nic * pfvf,bool enable) otx2_nix_config_bp() argument 1843 otx2_nix_cpt_config_bp(struct otx2_nic * pfvf,bool enable) otx2_nix_cpt_config_bp() argument 1869 mbox_handler_cgx_stats(struct otx2_nic * pfvf,struct cgx_stats_rsp * rsp) mbox_handler_cgx_stats() argument 1880 mbox_handler_cgx_fec_stats(struct otx2_nic * pfvf,struct cgx_fec_stats_rsp * rsp) mbox_handler_cgx_fec_stats() argument 1887 mbox_handler_npa_lf_alloc(struct otx2_nic * pfvf,struct npa_lf_alloc_rsp * rsp) mbox_handler_npa_lf_alloc() argument 1895 mbox_handler_nix_lf_alloc(struct otx2_nic * pfvf,struct nix_lf_alloc_rsp * rsp) mbox_handler_nix_lf_alloc() argument 1911 mbox_handler_msix_offset(struct otx2_nic * pfvf,struct msix_offset_rsp * rsp) mbox_handler_msix_offset() argument 1919 mbox_handler_nix_bp_enable(struct otx2_nic * pfvf,struct nix_bp_cfg_rsp * rsp) mbox_handler_nix_bp_enable() argument 1931 otx2_free_cints(struct otx2_nic * pfvf,int n) otx2_free_cints() argument 1949 otx2_set_cints_affinity(struct otx2_nic * pfvf) otx2_set_cints_affinity() argument 1973 get_dwrr_mtu(struct otx2_nic * pfvf,struct nix_hw_info * hw) get_dwrr_mtu() argument 1984 otx2_get_max_mtu(struct otx2_nic * pfvf) otx2_get_max_mtu() argument 2036 struct otx2_nic *pfvf = netdev_priv(netdev); otx2_handle_ntuple_tc_features() local 2068 otx2_set_hw_capabilities(struct otx2_nic * pfvf) otx2_set_hw_capabilities() argument 2119 otx2_dma_map_skb_frag(struct otx2_nic * pfvf,struct sk_buff * skb,int seg,int * len) otx2_dma_map_skb_frag() argument 2147 otx2_dma_unmap_skb_frags(struct otx2_nic * pfvf,struct sg_list * sg) otx2_dma_unmap_skb_frags() argument [all...] |