Hi, I am new to DPDK, as a first thing, i ran l2fwd app. I saw that it is detecting the port0 NIC card, but the speed is showing as 100Mbps, though the NIC card is 10G speed capable. What could be the reason ? Below is the log. I connected the NIC card to my LAN using cat6 cable, to reach this NIC card from my other machines in LAN.
FYI - root at VFSR4:/home/hadmin/dpdk-2.2.0/examples/l2fwd# ./build/l2fwd -c f -n 4 -- -q 8 -p ffff EAL: Detected lcore 0 as core 0 on socket 0 EAL: Detected lcore 1 as core 0 on socket 1 EAL: Detected lcore 2 as core 1 on socket 0 EAL: Detected lcore 3 as core 1 on socket 1 EAL: Detected lcore 4 as core 2 on socket 0 EAL: Detected lcore 5 as core 2 on socket 1 EAL: Detected lcore 6 as core 3 on socket 0 EAL: Detected lcore 7 as core 3 on socket 1 EAL: Detected lcore 8 as core 4 on socket 0 EAL: Detected lcore 9 as core 4 on socket 1 EAL: Detected lcore 10 as core 5 on socket 0 EAL: Detected lcore 11 as core 5 on socket 1 EAL: Detected lcore 12 as core 6 on socket 0 EAL: Detected lcore 13 as core 6 on socket 1 EAL: Detected lcore 14 as core 7 on socket 0 EAL: Detected lcore 15 as core 7 on socket 1 EAL: Detected lcore 16 as core 0 on socket 0 EAL: Detected lcore 17 as core 0 on socket 1 EAL: Detected lcore 18 as core 1 on socket 0 EAL: Detected lcore 19 as core 1 on socket 1 EAL: Detected lcore 20 as core 2 on socket 0 EAL: Detected lcore 21 as core 2 on socket 1 EAL: Detected lcore 22 as core 3 on socket 0 EAL: Detected lcore 23 as core 3 on socket 1 EAL: Detected lcore 24 as core 4 on socket 0 EAL: Detected lcore 25 as core 4 on socket 1 EAL: Detected lcore 26 as core 5 on socket 0 EAL: Detected lcore 27 as core 5 on socket 1 EAL: Detected lcore 28 as core 6 on socket 0 EAL: Detected lcore 29 as core 6 on socket 1 EAL: Detected lcore 30 as core 7 on socket 0 EAL: Detected lcore 31 as core 7 on socket 1 EAL: Support maximum 128 logical core(s) by configuration. EAL: Detected 32 lcore(s) EAL: Setting up physically contiguous memory... EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7367800000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7367400000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7367000000 (size = 0x200000) EAL: Ask a virtual area of 0x11400000 bytes EAL: Virtual area found at 0x7f7355a00000 (size = 0x11400000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7355600000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7355200000 (size = 0x200000) EAL: Ask a virtual area of 0x400000 bytes EAL: Virtual area found at 0x7f7354c00000 (size = 0x400000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7354800000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7354400000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7354000000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7353c00000 (size = 0x200000) EAL: Ask a virtual area of 0x2da00000 bytes EAL: Virtual area found at 0x7f7326000000 (size = 0x2da00000) EAL: Ask a virtual area of 0x12400000 bytes EAL: Virtual area found at 0x7f7313a00000 (size = 0x12400000) EAL: Ask a virtual area of 0x1c000000 bytes EAL: Virtual area found at 0x7f72f7800000 (size = 0x1c000000) EAL: Ask a virtual area of 0x800000 bytes EAL: Virtual area found at 0x7f72f6e00000 (size = 0x800000) EAL: Ask a virtual area of 0x2400000 bytes EAL: Virtual area found at 0x7f72f4800000 (size = 0x2400000) EAL: Ask a virtual area of 0x600000 bytes EAL: Virtual area found at 0x7f72f4000000 (size = 0x600000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f72f3c00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f72f3800000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f72f3400000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f72f3000000 (size = 0x200000) EAL: Ask a virtual area of 0xcc00000 bytes EAL: Virtual area found at 0x7f72e6200000 (size = 0xcc00000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f72e5e00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f72e5a00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f72e5600000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f72e5200000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f72e4e00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f72e4a00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f72e4600000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f72e4200000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f72e3e00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f72e3a00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f72e3600000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f72e3200000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f72e2e00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f72e2a00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f72e2600000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f72e2200000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f72e1e00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f72e1a00000 (size = 0x200000) EAL: Ask a virtual area of 0x3a200000 bytes EAL: Virtual area found at 0x7f72a7600000 (size = 0x3a200000) EAL: Ask a virtual area of 0x600000 bytes EAL: Virtual area found at 0x7f72a6e00000 (size = 0x600000) EAL: Ask a virtual area of 0x400000 bytes EAL: Virtual area found at 0x7f72a6800000 (size = 0x400000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f72a6400000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f72a6000000 (size = 0x200000) EAL: Ask a virtual area of 0x3e800000 bytes EAL: Virtual area found at 0x7f7267600000 (size = 0x3e800000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7267200000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7266e00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7266a00000 (size = 0x200000) EAL: Ask a virtual area of 0x400000 bytes EAL: Virtual area found at 0x7f7266400000 (size = 0x400000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7266000000 (size = 0x200000) EAL: Ask a virtual area of 0x400000 bytes EAL: Virtual area found at 0x7f7265a00000 (size = 0x400000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7265600000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7265200000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7264e00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7264a00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7264600000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7264200000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7263e00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7263a00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7263600000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7263200000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7262e00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7262a00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7262600000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7262200000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7261e00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7261a00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7261600000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7261200000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7260e00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7260a00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7260600000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f7260200000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f725fe00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f725fa00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f725f600000 (size = 0x200000) EAL: Ask a virtual area of 0x400000 bytes EAL: Virtual area found at 0x7f725f000000 (size = 0x400000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f725ec00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f725e800000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f725e400000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f725e000000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f725dc00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f725d800000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f725d400000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f725d000000 (size = 0x200000) EAL: Requesting 1024 pages of size 2MB from socket 0 EAL: Requesting 1024 pages of size 2MB from socket 1 EAL: TSC frequency is ~2000001 KHz EAL: Master lcore 0 is ready (tid=6919e900;cpuset=[0]) EAL: lcore 3 is ready (tid=5b7e5700;cpuset=[3]) EAL: lcore 1 is ready (tid=5c7e7700;cpuset=[1]) EAL: lcore 2 is ready (tid=5bfe6700;cpuset=[2]) EAL: PCI device 0000:01:00.0 on NUMA socket 0 EAL: probe driver: 8086:1528 rte_ixgbe_pmd EAL: PCI memory mapped at 0x7f7367600000 EAL: PCI memory mapped at 0x7f7369167000 PMD: eth_ixgbe_dev_init(): MAC: 4, PHY: 3 PMD: eth_ixgbe_dev_init(): port 0 vendorID=0x8086 deviceID=0x1528 EAL: PCI device 0000:01:00.1 on NUMA socket 0 EAL: probe driver: 8086:1528 rte_ixgbe_pmd EAL: PCI memory mapped at 0x7f7367200000 EAL: PCI memory mapped at 0x7f7369163000 PMD: eth_ixgbe_dev_init(): MAC: 4, PHY: 3 PMD: eth_ixgbe_dev_init(): port 1 vendorID=0x8086 deviceID=0x1528 EAL: PCI device 0000:08:00.0 on NUMA socket 0 EAL: probe driver: 8086:1521 rte_igb_pmd EAL: Not managed by a supported kernel driver, skipped EAL: PCI device 0000:08:00.1 on NUMA socket 0 EAL: probe driver: 8086:1521 rte_igb_pmd EAL: Not managed by a supported kernel driver, skipped Lcore 0: RX port 0 Lcore 0: RX port 1 Initializing port 0... PMD: ixgbe_dev_rx_queue_setup(): sw_ring=0x7f7354d03040 sw_sc_ring=0x7f7354d02b00 hw_ring=0x7f7354d03580 dma_addr=0x86303580 PMD: ixgbe_dev_tx_queue_setup(): sw_ring=0x7f7354cf0940 hw_ring=0x7f7354cf2980 dma_addr=0x862f2980 PMD: ixgbe_set_tx_function(): Using simple tx code path PMD: ixgbe_set_tx_function(): Vector tx enabled. PMD: ixgbe_set_rx_function(): Vector rx enabled, please make sure RX burst size no less than 4 (port=0). done: Port 0, MAC address: B8:CA:3A:6A:02:B8 Initializing port 1... PMD: ixgbe_dev_rx_queue_setup(): sw_ring=0x7f7354cdff40 sw_sc_ring=0x7f7354cdfa00 hw_ring=0x7f7354ce0480 dma_addr=0x862e0480 PMD: ixgbe_dev_tx_queue_setup(): sw_ring=0x7f7354ccd840 hw_ring=0x7f7354ccf880 dma_addr=0x862cf880 PMD: ixgbe_set_tx_function(): Using simple tx code path PMD: ixgbe_set_tx_function(): Vector tx enabled. PMD: ixgbe_set_rx_function(): Vector rx enabled, please make sure RX burst size no less than 4 (port=1). done: Port 1, MAC address: B8:CA:3A:6A:02:BA Checking link status..........................................................................................done Port 0 Link Up - speed 100 Mbps - full-duplex Port 1 Link Down L2FWD: lcore 1 has nothing to do L2FWD: lcore 2 has nothing to do L2FWD: lcore 3 has nothing to do L2FWD: entering main loop on lcore 0 L2FWD: -- lcoreid=0 portid=0 L2FWD: -- lcoreid=0 portid=1 L2FWD: entering while loop.. Port statistics ==================================== Statistics for port 0 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 1 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 2 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 3 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 4 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 5 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 6 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 7 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 8 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 9 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 10 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 11 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 12 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 13 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 14 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 15 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Aggregate statistics =============================== Total packets sent: 0 Total packets received: 0 Total packets dropped: 0 ==================================================== Port statistics ==================================== Statistics for port 0 ------------------------------ Packets sent: 0 Packets received: 12 Packets dropped: 0 Statistics for port 1 ------------------------------ Packets sent: 12 Packets received: 0 Packets dropped: 0 Statistics for port 2 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 3 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 4 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 5 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 6 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 7 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 8 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 9 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 10 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 11 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 12 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 13 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 14 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Statistics for port 15 ------------------------------ Packets sent: 0 Packets received: 0 Packets dropped: 0 Aggregate statistics =============================== Total packets sent: 12 Total packets received: 12 Total packets dropped: 0 ==================================================== Regards, Mari. This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify so to the sender by e-mail and delete the original message. In such cases, please notify us immediately at info at infinite.com . Further, you are not to copy, disclose, or distribute this e-mail or its contents to any unauthorized person(s) .Any such actions are considered unlawful. This e-mail may contain viruses. Infinite has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachments. Infinite reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infinite e-mail system. ***INFINITE******** End of Disclaimer********INFINITE********
