From: Eliezer Croitoru <eliezer@ngtech.co.il>
To: netfilter@vger.kernel.org
Cc: Varun Sharma <vsdssd@gmail.com>
Subject: Re: traffic distribution not happening on 40G ethernet card.
Date: Mon, 05 Jan 2015 06:19:01 +0200 [thread overview]
Message-ID: <54AA10B5.10504@ngtech.co.il> (raw)
In-Reply-To: <CAFat2-h0n=Cuka0-UPjE3tyL1dU13bwF-D_fRTZ+c2AQq9Q5_Q@mail.gmail.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey,
Did you found any direction about the issue?
Eliezer
On 05/05/2014 12:39 PM, Varun Sharma wrote:
> Hi,
>
> I am using nfqnl_test.c code available on netfilter org. I have
> generated two binaries (queue0 and queue1) using that nfqnl_test.c
> sample code. These binaries are working as per expected behaviour
> in case of 10G Ethernet but with 40G Ethernet only one queue is
> receiving network traffic.
>
> I am not able to understand why only one queue is receiving
> network traffic in case of 40G Ethernet whereas same network
> traffic is being distributed in both the queues with 10G Ethernet.
>
> Machine configuration for 40G Ethernet:-
>
> kernel -: 2.6.32-431.el6.x86_64
>
> libmnl-1.0.3-4.el6.x86_64
>
> libnfnetlink-1.0.1-1.el6.x86_64
>
> libnetfilter_queue-1.0.2-1.el6.x86_64
>
> Command used for iptables:-
>
> iptables -A INPUT –i eth4 -j NFQUEUE --queue-balance 0:1
>
>
> Output:-
>
> [varun@exp2 ~]$ ./queue0
>
> opening library handle
>
> unbinding existing nf_queue handler for AF_INET (if any)
>
> binding nfnetlink_queue as nf_queue handler for AF_INET
>
> binding this socket to queue '0'
>
> setting copy_packet mode
>
> pkt received
>
> queue0 hw_protocol=0x0800 hook=1 id=0
> hw_src_addr=fc:4d:d4:d3:7f:73 indev=2 payload_len=40
>
> entering callback
>
> pkt received
>
> queue0 hw_protocol=0x0800 hook=1 id=1
> hw_src_addr=fc:4d:d4:d3:7f:73 indev=2 payload_len=40
>
> entering callback
>
> pkt received
>
> queue0 hw_protocol=0x0800 hook=1 id=2
> hw_src_addr=fc:4d:d4:d3:7f:73 indev=2 payload_len=40
>
> entering callback
>
> pkt received
>
> queue0 hw_protocol=0x0800 hook=1 id=3
> hw_src_addr=fc:4d:d4:f1:e1:5f indev=2 payload_len=78
>
> entering callback
>
>
>
> [varun@exp2 ~]$ ./queue1
>
> opening library handle
>
> unbinding existing nf_queue handler for AF_INET (if any)
>
> binding nfnetlink_queue as nf_queue handler for AF_INET
>
> binding this socket to queue '1'
>
> setting copy_packet mode
>
>
>
>
> Please let me know if more information is required.
>
> Regards Varun -- To unsubscribe from this list: send the line
> "unsubscribe netfilter" in the body of a message to
> majordomo@vger.kernel.org More majordomo info at
> http://vger.kernel.org/majordomo-info.html
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBAgAGBQJUqhC1AAoJENxnfXtQ8ZQUCGQH/0Ppfg9wPbsgvTx6X18/qYSH
+RbX29QUBkZWVxHPvDAEjMf6IMUh3KiTxoWSZ2XlZnvf54+sm4ynsCS7OCgQUV7I
nIJJx9h4Ww3FIuRQBaEpN5CJ5GCbY2PG0ZgpkFXFhWW6pdFTwoIQvmVVRIBLkXs0
WpeKbh2VRgauogy9gXhrQ5oLYKHrWucJs4iU63TGA06i3hHh0QE3PIwaWlkb60Lb
RMxsgeEjTWSicTfeCYJblfaOfwtHScuLy0Lln/5jtVAGP5ONfY2ovrlWKylq4HuL
37IFMurQhTRbWLFNYB64sdWl45oHvYcPlGLyqi9gTvCXYZWEA1YITaAsxlnSrSU=
=qc01
-----END PGP SIGNATURE-----
prev parent reply other threads:[~2015-01-05 4:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-05 9:39 traffic distribution not happening on 40G ethernet card Varun Sharma
2015-01-05 4:19 ` Eliezer Croitoru [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54AA10B5.10504@ngtech.co.il \
--to=eliezer@ngtech.co.il \
--cc=netfilter@vger.kernel.org \
--cc=vsdssd@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.