DPDK EthDev Test Suite
1.0
  • Terminology and Abbreviations
    • Terminology
    • Abbreviations
  • References List
  • Internal details
    • TRC Tags List
      • Operating systems
      • Bitness
    • Global Namespace
      • enum test_op_required
      • enum test_tmpl_fields
      • enum test_transceiver_type
        • Overview
        • Detailed Documentation
      • struct test_default_tmpl_prepare
        • Overview
        • Detailed Documentation
      • struct test_ethdev_config
        • Overview
        • Detailed Documentation
      • struct test_param_seg_ptrn
        • Overview
        • Detailed Documentation
      • struct test_pkt_addresses
        • Overview
        • Detailed Documentation
      • struct test_rx_mq
        • Overview
        • Detailed Documentation
      • struct test_rx_mq_rss
        • Overview
        • Detailed Documentation
      • struct test_transceiver
        • Overview
        • Detailed Documentation
      • struct test_transceiver_dpdk
        • Overview
        • Detailed Documentation
      • struct test_transceiver_exchange
        • Overview
        • Detailed Documentation
      • struct test_transceiver_net
        • Overview
        • Detailed Documentation
      • Overview
      • Detailed Documentation
        • Typedefs
        • Global Functions
        • Macros
DPDK EthDev Test Suite
  • Set new status of the Ethernet link flow
  • View page source

Set new status of the Ethernet link flow

control test

Set new status of the Ethernet link flow control for Ethernet device

Make sure that it is possible to set new status of the Ethernet link flow control

  1. Initialize EAL, prepare ethdev_state Ethernet device state

  2. Get current flow control settings on port iut_port

  3. Set new flow control settings on port iut_port

  4. Get flow control settings

  5. Compare flow control settings with written ones

  6. If device is already started, stop it

  7. Start the device to check settings once again

  8. Get flow control settings once again

  9. Compare obtained flow control settings vs previously obtained

Parameters:

ethdev_state

The state of Ethernet device

fc_mode

The Flow Control mode of Ethernet device

fc_conf_elem

The Flow Control configuration element of Ethernet device to iterate


© Copyright (c) Copyright 2016 - 2022 Xilinx, Inc. All rights reserved..

Built with Sphinx using a theme provided by Read the Docs.