Ok, thanks for your reply. Hope you have a wonderful day.

On Tue, Oct 21, 2014 at 3:03 PM, Alfredo Cardigliano <[email protected]>
wrote:

> Hi
> it is ok, mode 2 is non transparent (the Linux stack does not receive
> packets)
>
> Alfredo
>
> > Il giorno 21/ott/2014, alle ore 05:47, jaseywang <[email protected]>
> ha scritto:
> >
> > Hi
> > I have compiled pf_ring and pf_ring_aware driver tg3, when I try to load
> the driver with mode 2, it seems not work, but mode 0 and mode 2 works well.
> > PF_RING 6.0.2
> > broadcom tg3 3.136h
> > kernel 2.6.32-279.el6.x86_64
> >
> >
> > mode 0
> > [jaseywang@local drivers]$ sudo modprobe  pf_ring transparent_mode=0
> > [jaseywang@local drivers]$ cat /proc/net/pf_ring/info
> > PF_RING Version          : 6.0.2 ($Revision: exported$)
> > Total rings              : 0
> >
> > Standard (non DNA) Options
> > Ring slots               : 4096
> > Slot version             : 16
> > Capture TX               : Yes [RX+TX]
> > IP Defragment            : No
> > Socket Mode              : Standard
> > Transparent mode         : Yes [mode 0]
> > Total plugins            : 0
> > Cluster Fragment Queue   : 0
> > Cluster Fragment Discard : 0
> >
> >
> > mode 1
> > [jaseywang@local drivers]$ sudo rmmod pf_ring
> > [jaseywang@local drivers]$ sudo modprobe  pf_ring transparent_mode=1
> > [jaseywang@local drivers]$ cat /proc/net/pf_ring/info
> > PF_RING Version          : 6.0.2 ($Revision: exported$)
> > Total rings              : 0
> >
> > Standard (non DNA) Options
> > Ring slots               : 4096
> > Slot version             : 16
> > Capture TX               : Yes [RX+TX]
> > IP Defragment            : No
> > Socket Mode              : Standard
> > Transparent mode         : Yes [mode 1]
> > Total plugins            : 0
> > Cluster Fragment Queue   : 0
> > Cluster Fragment Discard : 0
> >
> >
> > mode 2
> > [jaseywang@local drivers]$ sudo rmmod pf_ring
> > [jaseywang@local drivers]$ sudo modprobe  pf_ring transparent_mode=2
> > [jaseywang@local drivers]$ cat /proc/net/pf_ring/info
> > PF_RING Version          : 6.0.2 ($Revision: exported$)
> > Total rings              : 0
> >
> > Standard (non DNA) Options
> > Ring slots               : 4096
> > Slot version             : 16
> > Capture TX               : Yes [RX+TX]
> > IP Defragment            : No
> > Socket Mode              : Standard
> > Transparent mode         : No [mode 2] ------------------------------>
> it shows *NO*
> > Total plugins            : 0
> > Cluster Fragment Queue   : 0
> > Cluster Fragment Discard : 0
> >
> >
> > Besides Broadcom tg3 driver, we also tried Intel I350 igb driver, the
> same result.
> > I'm not sure whether it's ok, please have a look.
> > _______________________________________________
> > Ntop-misc mailing list
> > [email protected]
> > http://listgateway.unipi.it/mailman/listinfo/ntop-misc
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to