Home
last modified time | relevance | path

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

/arch/mips/cavium-octeon/executive/
Dcvmx-helper.c610 int size, num_segs = 0, wqe_pcnt, pkt_pcnt; in __cvmx_helper_errata_fix_ipd_ptr_alignment() local
649 num_segs = (2 + pkt_pcnt - wqe_pcnt) & 3; in __cvmx_helper_errata_fix_ipd_ptr_alignment()
651 if (num_segs == 0) in __cvmx_helper_errata_fix_ipd_ptr_alignment()
654 num_segs += 1; in __cvmx_helper_errata_fix_ipd_ptr_alignment()
658 ((num_segs - 1) * FIX_IPD_NON_FIRST_BUFF_PAYLOAD_BYTES) - in __cvmx_helper_errata_fix_ipd_ptr_alignment()
675 g_buffer.s.size = num_segs; in __cvmx_helper_errata_fix_ipd_ptr_alignment()
695 for (i = 0; i < num_segs; i++) { in __cvmx_helper_errata_fix_ipd_ptr_alignment()
700 if (i == (num_segs - 1)) in __cvmx_helper_errata_fix_ipd_ptr_alignment()
709 pko_command.s.segs = num_segs; in __cvmx_helper_errata_fix_ipd_ptr_alignment()
787 if (num_segs) in __cvmx_helper_errata_fix_ipd_ptr_alignment()
[all …]