Bug 1139 - expose selection of PMD fast-path functions before dev_start (rte_eth_dev_start)
Summary: expose selection of PMD fast-path functions before dev_start (rte_eth_dev_start)
Status: UNCONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: ethdev (show other bugs)
Version: 22.07
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: dev
URL:
Depends on:
Blocks:
 
Reported: 2022-12-02 04:50 CET by tinbox-wu
Modified: 2022-12-02 04:53 CET (History)
0 users



Attachments
diff (101.76 KB, image/jpeg)
2022-12-02 04:50 CET, tinbox-wu
Details

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)

Note You need to log in before you can comment on or make changes to this bug.