From: Olivier Matz Date: Tue, 4 Apr 2017 16:28:06 +0000 (+0200) Subject: mbuf: move sequence number in second cache line X-Git-Tag: spdx-start~3789 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=a22659550c3bc5b03408b35c6b73abb9098b3c62;p=dpdk.git mbuf: move sequence number in second cache line Move this field in the second cache line, since no driver use it in Rx path. The freed space will be used by a timestamp in next commit. Signed-off-by: Olivier Matz --- diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 323a1ac163..349f0512ea 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib/librte_mbuf/rte_mbuf.h @@ -477,8 +477,6 @@ struct rte_mbuf { uint32_t usr; /**< User defined tags. See rte_distributor_process() */ } hash; /**< hash information */ - uint32_t seqn; /**< Sequence number. See also rte_reorder_insert() */ - /** Outer VLAN TCI (CPU order), valid if PKT_RX_QINQ_STRIPPED is set. */ uint16_t vlan_tci_outer; @@ -523,6 +521,10 @@ struct rte_mbuf { /** Timesync flags for use with IEEE1588. */ uint16_t timesync; + + /** Sequence number. See also rte_reorder_insert(). */ + uint32_t seqn; + } __rte_cache_aligned; /**