DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] ethdev: fix ABI breakage in lro code
@ 2015-07-13 10:26 John McNamara
  2015-07-13 10:42 ` Neil Horman
  2015-07-16 22:22 ` Vlad Zolotarov
  0 siblings, 2 replies; 15+ messages in thread
From: John McNamara @ 2015-07-13 10:26 UTC (permalink / raw)
  To: dev, vladz

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 <john.mcnamara@intel.com>
---
 lib/librte_ether/rte_ethdev.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h
index 79bde89..1c3ace1 100644
--- a/lib/librte_ether/rte_ethdev.h
+++ b/lib/librte_ether/rte_ethdev.h
@@ -1578,9 +1578,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) */
 };
 
 /**
-- 
1.8.1.4

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-08-03 12:53 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-13 10:26 [dpdk-dev] [PATCH] ethdev: fix ABI breakage in lro code John McNamara
2015-07-13 10:42 ` Neil Horman
2015-07-13 10:46   ` Thomas Monjalon
2015-07-13 10:47   ` Mcnamara, John
2015-07-13 13:59     ` Neil Horman
2015-07-17 11:45       ` Mcnamara, John
2015-07-17 12:25         ` Neil Horman
2015-07-31  9:03       ` Mcnamara, John
2015-07-31 10:34         ` Neil Horman
2015-08-03  2:39           ` Chao Zhu
2015-08-03  3:45             ` Chao Zhu
2015-08-03  8:41               ` Thomas Monjalon
2015-08-03 12:53                 ` Neil Horman
2015-07-16 22:22 ` Vlad Zolotarov
2015-08-02 21:06   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).