net/iavf: check_rx_vec_allow() result is ignored
https://bugs.dpdk.org/show_bug.cgi?id=1098
Bug ID: 1098
Summary: net/iavf: check_rx_vec_allow() result is ignored
Product: DPDK
Version: 22.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: ethdev
Assignee: [email protected]
Reporter: [email protected]Target Milestone: ---
In IAVF driver, check_rx_vec_allow() ensure some conditions are met to authorize vector path usage for a given Rxq.
Its return is assigned to Rxq's (struct iavf_adapter *)->rx_vec_allowed in iavf_dev_rx_queue_setup(), but (struct iavf_adapter *)->rx_vec_allowed is never used afterwards.
Either conditions checked in check_rx_vec_allow() are useless and so it should be removed, or DP selection should take .rx_vec_allowed value into account.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.