summaryrefslogtreecommitdiff
path: root/lib/librte_kni/rte_kni.h
diff options
context:
space:
mode:
authorHemant Agrawal <hemant.agrawal@nxp.com>2018-01-18 11:42:59 +0530
committerThomas Monjalon <thomas@monjalon.net>2018-02-01 01:03:10 +0100
commit528057df4c4fb5b5b45bd8060267cb4105eda212 (patch)
tree64fb65f00156ca15fb5ca4fc72181c5bb431c9d2 /lib/librte_kni/rte_kni.h
parent1cfe212ed17a505be53d09845554cd51607dd2a6 (diff)
downloaddpdk-528057df4c4fb5b5b45bd8060267cb4105eda212.zip
dpdk-528057df4c4fb5b5b45bd8060267cb4105eda212.tar.gz
dpdk-528057df4c4fb5b5b45bd8060267cb4105eda212.tar.xz
kni: support promiscuous mode set
Inform userspace app about promisc mode change Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
Diffstat (limited to 'lib/librte_kni/rte_kni.h')
-rw-r--r--lib/librte_kni/rte_kni.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/librte_kni/rte_kni.h b/lib/librte_kni/rte_kni.h
index 370b02a..711c2a9 100644
--- a/lib/librte_kni/rte_kni.h
+++ b/lib/librte_kni/rte_kni.h
@@ -45,6 +45,9 @@ struct rte_kni_ops {
/* Pointer to function of configuring mac address */
int (*config_mac_address)(uint16_t port_id, uint8_t mac_addr[]);
+
+ /* Pointer to function of configuring promiscuous mode */
+ int (*config_promiscusity)(uint16_t port_id, uint8_t to_on);
};
/**