net/mlx5: add Direct Verbs translate items
[dpdk.git] / test / test / test_kni.c
index 56773c8..cf64c0b 100644 (file)
@@ -70,13 +70,6 @@ static const struct rte_eth_txconf tx_conf = {
 };
 
 static const struct rte_eth_conf port_conf = {
-       .rxmode = {
-               .header_split = 0,
-               .hw_ip_checksum = 0,
-               .hw_vlan_filter = 0,
-               .jumbo_frame = 0,
-               .hw_strip_crc = 1,
-       },
        .txmode = {
                .mq_mode = ETH_DCB_NONE,
        },
@@ -433,12 +426,6 @@ test_kni_processing(uint16_t port_id, struct rte_mempool *mp)
        }
        test_kni_ctx = NULL;
 
-       /* test of releasing a released kni device */
-       if (rte_kni_release(kni) == 0) {
-               printf("should not release a released kni device\n");
-               return -1;
-       }
-
        /* test of reusing memzone */
        kni = rte_kni_alloc(mp, &conf, &ops);
        if (!kni) {