Changeset 8efa986 for lib/format_dpdk.h


Ignore:
Timestamp:
12/14/17 11:03:03 (3 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
cachetimestamps, develop, dpdk-ndag, etsilive, master, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance
Children:
a6f2d1d
Parents:
b3199cf
Message:

Ensure dpdk snap length is rounded up to next power of 2

Otherwise, we run the risk of the mbufs being too small for our
anticipated packets.

Changed dpdk_get_framing_length and dpdk_get_stats to be accessible
via format_dpdk.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_dpdk.h

    rc7e547e r8efa986  
    284284                bool reading);
    285285void dpdk_punregister_thread(libtrace_t *libtrace, libtrace_thread_t *t);
     286void dpdk_get_stats(libtrace_t *trace, libtrace_stat_t *stats);
     287int dpdk_get_framing_length (const libtrace_packet_t *packet) ;
    286288int dpdk_read_packet_stream (libtrace_t *libtrace,
    287289                dpdk_per_stream_t *stream,
Note: See TracChangeset for help on using the changeset viewer.