[dpdk-dev] [PATCH v2 0/3] Support setting link up and link down

Ouyang Changchun changchun.ouyang at intel.com
Wed May 28 09:14:59 CEST 2014


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(+)

-- 
1.9.0



More information about the dev mailing list