Bug 781

Summary: why use rte_eth_dev_start/stop instead of rte_eth_set_link_up/down in kni_config_network_interface function in examples/kni/main.c
Product: DPDK Reporter: jinag (jinag12138)
Component: examplesAssignee: dev
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   

Description jinag 2021-08-07 12:06:06 CEST
why use rte_eth_dev_start/stop instead of rte_eth_set_link_up/down in kni_config_network_interface function in  examples/kni/main.c
Comment 1 jinag 2021-08-07 12:08:36 CEST
kni_config_network_interface is callback fuction for request of configuring network interface up/down.  is it better to use rte_eth_set_link_up/down ?