timer: fix pending counter
[dpdk.git] / lib / librte_kni / rte_kni.h
index 694a899..cad877b 100644 (file)
@@ -1,7 +1,7 @@
 /*-
  *   BSD LICENSE
  * 
- *   Copyright(c) 2010-2013 Intel Corporation. All rights reserved.
+ *   Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
  *   All rights reserved.
  * 
  *   Redistribution and use in source and binary forms, with or without
@@ -140,7 +140,7 @@ extern struct rte_kni *rte_kni_create(uint8_t port_id,
  * context need to be stopped before calling this interface.
  *
  * @param kni
- *  The pointer to the context of an existant KNI interface.
+ *  The pointer to the context of an existent KNI interface.
  *
  * @return
  *  - 0 indicates success.
@@ -154,7 +154,7 @@ extern int rte_kni_release(struct rte_kni *kni);
  * Finally constructs the response mbuf and puts it back to the resp_q.
  *
  * @param kni
- *  The pointer to the context of an existant KNI interface.
+ *  The pointer to the context of an existent KNI interface.
  *
  * @return
  *  - 0 
@@ -270,6 +270,16 @@ extern int rte_kni_register_handlers(struct rte_kni *kni,
  */
 extern int rte_kni_unregister_handlers(struct rte_kni *kni);
 
+/**
+ *  close KNI device.
+ * 
+ *  @param void
+ *
+ *  @return 
+ *   void
+ */
+extern void rte_kni_close(void);
+
 #ifdef __cplusplus
 }
 #endif