Fix autofp flow queue handler optimization

pull/651/merge
Victor Julien 12 years ago
parent 480fddd189
commit e392c0a4ce

@ -26,10 +26,13 @@
typedef struct TmqhFlowMode_ { typedef struct TmqhFlowMode_ {
PacketQueue *q; PacketQueue *q;
#if __WORDSIZE == 32
uint32_t pad1;
#endif
SC_ATOMIC_DECLARE(uint64_t, total_packets); SC_ATOMIC_DECLARE(uint64_t, total_packets);
SC_ATOMIC_DECLARE(uint64_t, total_flows); SC_ATOMIC_DECLARE(uint64_t, total_flows);
} TmqhFlowMode __attribute__((aligned(CLS))); uint32_t pad[10];
} TmqhFlowMode __attribute__((aligned(64)));
/** \brief Ctx for the flow queue handler /** \brief Ctx for the flow queue handler
* \param size number of queues to output to * \param size number of queues to output to

Loading…
Cancel
Save