{"action":"created","issue":{"url":"https://api.github.com/repos/ntop/PF_RING/issues/423","repository_url":"https://api.github.com/repos/ntop/PF_RING","labels_url":"https://api.github.com/repos/ntop/PF_RING/issues/423/labels{/name}","comments_url":"https://api.github.com/repos/ntop/PF_RING/issues/423/comments","events_url":"https://api.github.com/repos/ntop/PF_RING/issues/423/events","html_url":"https://github.com/ntop/PF_RING/issues/423","id":376825512,"node_id":"MDU6SXNzdWUzNzY4MjU1MTI=","number":423,"title":"i40e pfring stops receing packets.","user":{"login":"papage","id":6276532,"node_id":"MDQ6VXNlcjYyNzY1MzI=","avatar_url":"https://avatars2.githubusercontent.com/u/6276532?v=4","gravatar_id":"","url":"https://api.github.com/users/papage","html_url":"https://github.com/papage","followers_url":"https://api.github.com/users/papage/followers","following_url":"https://api.github.com/users/papage/following{/other_user}","gists_url":"https://api.github.com/users/papage/gists{/gist_id}","starred_url":"https://api.github.com/users/papage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/papage/subscriptions","organizations_url":"https://api.github.com/users/papage/orgs","repos_url":"https://api.github.com/users/papage/repos","events_url":"https://api.github.com/users/papage/events{/privacy}","received_events_url":"https://api.github.com/users/papage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-02T14:10:32Z","updated_at":"2018-11-02T15:12:56Z","closed_at":null,"author_association":"NONE","body":"Hi all,\r\n\r\nCan anyone explain the following behaviour? It seems to be a bug.\r\nI have an i40e passthroughed to a VM, with ntop installed. I can't see any traffic on the interface, but when i change something on the interface (ex the MTU), traffic starts to flow and after sometime, it stops again.\r\nA few clues about my setup is:\r\n- Dell R740 with XL710 4port 10G adapter.\r\n- Proxmox installed on host, with SRIOV enabled\r\n-  4 VFs configures on one of the  XL710 ports\r\n-  XL710 port is connected to a SPAN port on a switch, receiving traffic via vlan1800\r\n- VF is assigned vlan1800 and trust=on\r\n- VM kernel is: Linux lts16 4.4.0-131\r\n- i40evf is the driver of the card in the VM.\r\ni40evf: Intel(R) 40-10 Gigabit Virtual Function Network Driver - version 3.6.10\r\n- Even if without VFs (passing through the native PF), the problem is the same.\r\n- The problem is solved when I poke something with ethtool or ifconfig (PF settings and not IP addresses ). For example:\r\n \"ifconfig ens16 mtu 9000\"\r\n\"ethtool -G ens16f1 rx 2048 tx 2048\"\r\n\r\nThanx,\r\nSpiros\r\n\r\n\r\n```\r\nroot@lts16:~/.ssh# pfcount -i ens16\r\nUsing PF_RING v.7.2.0\r\nCapturing from ens16 [mac: 3C:FD:FE:99:99:13][if_index: 5][speed: 0Mb/s]\r\n# Device RX channels: 4\r\n# Polling threads:    1\r\nDumping statistics on /proc/net/pf_ring/stats/24791-ens16.24\r\n=========================\r\nAbsolute Stats: [0 pkts total][0 pkts dropped][0.0% dropped]\r\n[0 pkts rcvd][0 bytes rcvd]\r\n=========================\r\n\r\n=========================\r\nAbsolute Stats: [0 pkts total][0 pkts dropped][0.0% dropped]\r\n[0 pkts rcvd][0 bytes rcvd][0.00 pkt/sec][0.00 Mbit/sec]\r\n=========================\r\nActual Stats: [0 pkts rcvd][1'000.32 ms][0.00 pps][0.00 Gbps]\r\n=========================\r\n\r\n=========================\r\nAbsolute Stats: [0 pkts total][0 pkts dropped][0.0% dropped]\r\n[0 pkts rcvd][0 bytes rcvd][0.00 pkt/sec][0.00 Mbit/sec]\r\n=========================\r\nActual Stats: [0 pkts rcvd][1'000.28 ms][0.00 pps][0.00 Gbps]\r\n=========================\r\n\r\n=========================\r\nAbsolute Stats: [0 pkts total][0 pkts dropped][0.0% dropped]\r\n[0 pkts rcvd][0 bytes rcvd][0.00 pkt/sec][0.00 Mbit/sec]\r\n=========================\r\nActual Stats: [0 pkts rcvd][1'000.17 ms][0.00 pps][0.00 Gbps]\r\n=========================\r\n#################################################################\r\n## **HERE I DO a \"ifconfig ens16 mtu 8900\" to  change the MTU, fro another shell** ####\r\n################################################################\r\n=========================\r\nAbsolute Stats: [412'645 pkts total][0 pkts dropped][0.0% dropped]\r\n[412'645 pkts rcvd][367'358'813 bytes rcvd][37'503.29 pkt/sec][267.10 Mbit/sec]\r\n=========================\r\nActual Stats: [412'645 pkts rcvd][1'000.15 ms][412'580.63 pps][2.94 Gbps]\r\n=========================\r\n\r\n=========================\r\nAbsolute Stats: [983'096 pkts total][0 pkts dropped][0.0% dropped]\r\n[983'096 pkts rcvd][869'204'719 bytes rcvd][81'904.04 pkt/sec][579.32 Mbit/sec]\r\n=========================\r\nActual Stats: [570'451 pkts rcvd][1'000.12 ms][570'380.84 pps][4.01 Gbps]\r\n=========================\r\n\r\n=========================\r\nAbsolute Stats: [1'523'493 pkts total][0 pkts dropped][0.0% dropped]\r\n[1'523'493 pkts rcvd][1'343'742'276 bytes rcvd][117'163.56 pkt/sec][826.72 Mbit/sec]\r\n=========================\r\nActual Stats: [540'397 pkts rcvd][1'000.10 ms][540'339.18 pps][3.80 Gbps]\r\n=========================\r\n\r\n=========================\r\nAbsolute Stats: [2'097'129 pkts total][0 pkts dropped][0.0% dropped]\r\n[2'097'129 pkts rcvd][1'852'821'532 bytes rcvd][149'759.86 pkt/sec][1'058.50 Mbit/sec]\r\n=========================\r\nActual Stats: [573'636 pkts rcvd][1'000.14 ms][573'550.54 pps][4.07 Gbps]\r\n=========================\r\n\r\n=========================\r\nAbsolute Stats: [2'721'927 pkts total][0 pkts dropped][0.0% dropped]\r\n[2'721'927 pkts rcvd][2'409'625'187 bytes rcvd][181'419.28 pkt/sec][1'284.83 Mbit/sec]\r\n=========================\r\nActual Stats: [624'798 pkts rcvd][1'000.23 ms][624'649.95 pps][4.45 Gbps]\r\n=========================\r\n\r\n=========================\r\nAbsolute Stats: [3'281'245 pkts total][0 pkts dropped][0.0% dropped]\r\n[3'281'245 pkts rcvd][2'905'175'066 bytes rcvd][205'030.82 pkt/sec][1'452.25 Mbit/sec]\r\n=========================\r\nActual Stats: [559'318 pkts rcvd][1'000.15 ms][559'232.99 pps][3.96 Gbps]\r\n=========================\r\n\r\n^CLeaving...\r\n=========================\r\nAbsolute Stats: [3'449'890 pkts total][0 pkts dropped][0.0% dropped]\r\n[3'449'890 pkts rcvd][3'058'078'560 bytes rcvd][211'759.09 pkt/sec][1'501.67 Mbit/sec]\r\n=========================\r\nActual Stats: [168'645 pkts rcvd][287.91 ms][585'751.89 pps][4.25 Gbps]\r\n```"},"comment":{"url":"https://api.github.com/repos/ntop/PF_RING/issues/comments/435412370","html_url":"https://github.com/ntop/PF_RING/issues/423#issuecomment-435412370","issue_url":"https://api.github.com/repos/ntop/PF_RING/issues/423","id":435412370,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTQxMjM3MA==","user":{"login":"papage","id":6276532,"node_id":"MDQ6VXNlcjYyNzY1MzI=","avatar_url":"https://avatars2.githubusercontent.com/u/6276532?v=4","gravatar_id":"","url":"https://api.github.com/users/papage","html_url":"https://github.com/papage","followers_url":"https://api.github.com/users/papage/followers","following_url":"https://api.github.com/users/papage/following{/other_user}","gists_url":"https://api.github.com/users/papage/gists{/gist_id}","starred_url":"https://api.github.com/users/papage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/papage/subscriptions","organizations_url":"https://api.github.com/users/papage/orgs","repos_url":"https://api.github.com/users/papage/repos","events_url":"https://api.github.com/users/papage/events{/privacy}","received_events_url":"https://api.github.com/users/papage/received_events","type":"User","site_admin":false},"created_at":"2018-11-02T15:12:56Z","updated_at":"2018-11-02T15:12:56Z","author_association":"NONE","body":"Hi Cardigliano,\r\n\r\nThe correct MTU is 9000 but the packets come from an internet service, so their max size are 1500 bytes.\r\n\r\nThe problem is very strange, since the card/driver is the XL710, which i assume is very common and somebody else might come by the same problem. The driver is also the latest one. Perhaps I need to update the adapter firmware.\r\n\r\nSp\r\n\r\n"}}
{"actor":{"display_login":"papage"}}