kni: support allmulticast mode set
[dpdk.git] / lib / librte_kni / rte_kni.h
index e11a32b..f6b66c3 100644 (file)
@@ -48,6 +48,9 @@ struct rte_kni_ops {
 
        /* Pointer to function of configuring promiscuous mode */
        int (*config_promiscusity)(uint16_t port_id, uint8_t to_on);
+
+       /* Pointer to function of configuring allmulticast mode */
+       int (*config_allmulticast)(uint16_t port_id, uint8_t to_on);
 };
 
 /**
@@ -249,7 +252,8 @@ int rte_kni_unregister_handlers(struct rte_kni *kni);
  *  Previous link state == linkdown: 0
  *  Previous link state == linkup: 1
  */
-int __rte_experimental
+__rte_experimental
+int
 rte_kni_update_link(struct rte_kni *kni, unsigned int linkup);
 
 /**