[RFC,2/5] net: add stub for RARP packet generation on Windows
Checks
Commit Message
RARP packets are optionally generated by virtio-net PMD.
Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
---
lib/librte_net/rte_net.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
@@ -487,3 +487,15 @@ uint32_t rte_net_get_ptype(const struct rte_mbuf *m,
return pkt_type;
}
+
+#ifdef _WIN64
+struct rte_mbuf * __rte_experimental
+rte_net_make_rarp_packet(struct rte_mempool *mpool,
+ const struct ether_addr *mac)
+{
+ RTE_SET_USED(mpool);
+ RTE_SET_USED(mac);
+ RTE_LOG(ERR, EAL, "RARP packet creation not implemented for Windows\n");
+ return NULL;
+}
+#endif