On 8/30/2019 3:33 PM, Stephen Hemminger wrote:
On Fri, 30 Aug 2019 10:19:20 +0100
Radu Nicolau <radu.nico...@intel.com> wrote:

struct rte_security_ipsec_stats {
+       uint64_t ipackets;  /**< Successfully received IPsec packets. */
+       uint64_t opackets;  /**< Successfully transmitted IPsec packets.*/
+       uint64_t ibytes;    /**< Successfully received IPsec bytes. */
+       uint64_t obytes;    /**< Successfully transmitted IPsec bytes. */
+       uint64_t ierrors;   /**< IPsec packets receive/decrypt errors. */
+       uint64_t oerrors;   /**< IPsec packets transmit/encrypt errors. */
        uint64_t reserved;
};
Why not a second reserved field, then it will be 8*8 64 bytes long
which is cache aligned. And you will have a pair for future counters.
Yes, I will add a second reserved field.

Reply via email to