This is a gentoo overlay hosting either customized ebuilds I have in use as well as ebuilds for my own projects.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
612 B

diff --git a/src/spdk/dpdk/lib/librte_net/rte_ether.h b/src/spdk/dpdk/lib/librte_net/rte_ether.h
index 3a87ff184..8090b7c01 100644
--- a/src/spdk/dpdk/lib/librte_net/rte_ether.h
+++ b/src/spdk/dpdk/lib/librte_net/rte_ether.h
@@ -55,7 +55,8 @@ extern "C" {
* See http://standards.ieee.org/regauth/groupmac/tutorial.html
*/
struct ether_addr {
- uint8_t addr_bytes[ETHER_ADDR_LEN]; /**< Addr bytes in tx order */
+ /** Addr bytes in tx order */
+ uint8_t addr_bytes[ETHER_ADDR_LEN] __rte_aligned(2);
} __attribute__((__packed__));
#define ETHER_LOCAL_ADMIN_ADDR 0x02 /**< Locally assigned Eth. address. */