V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
wenyu1001
V2EX  ›  程序员

请教 DPDK 测试程序问题?

  •  
  •   wenyu1001 ·
    wenyuace · Apr 16, 2016 · 5220 views
    This topic created in 3663 days ago, the information mentioned may be changed or developed.

    搭建 DPDK 测试环境时,在 /tools/setup.sh 中运行 testpmd 总提示 Port 0 Link Down ,如下

    Configuring Port 0 (socket 0)
    PMD: ixgbe_dev_tx_queue_setup(): sw_ring=0x7f12d5dedb40 hw_ring=0x7f12d5defb80 dma_addr=0x7cd1efb80
    PMD: ixgbe_set_tx_function(): Using simple tx code path
    PMD: ixgbe_set_tx_function(): Vector tx enabled.
    PMD: ixgbe_dev_rx_queue_setup(): sw_ring=0x7f12d5ddd240 sw_sc_ring=0x7f12d5ddcd00 hw_ring=0x7f12d5ddd780 dma_addr=0x7cd1dd780
    PMD: ixgbe_set_rx_function(): Vector rx enabled, please make sure RX burst size no less than 32.
    Port 0: A0:36:9F:44:B8:3A
    Checking link statuses...
    Port 0 Link Down
    Done`
    

    绑定的网卡是:

    Network devices using DPDK-compatible driver
    ============================================
    0000:01:00.1 'Ethernet Controller 10-Gigabit X540-AT2' drv=igb_uio unused=ixgbe
    
    

    麻烦各位老师看看是什么问题?新手,已经折腾两三天了,累啊。

    2 replies    2017-07-12 20:30:53 +08:00
    tempdban
        1
    tempdban  
       Apr 16, 2016 via Android
    我只听说过 dpdk ,你是大神,帮顶
    tempdban
        2
    tempdban  
       Jul 12, 2017 via Android
    挖坟强答,是不是没插网线
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5637 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 08:37 · PVG 16:37 · LAX 01:37 · JFK 04:37
    ♥ Do have faith in what you're doing.