Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/sfc: fix xstats query by ID according to ethdev
[ upstream commit 8232cc2 ] Fix xstats by ID callbacks according to ethdev usage. Handle combinations of input arguments that are required by ethdev and sanity check and reject other combinations on callback entry. Fixes: 73280c1 ("net/sfc: support xstats retrieval by ID") Signed-off-by: Ivan Ilchenko <ivan.ilchenko@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Reviewed-by: Andy Moreton <amoreton@xilinx.com>
- Loading branch information