<div dir="ltr"><br><div><span style="color:rgb(0,0,0);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12.18px">Hello.</span><br style="box-sizing:border-box;color:rgb(0,0,0);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12.18px">Thanks a lot in advance for your help and nice support.</div><div><br style="box-sizing:border-box"><span style="color:rgb(0,0,0);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12.18px">We use tap PMD to send exception packet to kernel by DPDK primary block.</span><br style="box-sizing:border-box;color:rgb(0,0,0);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12.18px"><span style="color:rgb(0,0,0);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12.18px">If the secondary block is driven in this state, vdev probe is performed inside rte_eal_init func and memory is allocated using the rte_zmalloc_socket function if it is a secondary block in the rte_pmd_tap_probe (dpdk-20.11/drivers/net/tap/rte_eth_tap.c) function.</span><br style="box-sizing:border-box;color:rgb(0,0,0);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12.18px"><span style="color:rgb(0,0,0);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12.18px">The secondary block mentioned is used to debug the primary block and is terminated immediately after executing the command so the memory allocated above is not free and is lost.</span><br style="box-sizing:border-box;color:rgb(0,0,0);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12.18px"><span style="color:rgb(0,0,0);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12.18px">The secondary block does not access the tap interface, is there any way to prevent memory allocation for tap vdev?</span><br style="box-sizing:border-box;color:rgb(0,0,0);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12.18px"><span style="color:rgb(0,0,0);font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12.18px">I am inquiring this because rte_eth_tap.c file copyrighted</span><br></div></div>