]> git.droids-corp.org - dpdk.git/blobdiff - test/test/test_kni.c
test: use SPDX tags in 6WIND copyrighted files
[dpdk.git] / test / test / test_kni.c
index f6fb1a2fb021f4190ba80a535fcabf5462ad610c..c6867f256d7062e46f0b6b8eecc18fc78dda30f3 100644 (file)
@@ -74,6 +74,8 @@ static const struct rte_eth_conf port_conf = {
 static struct rte_kni_ops kni_ops = {
        .change_mtu = NULL,
        .config_network_if = NULL,
+       .config_mac_address = NULL,
+       .config_promiscusity = NULL,
 };
 
 static unsigned lcore_master, lcore_ingress, lcore_egress;
@@ -231,6 +233,8 @@ test_kni_register_handler_mp(void)
                struct rte_kni_ops ops = {
                        .change_mtu = kni_change_mtu,
                        .config_network_if = NULL,
+                       .config_mac_address = NULL,
+                       .config_promiscusity = NULL,
                };
 
                if (!kni) {