flow: aligned flow balance structures (used by autofp) to CLS to reduce false sharing

pull/650/head
Victor Julien 11 years ago
parent fb4967912c
commit ce120d4927

@ -29,7 +29,7 @@ typedef struct TmqhFlowMode_ {
SC_ATOMIC_DECLARE(uint64_t, total_packets);
SC_ATOMIC_DECLARE(uint64_t, total_flows);
} TmqhFlowMode;
} TmqhFlowMode __attribute__((aligned(CLS)));
/** \brief Ctx for the flow queue handler
* \param size number of queues to output to

Loading…
Cancel
Save