-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rte_eth_rx_queue_count() -95 error for Mellanox NIC and being depreciated in DPDK #724
Comments
Hi @swatson314159 I am not sure why the API
So if one needs the descriptor for a NIC and if rte_eth_rx_queue_count is returning as |
It looks like I was wrong about deprecation of
Mellanox does implement the API call for the version of DPDK used by NFF-Go v0.9.2 here, here and here So now I'm out of ideas for why the -95 error code is being reported, but I'm going to try adding some printouts. I'm also planning to try the advice in this troubleshooting guide, which encouragingly mentions |
@swatson314159 I did some digging into mxl5 driver code,, only place rte_eth_rx_queue_count return
if latter is your case, can you try changing the code for note: there might be a reason for which the mellanox driver vendors forcefully only check for single rx_burst (and not mxq or vector). But at least it is a clue. |
low.checkRSSPacketCount() AKA rte_eth_rx_queue_count() returns -95,
error not supported
, when using Mellanox ConnectX-4 NIC and NFF-Go v0.9.2. This seems to break the scheduler functionality for me. I'm experiencing packet loss without any debug counters reporting it. I'm still troubleshooting, but this intermediate error seemed worth sharing with the community.I'm wondering about the merit of adding an error check on this DPDK API call. However, it appears this API call has been deprecated in the latest version of DPDK. So whether my problem is vendor dependent, NFF-Go needs an alternate method for getting the queue count when upgrading to the latest version of DPDK. I'm interested in doing this work, at least in my fork. Does anyone have a recommendation for the ideal DPDK method for determining queue capacity?
Side-Note: I thought maybe I introduced the error by adding DPDK Flow API support in my fork. I retested without my changes and the same error occurs. Besides a relatively small amount of packet loss, I'm getting very good performance from NFF-Go. I'll be putting in some effort this week attempting to use the latest version of DPDK and fixing my mysterious packet loss.
The text was updated successfully, but these errors were encountered: