RFC Make Link Status on Close Configurable
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ethdev: add set link state on close APIdoc/ lib/ lib/ +3 more | +84 | 3 replies | |
| 2/3 | net/ice: implement the link state on close device opdrivers/ drivers/ | +20 | 0 replies | |
| 3/3 | app/testpmd: support link state on close ethdev APIapp/ app/ app/ +3 more | +125 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/3] Make Link Status on Close Configurable
Most drivers bring the port link down on device close (eg. intel i40e), however some others restore the link to its original state when the device was started (eg. intel ice). It may be useful to be able to configure this behaviour which is the motivation for this RFC.
This RFC proposes a way to make the link status of a port configurable when the port is closed or stopped. Three configuration options are available:
1. down: bring (or keep) the link down
2. up: bring (or keep) the link up
3. initial: restore the link to the state it was in when the device was started.
Ciara Loftus (3):
ethdev: add set link state on close API net/ice: implement the link state on close device op app/testpmd: support link state on close ethdev API
app/test-pmd/cmdline.c | 56 +++++++++++++++++++++ app/test-pmd/config.c | 17 +++++++ app/test-pmd/parameters.c | 26 ++++++++++ app/test-pmd/testpmd.c | 16 ++++++ app/test-pmd/testpmd.h | 3 ++ doc/guides/rel_notes/release_25_11.rst | 4 ++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 7 +++ drivers/net/intel/ice/ice_ethdev.c | 20 +++++++- drivers/net/intel/ice/ice_ethdev.h | 1 + lib/ethdev/ethdev_driver.h | 18 +++++++ lib/ethdev/ethdev_trace.h | 8 +++ lib/ethdev/ethdev_trace_points.c | 3 ++ lib/ethdev/rte_ethdev.c | 19 +++++++ lib/ethdev/rte_ethdev.h | 32 ++++++++++++ 14 files changed, 229 insertions(+), 1 deletion(-)
Signature · 1 line
2.34.1