Hello, Katarina!

You can look at my code which uses hw filtering with 82599:
https://github.com/FastVPSEestiOu/fastnetmon/blob/master/fastnetmon.cpp#L2167
but examples from PF_RING are better :)

On Tue, Nov 25, 2014 at 10:49 AM, Katarina Valent
<[email protected]> wrote:
> Hi Alfredo
>
>
>
> Thank you for your prompt response. We will look into examples you have
> mentioned.
>
> We were using instructions from:
> http://www.ntop.org/products/pf_ring/hardware-packet-filtering/
>
> Are there any updated instructions we could use?
>
>
>
> Best regards,
>
> Katarina Valent
>
>
>
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Alfredo
> Cardigliano
> Sent: Monday, November 24, 2014 5:03 PM
> To: [email protected]
> Subject: Re: [Ntop-misc] Hardware filtering problem
>
>
>
> Hi Katarina
>
> please read below
>
>
>
> On 24 Nov 2014, at 15:18, Katarina Valent <[email protected]>
> wrote:
>
>
>
> Hi
>
>
>
> Until now, we have used PF_RING TNAPI for packet filtering on Intel 1G card
> so we are familiar with PF_RING. We are now working on a project that
> requires hardware filtering on 82599 Intel network card using PF_RING.
>
> We have recently purchased PF_RING ZC license for 10 Gbit adapters
>
> Steps we have done:
>
> -          Downloaded downloaded PF_RING-6.0.2.tar.gz
>
> -          Compiled PF_RING and drivers from PF_RING-6.0.2
>
> -          purchased PF_RING ZC license for 10 Gbit adapters (order
> 1416498630)
>
> -          downloaded
> http://www.nmon.net/packages/debian/7.6/all/PF_RING-dkms/pfring-dkms_6.0.3_all.deb
> and installed it
>
> -          activated licence per instructions
>
> -          insmoding pf_ring and ixgbe.ko driver using script in attachment
> (script is located in
> /opt/PF_RING-6.0.2/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.21.2-zc/src)
>
>
>
> Problems we have:
>
> -          we don't seem to get file in cat /proc/net/pf_ring/dev/eth2/rules
> where rules for hardware filtering can be set.
>
>
>
> /proc is deprecated, you should add/remove rules using the API.
>
> Please take a look at the examples in
> PF_RING/userland/{examples,examples_zc}, for instance ./zcount -h | grep
> "\-R"
>
>
>
> -          Insmod ixgbe.ko with parameter FdirMode=2,2,2,2 returns: Error:
> could not insert module ixgbe.ko: Unknown symbol in module
>
>
>
> FdirMode is deprecated, actually it is not present in the enclosed script.
>
>
>
> -          In dmesg after using load_driver_“.sh script we do not get line:
> ixgbe: 0000:02:00.0: ixgbe_check_options: Flow Director perfect filtering
> enabled
>
>
>
> You should not expect this message in latest driver.
>
>
>
> I have attached output from dmesg after using script load_driver_2.sh
>
>
>
> Can you help us determine what are we doing wrong?
>
>
>
> Thank you in advance,
>
> Katarina Valent
>
>
>
> Best Regards
>
> Alfredo
>
>
>
>
>
>
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc



-- 
Sincerely yours, Pavel Odintsov
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to