mbox

[v2,0/3] ethdev: document special cases of port start and stop

Message ID 20221109190639.886457-1-dsosnowski@nvidia.com (mailing list archive)
Headers

Message

Dariusz Sosnowski Nov. 9, 2022, 7:06 p.m. UTC
  This patch series attempts to address the special failure
cases of rte_eth_dev_stop() and rte_eth_dev_start().

In case of starting a port, If the port depends on another one
being started, PMDs might return (-EAGAIN) to notify
about such situation.

In case of stopping a port, If the port cannot be stopped,
because other port depends on its resources,
PMDs might return (-EBUSY) to notify about such situation.

These cases are addressed in ethdev API docs.
Testpmd is updated to allow users to manually retry start/stop operations.

v2:
- Fixed documentation build.

Dariusz Sosnowski (3):
  net/mlx5: fix log level on failed transfer proxy stop
  doc: document E-Switch limitations with HWS in mlx5 PMD
  ethdev: document special cases of port start and stop

 app/test-pmd/testpmd.c          | 10 +++++++++-
 doc/guides/nics/mlx5.rst        | 13 +++++++++++++
 drivers/net/mlx5/mlx5_trigger.c |  6 +++---
 lib/ethdev/rte_ethdev.h         |  9 +++++++++
 4 files changed, 34 insertions(+), 4 deletions(-)