Changeset 7e09388
- Timestamp:
- 11/14/17 13:58:01 (3 years ago)
- Branches:
- cachetimestamps, develop, dpdk-ndag, etsilive, master, ndag_format, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance
- Children:
- 9d00fb13
- Parents:
- 07de3c6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_ndag.c
r07de3c6 r7e09388 709 709 ssock->mmsgbufs[i].msg_hdr.msg_controllen = 0; 710 710 ssock->mmsgbufs[i].msg_hdr.msg_flags = 0; 711 ssock->mmsgbufs[i].msg_len = 1;711 ssock->mmsgbufs[i].msg_len = 0; 712 712 } 713 713 … … 781 781 if (i >= RECV_BATCH_SIZE) { 782 782 break; 783 } 784 785 if (wind >= ENCAP_BUFFERS) { 786 wind = 0; 783 787 } 784 788 … … 875 879 } 876 880 877 if (ssock->bufavail == 0) { 878 /* All buffers were full, so something must be 879 * available. */ 880 return 1; 881 } 882 881 /* Plenty of full buffers, just use the packets in those */ 883 882 if (ssock->bufavail < RECV_BATCH_SIZE / 2) { 884 883 return 1;
Note: See TracChangeset
for help on using the changeset viewer.