H A D | mana_en.c | 67 static int mana_up(struct mana_port_context *apc); 68 static int mana_down(struct mana_port_context *apc); 95 struct mana_port_context *apc = if_getsoftc(ifp); local 97 if (!apc) { 102 MANA_APC_LOCK_LOCK(apc); 107 if (!apc->port_is_up) { 108 MANA_APC_LOCK_UNLOCK(apc); 109 mana_dbg(NULL, "Port %u link is down\n", apc->port_idx); 116 MANA_APC_LOCK_UNLOCK(apc); 122 struct mana_port_context *apc local 150 mana_restart(struct mana_port_context *apc) argument 167 struct mana_port_context *apc = if_getsoftc(ifp); local 349 mana_tx_map_mbuf(struct mana_port_context *apc, struct mana_send_buf_info *tx_info, struct mbuf **m_head, struct mana_tx_package *tp, struct mana_stats *tx_stats) argument 397 mana_tx_unmap_mbuf(struct mana_port_context *apc, struct mana_send_buf_info *tx_info) argument 410 mana_load_rx_mbuf(struct mana_port_context *apc, struct mana_rxq *rxq, struct mana_recv_buf_oob *rx_oob, bool alloc_mbuf) argument 467 mana_unload_rx_mbuf(struct mana_port_context *apc, struct mana_rxq *rxq, struct mana_recv_buf_oob *rx_oob, bool free_mbuf) argument 494 struct mana_port_context *apc = if_getsoftc(ndev); local 670 struct mana_port_context *apc = if_getsoftc(ndev); local 804 struct mana_port_context *apc = if_getsoftc(ifp); local 865 mana_cleanup_port_context(struct mana_port_context *apc) argument 879 mana_init_port_context(struct mana_port_context *apc) argument 1029 mana_query_vport_cfg(struct mana_port_context *apc, uint32_t vport_index, uint32_t *max_sq, uint32_t *max_rq, uint32_t *num_indir_entry) argument 1065 mana_uncfg_vport(struct mana_port_context *apc) argument 1076 mana_cfg_vport(struct mana_port_context *apc, uint32_t protection_dom_id, uint32_t doorbell_pg_id) argument 1144 mana_cfg_vport_steering(struct mana_port_context *apc, enum TRI_STATE rx, bool update_default_rxobj, bool update_key, bool update_tab) argument 1213 mana_create_wq_obj(struct mana_port_context *apc, mana_handle_t vport, uint32_t wq_type, struct mana_obj_spec *wq_spec, struct mana_obj_spec *cq_spec, mana_handle_t *wq_obj) argument 1268 mana_destroy_wq_obj(struct mana_port_context *apc, uint32_t wq_type, mana_handle_t wq_obj) argument 1351 mana_fence_rq(struct mana_port_context *apc, struct mana_rxq *rxq) argument 1391 mana_fence_rqs(struct mana_port_context *apc) argument 1436 struct mana_port_context *apc; local 1634 struct mana_port_context *apc; local 1737 struct mana_port_context *apc; local 1924 mana_deinit_cq(struct mana_port_context *apc, struct mana_cq *cq) argument 1946 mana_deinit_txq(struct mana_port_context *apc, struct mana_txq *txq) argument 2009 mana_destroy_txq(struct mana_port_context *apc) argument 2029 mana_create_txq(struct mana_port_context *apc, if_t net) argument 2220 mana_destroy_rxq(struct mana_port_context *apc, struct mana_rxq *rxq, bool validate_state) argument 2266 mana_alloc_rx_wqe(struct mana_port_context *apc, struct mana_rxq *rxq, uint32_t *rxq_size, uint32_t *cq_size) argument 2338 mana_create_rxq(struct mana_port_context *apc, uint32_t rxq_idx, struct mana_eq *eq, if_t ndev) argument 2499 mana_add_rx_queues(struct mana_port_context *apc, if_t ndev) argument 2522 mana_destroy_vport(struct mana_port_context *apc) argument 2542 mana_create_vport(struct mana_port_context *apc, if_t net) argument 2557 mana_rss_table_init(struct mana_port_context *apc) argument 2565 mana_config_rss(struct mana_port_context *apc, enum TRI_STATE rx, bool update_hash, bool update_tab) argument 2591 struct mana_port_context *apc = if_getsoftc(ndev); local 2629 struct mana_port_context *apc = if_getsoftc(ndev); local 2656 mana_up(struct mana_port_context *apc) argument 2686 struct mana_port_context *apc = (struct mana_port_context *)arg; local 2698 struct mana_port_context *apc = if_getsoftc(ndev); local 2746 mana_down(struct mana_port_context *apc) argument 2776 struct mana_port_context *apc = if_getsoftc(ndev); local 2802 struct mana_port_context *apc; local [all...] |