Re: Unable to open interface zc:

Alfredo Cardigliano <[email protected]> Thu, 3 May 2018 11:50:07 +0200
Newsgroups gmane.linux.ntop.general
Message-ID <[email protected]>
Please provide the output of: grep "Device\|Appl" /proc/net/pf_ring/*

Alfredo

> On 3 May 2018, at 11:43, milad arabi <[email protected]> wrote:
> 
> Sorry,I don't have any idea about pf_ring socket count.
> I only try use nprobe with pf_ring zero copy on 10Gb network card.
> 
> On Thu, May 3, 2018 at 2:04 PM, Alfredo Cardigliano <[email protected] <mailto:[email protected]>> wrote:
> Hi
> it seems that you actually have 256 pf_ring sockets running (as you’ve seen this
> is a hardcoded limit), is that expected?
> 
> Alfredo
> 
> 
>> On 3 May 2018, at 11:28, milad arabi <[email protected] <mailto:[email protected]>> wrote:
>> 
>> here you are:
>> # cat /proc/net/pf_ring/info
>> PF_RING Version          : 7.1.0 (dev:693af7a76b6f020a267459de87a03f6ce81b60ca)
>> Total rings              : 256
>> Standard (non ZC) Options
>> Ring slots               : 4096
>> Slot version             : 17
>> Capture TX               : Yes [RX+TX]
>> IP Defragment            : No
>> Socket Mode              : Standard
>> Cluster Fragment Queue   : 0
>> Cluster Fragment Discard : 0
>> 
>> 
>> On Thu, May 3, 2018 at 1:54 PM, Alfredo Cardigliano <[email protected] <mailto:[email protected]>> wrote:
>> Please provide  cat /proc/net/pf_ring/info
>> 
>> Alfredo
>> 
>>> On 3 May 2018, at 11:15, milad arabi <[email protected] <mailto:[email protected]>> wrote:
>>> 
>>> I ran all commands with root.
>>> 
>>> After runing pfcount,one line added to dmesg.
>>> #dmesg | tail
>>> [ 2806.601203] [PF_RING] Exceeded the maximum number of list items
>>> [ 3055.221248] [PF_RING] Exceeded the maximum number of list items
>>> [ 3055.227500] [PF_RING] Exceeded the maximum number of list items
>>> [ 3248.227713] [PF_RING] Exceeded the maximum number of list items
>>> [ 3254.607473] [PF_RING] Exceeded the maximum number of list items
>>> [ 3908.178971] [PF_RING] Exceeded the maximum number of list items
>>> [ 3908.185082] [PF_RING] Exceeded the maximum number of list items
>>> [ 3990.816291] [PF_RING] Exceeded the maximum number of list items
>>> [224420.870089] [PF_RING] Exceeded the maximum number of list items
>>> [224902.613914] [PF_RING] Exceeded the maximum number of list items
>>> 
>>> maybe this information is irrelevant but:
>>> # cat /usr/src/ixgbe-zc-5.0.4.1888/pf_ring.h | grep  MAX_NUM_RING_SOCKETS
>>> #define MAX_NUM_RING_SOCKETS          256
>>> #define MAX_NUM_LIST_ELEMENTS MAX_NUM_RING_SOCKETS /* sizeof(bits_set) [see below] */
>>> #define MAX_NUM_ZC_BOUND_SOCKETS MAX_NUM_RING_SOCKETS
>>> 
>>> # cat /usr/local/include/linux/pf_ring.h | grep MAX_NUM_RING_SOCKETS
>>> #define MAX_NUM_RING_SOCKETS          256
>>> #define MAX_NUM_LIST_ELEMENTS MAX_NUM_RING_SOCKETS /* sizeof(bits_set) [see below] */
>>> #define MAX_NUM_ZC_BOUND_SOCKETS MAX_NUM_RING_SOCKETS
>>> 
>>> 
>>> On Thu, May 3, 2018 at 1:24 PM, Alfredo Cardigliano <[email protected] <mailto:[email protected]>> wrote:
>>> Hi
>>> are you running the application as root?
>>> Please also provide "dmesg | tail” after running pfcount
>>> 
>>> Thank you
>>> Alfredo
>>> _______________________________________________
>>> Ntop mailing list
>>> [email protected] <mailto:[email protected]>
>>> http://listgateway.unipi.it/mailman/listinfo/ntop <http://listgateway.unipi.it/mailman/listinfo/ntop>
>> 
>> _______________________________________________
>> Ntop mailing list
>> [email protected] <mailto:[email protected]>
>> http://listgateway.unipi.it/mailman/listinfo/ntop <http://listgateway.unipi.it/mailman/listinfo/ntop>
>> 
>> _______________________________________________
>> Ntop mailing list
>> [email protected] <mailto:[email protected]>
>> http://listgateway.unipi.it/mailman/listinfo/ntop <http://listgateway.unipi.it/mailman/listinfo/ntop>
> 
> _______________________________________________
> Ntop mailing list
> [email protected] <mailto:[email protected]>
> http://listgateway.unipi.it/mailman/listinfo/ntop <http://listgateway.unipi.it/mailman/listinfo/ntop>
> 
> _______________________________________________
> Ntop mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEunYLiJIhvMrSEXzAm6qh6WCZ23EFAlrq208ACgkQm6qh6WCZ
23GDpRAAjpOxbnxacGLVSbbv93s59WnCcQskiqAJh0xAYWJdyXTZTx4px+2zDW9E
TY5gTnMSxqyYVy4OqiLGQ/f2T0MIqysjw1cP9RCREzOiRaxBkVcVrMZVbqSm0awB
eQczu+axMbNne0cZkyFlyL2Pjp9c1Axi2GISbQYEp543YDqG/JD9qXZeZ/S9Hbsw
jQolZvARgEYWYYkO0SuBl+1dfnsZV5onbWzqAjn6N6ZXTvdK412OLB1r87Jj36sp
BuuqW33ulLI9V4OGgZRxpAUN0YNarVNZ30SgG8kM92k+dG5nrzsjh1NLKQWOdcxK
EyYvhRkYjlN1n6KlIIAo7MxW7lGwMlK93AVbzAjtLXU3C4VIPq4Rmt5RctVmB51V
02U5aieW5jTH+S36VmX5UP9Z9AG3wuvC7T2551i3JCxu3aX8ZBVEhXSgdaheu37e
o1WVzXC8Kvf2h1CuA4CaZb/YfnfPW40m0S0VIT9/DqE2dBAzGY+gHB75RsS988DD
faDkljqX79xn5qGJ6w2SY3NEci2V/Zo0gbgRaOZFASpKEZZtTUP87bEXw5pxE8y4
w/IMM3m3AmhIRwbfqaRTjOdrReQZLHE7+RxY59Bg5KchREOPc+Zm3//EIqpIagsg
dv0uajd5Qm92eyU8rcffQaNGoTRBc+zMyhi6ykH+KT5SdfAl7Og=
=4sBN
-----END PGP SIGNATURE-----