diff options
| author | Lu Qiuwen <[email protected]> | 2021-04-14 14:31:03 +0800 |
|---|---|---|
| committer | Lu Qiuwen <[email protected]> | 2021-04-14 14:31:03 +0800 |
| commit | dd626f381f590e27394030150af6a761092eb620 (patch) | |
| tree | 4f42412bb00d2589842c6665a2f8a6fca70d29fc /app/include/sendpath.h | |
| parent | cee158a3cc5ef5187f68ac5bcf7c4ff91a646d28 (diff) | |
适配DPDK-20.11.1。
Diffstat (limited to 'app/include/sendpath.h')
| -rw-r--r-- | app/include/sendpath.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/include/sendpath.h b/app/include/sendpath.h index df7f43b..aa33530 100644 --- a/app/include/sendpath.h +++ b/app/include/sendpath.h @@ -51,8 +51,8 @@ struct mr_sendpath struct __mr_sendpath_vdev { struct mr_sendpath _father; - struct ether_addr src_eth_addr; - struct ether_addr dst_eth_addr; + struct rte_ether_addr src_eth_addr; + struct rte_ether_addr dst_eth_addr; }; struct __mr_sendpath_route @@ -64,8 +64,8 @@ struct __mr_sendpath_route struct in_addr dst_addr; /* 二层报文构建信息 */ - struct ether_addr src_eth_addr; - struct ether_addr dst_eth_addr; + struct rte_ether_addr src_eth_addr; + struct rte_ether_addr dst_eth_addr; /* 重查询使用的目标IP地址 */ struct in_addr target_addr; |
