Imported Upstream version 16.07-rc1
[deb_dpdk.git] / examples / ip_pipeline / pipeline / pipeline_routing_be.h
index ec767b2..1276342 100644 (file)
@@ -54,6 +54,7 @@ enum pipeline_routing_encap {
 struct pipeline_routing_params {
        /* routing */
        uint32_t n_routes;
+       uint32_t port_local_dest;
 
        /* routing packet encapsulation */
        enum pipeline_routing_encap encap;
@@ -160,6 +161,7 @@ enum pipeline_routing_msg_req_type {
        PIPELINE_ROUTING_MSG_REQ_ARP_DEL,
        PIPELINE_ROUTING_MSG_REQ_ARP_ADD_DEFAULT,
        PIPELINE_ROUTING_MSG_REQ_ARP_DEL_DEFAULT,
+       PIPELINE_ROUTING_MSG_REQ_SET_MACADDR,
        PIPELINE_ROUTING_MSG_REQS
 };
 
@@ -291,6 +293,20 @@ struct pipeline_routing_arp_delete_default_msg_rsp {
        int status;
 };
 
+/*
+ * MSG SET MACADDR
+ */
+struct pipeline_routing_set_macaddr_msg_req {
+       enum pipeline_msg_req_type type;
+       enum pipeline_routing_msg_req_type subtype;
+
+       uint64_t macaddr[PIPELINE_MAX_PORT_OUT];
+};
+
+struct pipeline_routing_set_macaddr_msg_rsp {
+       int status;
+};
+
 extern struct pipeline_be_ops pipeline_routing_be_ops;
 
 #endif