Skip to content

Support setting link up and link down

Ouyang Changchun dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 4 repliesIn review
  2. v13 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ether: Add API to support set link up and link downlib/librte_ether/rte_ethdev.c lib/librte_ether/rte_ethdev.h+72 -00 replies
2/3ixgbe: Implement the functionality of setting link up and down in IXGBE PMDlib/librte_pmd_ixgbe/ixgbe_ethdev.c+63 -00 replies
3/3testpmd: Add commands to test link up and down of PMDapp/test-pmd/cmdline.c app/test-pmd/testpmd.c app/test-pmd/testpmd.h+97 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] Support setting link up and link down

Please ignore the previous patch series with subject: "Support administrative link up and link down" This v2 patch series will replace the previous patch series.

This patch series contain the following 3 items:
1. Add API to support setting link up and down, it can be used to repeatedly stop and restart RX/TX of a port without re-allocating resources for the port and re-configuring the port.
2. Implement the functionality of setting link up and down in IXGBE PMD.
3. Add command in testpmd to test the functionality of setting link up and down of PMD.

Ouyang Changchun (3):
Add API to support set link up and link down.
Implement the functionality of setting link up and link down in IXGBE
PMD.
Add command line to test the functionality of setting link up and link
down in testpmd.

 app/test-pmd/cmdline.c              | 81 +++++++++++++++++++++++++++++++++++++
 app/test-pmd/testpmd.c              | 14 +++++++
 app/test-pmd/testpmd.h              |  2 +
 lib/librte_ether/rte_ethdev.c       | 38 +++++++++++++++++
 lib/librte_ether/rte_ethdev.h       | 34 ++++++++++++++++
 lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 63 +++++++++++++++++++++++++++++
 6 files changed, 232 insertions(+)
Signature · 1 line
1.9.0