Hi, Alfredo
I did try some earlier version, like 7.5.0 but the management port of my
host was killed if I enable RSS. So I have to upgrade to 7.6.0, maybe you
will remember that case.
After some work on this, I have found a fast way to reproduce this issue. I
wrote a test program and ran it on my host. If I run this program before
packets are injected into this host, everything works fine. but if I inject
the packets first, the machine will reboot after I start this test program,
immediately.
And here is the information in /proc/net/pf_ring/info:
PF_RING Version : 7.6.0
(7.6.0-stable:0e07b27c0d593174584de79e273470366a91d307)
Total rings : 0
Standard (non ZC) Options
Ring slots : 65536
Slot version : 17
Capture TX : Yes [RX+TX]
IP Defragment : No
Socket Mode : Standard
Cluster Fragment Queue : 0
Cluster Fragment Discard : 0
The source code of my test is attached, and it can be compiled with:
gcc -o test main.c -lpthread -lpcap
Thank you for any help.
Wang
On Mon, May 11, 2020 at 10:41 PM Alfredo Cardigliano <cardigliano@ntop.org>
wrote:
> Hi Wang
> did you update from a previous pf_ring version that was working with no
> crashes?
> Can I see the zcount command line which is causing this?
> Weird this is happening with X520 and not happening with 82599 as they
> should
> behave the same, need to investigate. What 7.6 version are you running
> exactly?
> Could you provide cat /proc/net/pf_ring/info?
>
> Thank you
> Alfredo
>
> > On 11 May 2020, at 04:44, Wang <cnwangyong@gmail.com> wrote:
> >
> > Hello,
> > I installed PF Ring ZC 7.6.0 on a centos 7 box. When I configured the
> ixgde driver with RSS queue number to 8, the centos kernel would crash
> after zcount worked for hours. This would happen only when the RSS queue
> configured to more than 1 and the more queue number it configured, the more
> frequent this would happen.
> > The kernel is 3.10.0-1062.9.1.el7.x86_64 and the NIC is a intel X520
> duel port.
> > I also installed a intel 82599 duel port and it works fine, it appeared
> there was something wrong with x520 and pfring zc driver.
> >
> > Any comment?
> >
> > Regards,
> > Wang
> > _______________________________________________
> > Ntop-misc mailing list
> > Ntop-misc@listgateway.unipi.it
> > http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc@listgateway.unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>