Dmitry Eremin-Solenikov(lumag) replied on github web page:

platform/linux-generic/include/odp_packet_dpdk.h
line 11
@@ -54,12 +54,12 @@ typedef struct ODP_ALIGNED_CACHE {
        unsigned min_rx_burst;            /**< minimum RX burst size */
        odp_pktin_hash_proto_t hash;      /**< Packet input hash protocol */
        uint16_t mtu;                     /**< maximum transmission unit */
+       uint16_t port_id;                 /**< DPDK port identifier */
        /** Use system call to get/set vdev promisc mode */
        uint8_t vdev_sysc_promisc;
        uint8_t lockless_rx;              /**< no locking for rx */
        uint8_t lockless_tx;              /**< no locking for tx */
-       uint8_t port_id;                          /**< DPDK port identifier */
-       /* --- 34 bytes --- */
+       /* --- 35 bytes --- */


Comment:
Or just alignment directive

> Bill Fischofer(Bill-Fischofer-Linaro) wrote:
> Perhaps add an explicit 5 byte pad field here? 


https://github.com/Linaro/odp/pull/478#discussion_r168202738
updated_at 2018-02-14 15:08:58

Reply via email to