Searched refs:sge_size (Results 1 – 3 of 3) sorted by relevance
887 int sge_size; in fcoet_dbuf_alloc() local920 sge_size = ss->ss_fcp_data_payload_size; in fcoet_dbuf_alloc()923 sge_size, &fc_buf); in fcoet_dbuf_alloc()936 dbuf->db_sglist[idx].seg_length = sge_size; in fcoet_dbuf_alloc()943 sge_size = P2ROUNDUP(size % ss->ss_fcp_data_payload_size, 4); in fcoet_dbuf_alloc()945 sge_size = ss->ss_fcp_data_payload_size; in fcoet_dbuf_alloc()951 sge_size, &fc_buf); in fcoet_dbuf_alloc()965 dbuf->db_sglist[idx].seg_length = sge_size; in fcoet_dbuf_alloc()
359 … u32_t sge_size = mm_le16_to_cpu(cqe->pkt_len) - pkt->l2pkt_rx_info->size; in lm_tpa_stop() local360 u32_t const sge_num_elem = DIV_ROUND_UP_BITS(sge_size, LM_TPA_PAGE_BITS); in lm_tpa_stop()420 DbgBreakIf((fw_sge_index != (sge_num_elem - 1)) && (sge_size < LM_TPA_PAGE_SIZE )); in lm_tpa_stop()421 pkt->l2pkt_rx_info->size = min(sge_size ,lm_tpa_page_size); in lm_tpa_stop()424 sge_size -= LM_TPA_PAGE_SIZE; in lm_tpa_stop()
2423 int32_t sge_size; in emlxs_pkt_to_sgl() local2490 sge_size = cp->dmac_size; in emlxs_pkt_to_sgl()2492 while (sge_size && size) { in emlxs_pkt_to_sgl()2499 len = MIN(EMLXS_MAX_SGE_SIZE, sge_size); in emlxs_pkt_to_sgl()2515 sge_size -= len; in emlxs_pkt_to_sgl()2673 uint32_t sge_size; in emlxs_sli4_fct_bde_setup() local2788 sge_size = size; in emlxs_sli4_fct_bde_setup()2793 while (sge_size) { in emlxs_sli4_fct_bde_setup()2801 len = MIN(EMLXS_MAX_SGE_SIZE, sge_size); in emlxs_sli4_fct_bde_setup()2810 sge_size -= len; in emlxs_sli4_fct_bde_setup()[all …]