> rx/tx offload: > > 1.Dean has rebased this series but is running into a bug with the capability > check test parser returning no flags. He confirmed from running the steps > manually that the flags we expect are being reported by testpmd. > > 2. Dean please provide a summary to Luca so there is no double work.
Hi Luca, Essentially what I ran into while trying to rebase the series was an issue with the parser in the OffloadCapability class. The make_parser function contains an argument called "find_multiple", which will match all port/queue capabilities/configurations found in testpmd, rather than just the first instance. This argument is set to True and runs during test suite execution, but causes an error because one of the variables sent to from_list() during the parser creation is not a list of strings (like it's supposed to be) but instead the string "0". I moved away from the series to work on some other items in the meantime, but I was thinking it could be an issue with the regex that is grabbing an extra string. In this instance, the command "show port 0 rx_offload configuration" is sent to testpmd, which prints something like the following: testpmd> show port 0 rx_offload configuration Rx Offloading Configuration of port 0 : Port : Queue[ 0] : If I had to guess, the "0" string is coming from the last line, but again I never finished debugging so just an educated guess. If you run into the same problem let me know. Cheers