[dpdk-dev] [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(+) -- 1.9.0
[dpdk-dev] [PATCH v2 0/3] Support setting link up and link down
On 05/28/2014 09:14 AM, Ouyang Changchun wrote: > 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. > Acked by: Ivan Boule -- Ivan Boule 6WIND Development Engineer
[dpdk-dev] [PATCH v2 0/3] Support setting link up and link down
Tested-by: Waterman Cao This patch is used to fix bug, and has been tested by Intel. We verified API by testpmd, it passed. Please see test steps as the following: 1. In the host machine, set the DPDK environment as usual and start testpmd: ./app/test-pmd/testpmd -c f -n 4 -- -i 2. Start packet forwarding on both ports. 3. In the tester/traffic generator, send the packet with destine MAC to any port on host. 4. Then launch testpmd on host, use the following command to set link up/down to the port: testpmd> set link-up port 0(or 1) testpmd> set link-down port 0(or 1) 5. Then check port status See test environment information as the following: Fedora 20 x86_64, Linux Kernel 3.13.9-200, GCC 4.8.2 Intel Xeon CPU E5-2680 v2 @ 2.80GHz NIC: Intel Niantic 82599, Intel i350, Intel 82580 and Intel 82576
[dpdk-dev] [PATCH v2 0/3] Support setting link up and link down
2014-06-04 15:36, Cao, Waterman: > Tested-by: Waterman Cao > > This patch is used to fix bug, and has been tested by Intel. > We verified API by testpmd, it passed. > Please see test steps as the following: > 1. In the host machine, set the DPDK environment as usual and start testpmd: >./app/test-pmd/testpmd -c f -n 4 -- -i > 2. Start packet forwarding on both ports. > 3. In the tester/traffic generator, send the packet with destine MAC to any > port on host. > 4. Then launch testpmd on host, use the following command to > set link up/down to the port: >testpmd> set link-up port 0(or 1) >testpmd> set link-down port 0(or 1) > 5. Then check port status > > See test environment information as the following: > Fedora 20 x86_64, Linux Kernel 3.13.9-200, GCC 4.8.2 > Intel Xeon CPU E5-2680 v2 @ 2.80GHz > NIC: Intel Niantic 82599, Intel i350, Intel 82580 and Intel 82576 Excellent test report! Thank you -- Thomas
[dpdk-dev] [PATCH v2 0/3] Support setting link up and link down
> > 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. > > Acked by: Ivan Boule Applied for version 1.7.0. Thanks -- Thomas