Searched refs:tx_chain (Results 1 – 3 of 3) sorted by relevance
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_send.c | 50 lm_tx_chain_t *tx_chain = &LM_TXQ(pdev, chain_idx); in lm_is_tx_completion() local 52 DbgBreakIf(!(pdev && tx_chain)); in lm_is_tx_completion() 56 … if ( tx_chain->hw_con_idx_ptr && (mm_le16_to_cpu(*tx_chain->hw_con_idx_ptr) != tx_chain->pkt_idx)) in lm_is_tx_completion() 67 IN lm_tx_chain_t *tx_chain, in lm_handle_lso_split() argument 88 prod_bd = (struct eth_tx_bd *)lm_bd_chain_produce_bd(&tx_chain->bd_chain); in lm_handle_lso_split() 95 tx_chain->lso_split_used++; in lm_handle_lso_split() 136 IN lm_tx_chain_t *tx_chain, in lm_process_lso_packet() argument 199 tx_chain, in lm_process_lso_packet() 218 prod_bd = (struct eth_tx_bd *)lm_bd_chain_produce_bd(&tx_chain->bd_chain); in lm_process_lso_packet() 231 tx_chain, in lm_process_lso_packet() [all …]
|
H A D | lm_resc.c | 302 lm_tx_chain_t *tx_chain = NULL ; in lm_alloc_txq() local 315 tx_chain = &LM_TXQ(pdev, cid); in lm_alloc_txq() 321 tx_chain->bd_chain.bd_chain_virt = in lm_alloc_txq() 322 mm_alloc_phys_mem( pdev, mem_size, &tx_chain->bd_chain.bd_chain_phy, 0, mm_cli_idx); in lm_alloc_txq() 323 if(ERR_IF(!tx_chain->bd_chain.bd_chain_virt)) in lm_alloc_txq() 328 mm_mem_zero(tx_chain->bd_chain.bd_chain_virt, mem_size); in lm_alloc_txq() 330 tx_chain->bd_chain.page_cnt = page_cnt; in lm_alloc_txq() 332 s_list_init(&tx_chain->active_descq, NULL, NULL, 0); in lm_alloc_txq() 333 s_list_init(&tx_chain->coalesce_buf_list, NULL, NULL, 0); in lm_alloc_txq() 334 tx_chain->idx = cid; in lm_alloc_txq() [all …]
|
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/ |
H A D | lm_l4tx.c | 95 lm_bd_chain_t *tx_chain; in lm_tcp_tx_post_buf() local 107 tx_chain = &tx_con->bd_chain; in lm_tcp_tx_post_buf() 120 if(lm_bd_chain_avail_bds(tx_chain) < frag_list->cnt + 1) { in lm_tcp_tx_post_buf() 122 tcp->cid, lm_bd_chain_avail_bds(tx_chain), frag_list->cnt); in lm_tcp_tx_post_buf() 135 old_prod = lm_bd_chain_prod_idx(tx_chain); in lm_tcp_tx_post_buf() 141 tx_bd = (struct toe_tx_bd *)lm_toe_bd_chain_produce_bd(tx_chain); in lm_tcp_tx_post_buf() 171 new_prod = lm_bd_chain_prod_idx(tx_chain); in lm_tcp_tx_post_buf() 199 if (tx_con->u.tx.bds_without_comp_flag > (tx_chain->capacity - MAX_FRAG_CNT_PER_TB)) { in lm_tcp_tx_post_buf()
|