commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r9023 - usrp2/branches/features/host-ng/host-ng/lib


From: eb
Subject: [Commit-gnuradio] r9023 - usrp2/branches/features/host-ng/host-ng/lib
Date: Fri, 25 Jul 2008 17:13:42 -0600 (MDT)

Author: eb
Date: 2008-07-25 17:13:41 -0600 (Fri, 25 Jul 2008)
New Revision: 9023

Modified:
   usrp2/branches/features/host-ng/host-ng/lib/eth_buffer.cc
Log:
It's not out job to init the body of the ring\!

Modified: usrp2/branches/features/host-ng/host-ng/lib/eth_buffer.cc
===================================================================
--- usrp2/branches/features/host-ng/host-ng/lib/eth_buffer.cc   2008-07-25 
23:12:23 UTC (rev 9022)
+++ usrp2/branches/features/host-ng/host-ng/lib/eth_buffer.cc   2008-07-25 
23:13:41 UTC (rev 9023)
@@ -139,8 +139,8 @@
     d_ring = std::vector<uint8_t *>(req.tp_frame_nr);
     for (unsigned int i=0; i < req.tp_frame_nr; i++) {
       d_ring[i] = (uint8_t *)(d_buf+i*req.tp_frame_size);
-      ((tpacket_hdr *)(d_ring[i]))->tp_status = TP_STATUS_KERNEL; // free
-      ((tpacket_hdr *)(d_ring[i]))->tp_len = req.tp_frame_size;
+      // ((tpacket_hdr *)(d_ring[i]))->tp_status = TP_STATUS_KERNEL; // free
+      // ((tpacket_hdr *)(d_ring[i]))->tp_len = req.tp_frame_size;
     }
 
     // If not using kernel ring, instantiate select/read thread here





reply via email to

[Prev in Thread] Current Thread [Next in Thread]