From: John McNamara Date: Mon, 13 Jul 2015 10:26:25 +0000 (+0100) Subject: ethdev: fix ABI breakage X-Git-Tag: spdx-start~8579 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5668a2b58e11a3cfa7c66786f463d71a7f84edce;p=dpdk.git ethdev: fix ABI breakage Fix for ABI breakage introduced in LRO addition. Moves lro bitfield to the end of the struct/member. Fixes: 8eecb3295aed (ixgbe: add LRO support) Signed-off-by: John McNamara Acked-by: Vlad Zolotarov --- diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index f1e622b110..544afe09e4 100644 --- a/lib/librte_ether/rte_ethdev.h +++ b/lib/librte_ether/rte_ethdev.h @@ -1636,9 +1636,9 @@ struct rte_eth_dev_data { uint8_t port_id; /**< Device [external] port identifier. */ uint8_t promiscuous : 1, /**< RX promiscuous mode ON(1) / OFF(0). */ scattered_rx : 1, /**< RX of scattered packets is ON(1) / OFF(0) */ - lro : 1, /**< RX LRO is ON(1) / OFF(0) */ all_multicast : 1, /**< RX all multicast mode ON(1) / OFF(0). */ - dev_started : 1; /**< Device state: STARTED(1) / STOPPED(0). */ + dev_started : 1, /**< Device state: STARTED(1) / STOPPED(0). */ + lro : 1; /**< RX LRO is ON(1) / OFF(0) */ }; /**