Loading src/main.c +34 −38 Original line number Diff line number Diff line Loading @@ -157,9 +157,6 @@ flush_packets(struct Adapter *adapter, uint64_t *packets_sent, uint64_t *batchsize) { unsigned is_queue_empty = 0; while (!is_queue_empty) { /* * Send a batch of queued packets */ Loading @@ -174,7 +171,6 @@ flush_packets(struct Adapter *adapter, */ err = rte_ring_sc_dequeue(transmit_queue, (void**)&p); if (err) { is_queue_empty = 1; break; /* queue is empty, nothing to send */ } Loading Loading @@ -202,7 +198,7 @@ flush_packets(struct Adapter *adapter, */ (*packets_sent)++; } } } Loading Loading
src/main.c +34 −38 Original line number Diff line number Diff line Loading @@ -157,9 +157,6 @@ flush_packets(struct Adapter *adapter, uint64_t *packets_sent, uint64_t *batchsize) { unsigned is_queue_empty = 0; while (!is_queue_empty) { /* * Send a batch of queued packets */ Loading @@ -174,7 +171,6 @@ flush_packets(struct Adapter *adapter, */ err = rte_ring_sc_dequeue(transmit_queue, (void**)&p); if (err) { is_queue_empty = 1; break; /* queue is empty, nothing to send */ } Loading Loading @@ -202,7 +198,7 @@ flush_packets(struct Adapter *adapter, */ (*packets_sent)++; } } } Loading