Home
last modified time | relevance | path

Searched refs:sge_size (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/common/io/comstar/port/fcoet/
H A Dfcoet.c887 int sge_size; in fcoet_dbuf_alloc() local
920 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()
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_recv.c359 … u32_t sge_size = mm_le16_to_cpu(cqe->pkt_len) - pkt->l2pkt_rx_info->size; in lm_tpa_stop() local
360 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()
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_sli4.c2423 int32_t sge_size; in emlxs_pkt_to_sgl() local
2490 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() local
2788 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 …]