{"action":"created","issue":{"url":"https://api.github.com/repos/pktgen/Pktgen-DPDK/issues/74","repository_url":"https://api.github.com/repos/pktgen/Pktgen-DPDK","labels_url":"https://api.github.com/repos/pktgen/Pktgen-DPDK/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/pktgen/Pktgen-DPDK/issues/74/comments","events_url":"https://api.github.com/repos/pktgen/Pktgen-DPDK/issues/74/events","html_url":"https://github.com/pktgen/Pktgen-DPDK/issues/74","id":167570933,"number":74,"title":"PktGen : No Packets are  transmitted  ","user":{"login":"prasshri","id":12893252,"avatar_url":"https://avatars.githubusercontent.com/u/12893252?v=3","gravatar_id":"","url":"https://api.github.com/users/prasshri","html_url":"https://github.com/prasshri","followers_url":"https://api.github.com/users/prasshri/followers","following_url":"https://api.github.com/users/prasshri/following{/other_user}","gists_url":"https://api.github.com/users/prasshri/gists{/gist_id}","starred_url":"https://api.github.com/users/prasshri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prasshri/subscriptions","organizations_url":"https://api.github.com/users/prasshri/orgs","repos_url":"https://api.github.com/users/prasshri/repos","events_url":"https://api.github.com/users/prasshri/events{/privacy}","received_events_url":"https://api.github.com/users/prasshri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-26T10:10:41Z","updated_at":"2016-07-27T05:44:42Z","closed_at":null,"body":"Hi,\r\n\r\nI am new to pktgen and dpdk. I am facing an issue as mentioned below : \r\nI am using pktgen on a virtual machine (open suse) on windows \r\nVM has 2 cores and I am using 2 of the Ethernet ports (eth2 and eth3) on vm for DPDK + pktgen \r\n\r\nDPDK version : 16.07.0-rc3\r\nPktgen Ver: 3.0.06\r\n\r\nI am using 2 ports (0 and 1) and the pktgen start command is \r\n**./app/app/x86_64-native-linuxapp-gcc/pktgen -c 0x1 -n 3 -- -P -m \"1.0,2.1\" -T -f traffic.lua -l temp.log**\r\n\r\ntraffic.lua file has all the configuration .. The issue I am facing is that I am not able to see any packets getting transmitted on wire, stats are not getting incremented and I have checked on wireshark too \r\nThe console logs are : \r\n\r\n Copyright (c) <2010-2016>, Intel Corporation. All rights reserved.\r\n   Pktgen created by: Keith Wiles -- >>> Powered by Intel® DPDK <<<\r\n\r\nLua 5.3.2  Copyright (C) 1994-2015 Lua.org, PUC-Rio\r\n>>> Packet Burst 32, RX Desc 512, TX Desc 512, mbufs/port 4096, mbuf cache 512\r\n\r\n=== port to lcore mapping table (# lcores 1) ===\r\n   lcore:     0 \r\nport   0:  D: T =  1: 1\r\nport   1:  D: T =  1: 1\r\nTotal   :  0: 0\r\n    Display and Timer on lcore 0, rx:tx counts per port/lcore\r\n\r\nConfiguring 2 ports, MBUF Size 1920, MBUF Cache Size 512\r\nLcore:\r\n    1, RX-TX  \r\n                RX( 1): ( 0: 0) \r\n                TX( 1): ( 0: 0) \r\n    2, RX-TX  \r\n                RX( 1): ( 1: 0) \r\n                TX( 1): ( 1: 0) \r\n\r\nPort :\r\n    0, nb_lcores  1, private 0x8c0470, lcores:  1 \r\n    1, nb_lcores  1, private 0x8c27b8, lcores:  2 \r\n\r\n\r\n\r\n** Dev Info (rte_em_pmd:0) **\r\n   max_vfs        :   0 min_rx_bufsize    : 256 max_rx_pktlen : 16128 max_rx_queues         :   1 max_tx_queues:   1\r\n   max_mac_addrs  :  15 max_hash_mac_addrs:   0 max_vmdq_pools:     0\r\n   rx_offload_capa:   0 tx_offload_capa   :   0 reta_size     :     0 flow_type_rss_offloads:0000000000000000\r\n   vmdq_queue_base:   0 vmdq_queue_num    :   0 vmdq_pool_base:     0\r\n** RX Conf **\r\n   pthreash       :   0 hthresh          :   0 wthresh        :     0\r\n   Free Thresh    :   0 Drop Enable      :   0 Deferred Start :     0\r\n** TX Conf **\r\n   pthreash       :   0 hthresh          :   0 wthresh        :     0\r\n   Free Thresh    :   0 RS Thresh        :   0 Deferred Start :     0 TXQ Flags:00000000\r\n\r\nInitialize Port 0 -- TxQ 1, RxQ 1,  Src MAC 08:00:27:32:6e:d5\r\n    Create: Default RX  0:0  - Memory used (MBUFs 4096 x (size 1920 + Hdr 128)) + 192 =   8193 KB headroom 128 2176\r\n\r\n    Create: Default TX  0:0  - Memory used (MBUFs 4096 x (size 1920 + Hdr 128)) + 192 =   8193 KB headroom 128 2176\r\n    Create: Range TX    0:0  - Memory used (MBUFs 4096 x (size 1920 + Hdr 128)) + 192 =   8193 KB headroom 128 2176\r\n    Create: Sequence TX 0:0  - Memory used (MBUFs 4096 x (size 1920 + Hdr 128)) + 192 =   8193 KB headroom 128 2176\r\n    Create: Special TX  0:0  - Memory used (MBUFs   64 x (size 1920 + Hdr 128)) + 192 =    129 KB headroom 128 2176\r\n\r\n                                                                       Port memory used =  32897 KB\r\n\r\n** Dev Info (rte_em_pmd:0) **\r\n   max_vfs        :   0 min_rx_bufsize    : 256 max_rx_pktlen : 16128 max_rx_queues         :   1 max_tx_queues:   1\r\n   max_mac_addrs  :  15 max_hash_mac_addrs:   0 max_vmdq_pools:     0\r\n   rx_offload_capa:   0 tx_offload_capa   :   0 reta_size     :     0 flow_type_rss_offloads:0000000000000000\r\n   vmdq_queue_base:   0 vmdq_queue_num    :   0 vmdq_pool_base:     0\r\n** RX Conf **\r\n   pthreash       :   0 hthresh          :   0 wthresh        :     0\r\n   Free Thresh    :   0 Drop Enable      :   0 Deferred Start :     0\r\n** TX Conf **\r\n   pthreash       :   0 hthresh          :   0 wthresh        :     0\r\n   Free Thresh    :   0 RS Thresh        :   0 Deferred Start :     0 TXQ Flags:00000000\r\n\r\nInitialize Port 1 -- TxQ 1, RxQ 1,  Src MAC 08:00:27:b2:64:a5\r\n    Create: Default RX  1:0  - Memory used (MBUFs 4096 x (size 1920 + Hdr 128)) + 192 =   8193 KB headroom 128 2176\r\n\r\n    Create: Default TX  1:0  - Memory used (MBUFs 4096 x (size 1920 + Hdr 128)) + 192 =   8193 KB headroom 128 2176\r\n    Create: Range TX    1:0  - Memory used (MBUFs 4096 x (size 1920 + Hdr 128)) + 192 =   8193 KB headroom 128 2176\r\n    Create: Sequence TX 1:0  - Memory used (MBUFs 4096 x (size 1920 + Hdr 128)) + 192 =   8193 KB headroom 128 2176\r\n    Create: Special TX  1:0  - Memory used (MBUFs   64 x (size 1920 + Hdr 128)) + 192 =    129 KB headroom 128 2176\r\n\r\n                                                                       Port memory used =  32897 KB\r\n                                                                      Total memory used =  65794 KB\r\nPort  0: Link Up - speed 1000 Mbps - full-duplex <Enable promiscuous mode>\r\nPort  1: Link Up - speed 1000 Mbps - full-duplex <Enable promiscuous mode>\r\n\r\n\r\n=== Display processing on lcore 0\r\n\r\nLink State        :        <UP-1000-FD>        <UP-1000-FD>     ----TotalRate----\r\nPkts/s Max/Rx     :                 0/0                 0/0                   0/0\r\n       Max/Tx     :                 0/0                 0/0                   0/0\r\nMBits/s Rx/Tx     :                 0/0                 0/0                   0/0\r\nBroadcast         :                   0                   0\r\nMulticast         :                   0                   0\r\n  64 Bytes        :                   0                   0\r\n  65-127          :                   0                   0\r\n  128-255         :                   0                   0\r\n  256-511         :                   0                   0\r\n  512-1023        :                   0                   0\r\n  1024-1518       :                   0                   0\r\nRunts/Jumbos      :                 0/0                 0/0\r\nErrors Rx/Tx      :                 0/0                 0/0\r\nTotal Rx Pkts     :                   0                   0\r\n      Tx Pkts     :                   0                   0\r\n      Rx MBs      :                   0                   0\r\n      Tx MBs      :                   0                   0\r\nARP/ICMP Pkts     :                 0/0                 0/0\r\n                  :\r\nPattern Type      :             abcd...             abcd...\r\nTx Count/% Rate   :      Forever / 100%      Forever / 100%\r\nPktSize/Tx Burst  :           64 /    1           64 /    1\r\nSrc/Dest Port     :         2152 / 2152         2152 / 2152\r\nPkt Type:VLAN ID  :     IPv4 / UDP:0001     IPv4 / UDP:0001\r\nDst  IP Address   :         10.11.10.41         10.11.10.41\r\nSrc  IP Address   :      10.11.10.31/24      10.11.10.32/24\r\nDst MAC Address   :   98:90:96:c9:d5:8e   98:90:96:c9:d5:8e\r\nSrc MAC Address   :   08:00:27:32:6e:d5   08:00:27:b2:64:a5\r\nVendID/PCI Addr   :   8086:100e/00:09.0   8086:100e/00:10.0\r\n\r\n\r\nI am also attaching the lua script that I am using with pktgen. \r\nPlease help me out on this \r\n\r\nThanks and Regards\r\nPrashant \r\n"},"comment":{"url":"https://api.github.com/repos/pktgen/Pktgen-DPDK/issues/comments/235492649","html_url":"https://github.com/pktgen/Pktgen-DPDK/issues/74#issuecomment-235492649","issue_url":"https://api.github.com/repos/pktgen/Pktgen-DPDK/issues/74","id":235492649,"user":{"login":"prasshri","id":12893252,"avatar_url":"https://avatars.githubusercontent.com/u/12893252?v=3","gravatar_id":"","url":"https://api.github.com/users/prasshri","html_url":"https://github.com/prasshri","followers_url":"https://api.github.com/users/prasshri/followers","following_url":"https://api.github.com/users/prasshri/following{/other_user}","gists_url":"https://api.github.com/users/prasshri/gists{/gist_id}","starred_url":"https://api.github.com/users/prasshri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prasshri/subscriptions","organizations_url":"https://api.github.com/users/prasshri/orgs","repos_url":"https://api.github.com/users/prasshri/repos","events_url":"https://api.github.com/users/prasshri/events{/privacy}","received_events_url":"https://api.github.com/users/prasshri/received_events","type":"User","site_admin":false},"created_at":"2016-07-27T05:44:42Z","updated_at":"2016-07-27T05:44:42Z","body":"Hi, \r\n\r\nI have added 3 cores and started pktgen with above mentioned changes and yes its working fine.\r\nThanks a lot Sir for your help. just wanted one more favour. I wanted to generate GTPU traffic using pktgen and I have added below mentioned configuration in the lua script \r\n\r\nlocal gtputeid_min = \"5000\";\r\nlocal gtputeid_max = \"7000\";\r\nlocal gtputeid_start = \"5000\";\r\npktgen.gtpu_teid (\"all\", \"min\", gtputeid_min);\r\npktgen.gtpu_teid (\"all\", \"max\", gtputeid_max);\r\npktgen.gtpu_teid (\"all\", \"start\", gtputeid_start);\r\n\r\nI have set the port to 2152 and protocol to UDP, I can see GTP packets on wire, but they are all having teid value as 0. I have already configured the ranges for teid but its not getting in effect \r\n\r\nCan you please let me know what is it that I am missing \r\n\r\nThanks in Advance \r\n\r\n"}}
{"actor":{"display_login":"prasshri"}}