{"action":"created","issue":{"url":"https://api.github.com/repos/luigirizzo/netmap/issues/223","repository_url":"https://api.github.com/repos/luigirizzo/netmap","labels_url":"https://api.github.com/repos/luigirizzo/netmap/issues/223/labels{/name}","comments_url":"https://api.github.com/repos/luigirizzo/netmap/issues/223/comments","events_url":"https://api.github.com/repos/luigirizzo/netmap/issues/223/events","html_url":"https://github.com/luigirizzo/netmap/issues/223","id":178657899,"number":223,"title":"dmesg is full of netmap_transmit for non existing interface","user":{"login":"potakhov","id":10053642,"avatar_url":"https://avatars.githubusercontent.com/u/10053642?v=3","gravatar_id":"","url":"https://api.github.com/users/potakhov","html_url":"https://github.com/potakhov","followers_url":"https://api.github.com/users/potakhov/followers","following_url":"https://api.github.com/users/potakhov/following{/other_user}","gists_url":"https://api.github.com/users/potakhov/gists{/gist_id}","starred_url":"https://api.github.com/users/potakhov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/potakhov/subscriptions","organizations_url":"https://api.github.com/users/potakhov/orgs","repos_url":"https://api.github.com/users/potakhov/repos","events_url":"https://api.github.com/users/potakhov/events{/privacy}","received_events_url":"https://api.github.com/users/potakhov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-22T16:26:55Z","updated_at":"2016-09-23T21:13:46Z","closed_at":null,"body":"I'm using netmap with ixgbe NIC on CentOS 7 to filter incoming traffic to match some specific rules and then inject it back to the host stack. All the host stack traffic is injected back to NIC. I know this is not recommended however the volume for the valid traffic is not high so in overall it works well.\r\nThe question is - from time to time system log gets flooded with messages like those:\r\n\r\n[1216052.820858] 929.361557 [3010] netmap_transmit           eth0 full hwcur 51 hwtail 198 qlen 364 len 130 m ffff8807ba828af8\r\n[1216052.821552] 929.362251 [3010] netmap_transmit           eth0 full hwcur 51 hwtail 198 qlen 364 len 564 m ffff88083151b4f8\r\n[1216052.822513] 929.363213 [3010] netmap_transmit           eth0 full hwcur 51 hwtail 198 qlen 364 len 292 m ffff8808202b8af8\r\n[1216052.823279] 929.363979 [3010] netmap_transmit           eth0 full hwcur 51 hwtail 198 qlen 364 len 60 m ffff88084f9a1ef8\r\n[1216052.823894] 929.364592 [3010] netmap_transmit           eth0 full hwcur 51 hwtail 198 qlen 364 len 130 m ffff880821dcf2f8\r\n[1216052.824520] 929.365219 [3010] netmap_transmit           eth0 full hwcur 51 hwtail 198 qlen 364 len 130 m ffff8800368234f8\r\n[1216052.825393] 929.366091 [3010] netmap_transmit           eth0 full hwcur 51 hwtail 198 qlen 364 len 130 m ffff88082182f8f8\r\n[1216052.825901] 929.366598 [3010] netmap_transmit           eth0 full hwcur 51 hwtail 198 qlen 364 len 564 m ffff880822d470f8\r\n[1216052.826657] 929.367354 [3010] netmap_transmit           eth0 full hwcur 51 hwtail 198 qlen 364 len 292 m ffff880035d332f8\r\n[1216052.827160] 929.367857 [3010] netmap_transmit           eth0 full hwcur 51 hwtail 198 qlen 364 len 292 m ffff88084a3242f8\r\n\r\nThe issue is that eth0 device does not exist on any of target machines. Netmap is listening on ens1f0 and eth0 is not even registered to any of the NICs.\r\nIt is not seem related with inbound or outbound traffic levels nor with CPU load on particular boxes. Could you please give me a hint where to look further."},"comment":{"url":"https://api.github.com/repos/luigirizzo/netmap/issues/comments/249303867","html_url":"https://github.com/luigirizzo/netmap/issues/223#issuecomment-249303867","issue_url":"https://api.github.com/repos/luigirizzo/netmap/issues/223","id":249303867,"user":{"login":"potakhov","id":10053642,"avatar_url":"https://avatars.githubusercontent.com/u/10053642?v=3","gravatar_id":"","url":"https://api.github.com/users/potakhov","html_url":"https://github.com/potakhov","followers_url":"https://api.github.com/users/potakhov/followers","following_url":"https://api.github.com/users/potakhov/following{/other_user}","gists_url":"https://api.github.com/users/potakhov/gists{/gist_id}","starred_url":"https://api.github.com/users/potakhov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/potakhov/subscriptions","organizations_url":"https://api.github.com/users/potakhov/orgs","repos_url":"https://api.github.com/users/potakhov/repos","events_url":"https://api.github.com/users/potakhov/events{/privacy}","received_events_url":"https://api.github.com/users/potakhov/received_events","type":"User","site_admin":false},"created_at":"2016-09-23T21:13:46Z","updated_at":"2016-09-23T21:13:46Z","body":"yes and that is why I'm asking, I checked the source myself and understand that it can't just make it up however I don't have any udev rules on renaming and those names are how CentOS 7 actually calls the interfaces itself\r\nit seems that it happens more often under a bigger load (passing ~250mbps in/out to/from the kernel stack ring) - could it be caused by operations on a host stack ring somehow maybe? \r\nOn a side note - if I increase the ring size - would that increase size for a host ring as well? Is that a /sys/module/netmap/parameters/ring_size parameter which controls that?"}}
{"actor":{"display_login":"potakhov"}}