Bug 1139

Summary: expose selection of PMD fast-path functions before dev_start (rte_eth_dev_start)
Product: DPDK Reporter: tinbox-wu (wdy_s)
Component: ethdevAssignee: dev
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: 22.07   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: diff

Description tinbox-wu 2022-12-02 04:50:25 CET
Created attachment 235 [details]
diff

1. startup counsumer thread(main_loop) call rte_eth_rx_burst.
but the real rx_burst is dummy_eth_rx_burst
2. call rte_eth_dev_start: will startup dev and expose selection of PMD fast-path functions 
3. get xstats by name("rx_missed_errors"), maybe see misserr greater than 0

my solution:
expose selection of PMD fast-path functions before dev_start (rte_eth_dev_start)