{"action":"created","issue":{"url":"https://api.github.com/repos/luigirizzo/netmap/issues/561","repository_url":"https://api.github.com/repos/luigirizzo/netmap","labels_url":"https://api.github.com/repos/luigirizzo/netmap/issues/561/labels{/name}","comments_url":"https://api.github.com/repos/luigirizzo/netmap/issues/561/comments","events_url":"https://api.github.com/repos/luigirizzo/netmap/issues/561/events","html_url":"https://github.com/luigirizzo/netmap/issues/561","id":380327213,"node_id":"MDU6SXNzdWUzODAzMjcyMTM=","number":561,"title":"NAF_FORCE_RECLAIM can cause no ring buffers to be available ","user":{"login":"joshraiff-sophos","id":44241459,"node_id":"MDQ6VXNlcjQ0MjQxNDU5","avatar_url":"https://avatars3.githubusercontent.com/u/44241459?v=4","gravatar_id":"","url":"https://api.github.com/users/joshraiff-sophos","html_url":"https://github.com/joshraiff-sophos","followers_url":"https://api.github.com/users/joshraiff-sophos/followers","following_url":"https://api.github.com/users/joshraiff-sophos/following{/other_user}","gists_url":"https://api.github.com/users/joshraiff-sophos/gists{/gist_id}","starred_url":"https://api.github.com/users/joshraiff-sophos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshraiff-sophos/subscriptions","organizations_url":"https://api.github.com/users/joshraiff-sophos/orgs","repos_url":"https://api.github.com/users/joshraiff-sophos/repos","events_url":"https://api.github.com/users/joshraiff-sophos/events{/privacy}","received_events_url":"https://api.github.com/users/joshraiff-sophos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-13T17:00:10Z","updated_at":"2018-11-13T17:03:50Z","closed_at":null,"author_association":"NONE","body":"When doing a force reclaim, the code blindly moves nr_hwtail.\r\n\r\nTo reproduce:\r\ninsmod ./netmap.ko\r\ninsmod ./ixgbe/ixgbe.ko\r\nethtool -K Port9 tx off gro off gso off tso off sg off rxvlan off txvlan off\r\nvale-ctl -h vale0:Port9\r\nifconfig Port9 up\r\nvale-ctl -n host1\r\nvale-ctl -a vale0:host1 -m 1\r\nsysctl -w net.ipv4.ip_forward=1\r\nnet.ipv4.ip_forward = 1\r\nip link set dev Port9 up\r\nip addr add 1.1.1.1/16 dev Port9\r\nping 1.1.1.2 -c 1\r\nPING 1.1.1.2 (1.1.1.2) 56(84) bytes of data.\r\n64 bytes from 1.1.1.2: icmp_seq=1 ttl=64 time=2027 ms\r\n\r\n--- 1.1.1.2 ping statistics ---\r\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\r\nrtt min/avg/max/mdev = 2027.677/2027.677/2027.677/0.000 ms\r\nip link set dev Port9 down #### Setting the link down triggers the issue.\r\nip link set dev Port9 up\r\nping 1.1.1.2 -c 1\r\nPING 1.1.1.2 (1.1.1.2) 56(84) bytes of data.\r\nFrom 1.1.1.1 icmp_seq=1 Destination Host Unreachable\r\n\r\n--- 1.1.1.2 ping statistics ---\r\n1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms"},"comment":{"url":"https://api.github.com/repos/luigirizzo/netmap/issues/comments/438350550","html_url":"https://github.com/luigirizzo/netmap/issues/561#issuecomment-438350550","issue_url":"https://api.github.com/repos/luigirizzo/netmap/issues/561","id":438350550,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODM1MDU1MA==","user":{"login":"joshraiff-sophos","id":44241459,"node_id":"MDQ6VXNlcjQ0MjQxNDU5","avatar_url":"https://avatars3.githubusercontent.com/u/44241459?v=4","gravatar_id":"","url":"https://api.github.com/users/joshraiff-sophos","html_url":"https://github.com/joshraiff-sophos","followers_url":"https://api.github.com/users/joshraiff-sophos/followers","following_url":"https://api.github.com/users/joshraiff-sophos/following{/other_user}","gists_url":"https://api.github.com/users/joshraiff-sophos/gists{/gist_id}","starred_url":"https://api.github.com/users/joshraiff-sophos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshraiff-sophos/subscriptions","organizations_url":"https://api.github.com/users/joshraiff-sophos/orgs","repos_url":"https://api.github.com/users/joshraiff-sophos/repos","events_url":"https://api.github.com/users/joshraiff-sophos/events{/privacy}","received_events_url":"https://api.github.com/users/joshraiff-sophos/received_events","type":"User","site_admin":false},"created_at":"2018-11-13T17:03:50Z","updated_at":"2018-11-13T17:03:50Z","author_association":"NONE","body":"See #558 "}}
{"actor":{"display_login":"joshraiff-sophos"}}