X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_kni%2Frte_kni.h;h=cad877b21e26029e7788a88662bfe3f7473dcca6;hb=57f0ba5f8b8588dfa6ffcd001447ef6337afa6cd;hp=694a89996dd6e4b96e1f79e1c4c403e953787085;hpb=9c61145ff6f977dd55ccf6c293f842eb768f45c2;p=dpdk.git diff --git a/lib/librte_kni/rte_kni.h b/lib/librte_kni/rte_kni.h index 694a89996d..cad877b21e 100644 --- a/lib/librte_kni/rte_kni.h +++ b/lib/librte_kni/rte_kni.h @@ -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