lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEc1PS0OhdbVD_tUurNO2rk_w_VSewSNWirq2w6LwZCsZoBisQ@mail.gmail.com>
Date:	Sat, 3 Mar 2012 23:30:36 -0500
From:	Yuehai Xu <yuehaixu@...il.com>
To:	Ben Hutchings <bhutchings@...arflare.com>
Cc:	netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
	Eric Dumazet <eric.dumazet@...il.com>, yhxu@...ne.edu,
	sbw@....edu
Subject: Re: How do I know my driver support RSS?

On Sat, Mar 3, 2012 at 7:10 PM, Ben Hutchings <bhutchings@...arflare.com> wrote:
> On Sat, 2012-03-03 at 16:25 -0500, Yuehai Xu wrote:
> [...]
>> Since I read the following statements from a paper, "we use a separate
>> hardware receive and transmit queue for each core and configure the
>> IXGBE to inspect the port number in each incoming packet header, place
>> the packet on the queue dedicated to the associated memcached's core,
>> and deliver the receive interrupt to that core." and the background of
>> this configuration is that each memcached is pinned to a separate core
>> and has its own UDP port. It seems that IXGBE's driver can detect UDP
>> packets according to their port numbers and put these packets into
>> corresponding receive queues in the hardware, is this achieved by
>> configuring RSS in IXGBE? If it is, I am wondering whether bnx2
>> supports RSS and whether it can configure in the same way.
>>
>> I appreciate any help for this.
>
> You're confusing RSS (flow hashing) with flow steering.  These are both
> explained in Documentation/network/scaling.txt.
>
> Ben.
>
I appreciate your replying!! What confuses me is that for each UDP
socket with exclusive port number, it has RX queue in transport layer,
and network card might also have multiple RX queues. These two queues
are definitely different. So, is it possible to configure network card
to put packets to queues(RX queues in network card) according to hash?
I read the codes of RPS/RFS, it seems that packets are put into queues
in transport layer of sockets instead of queues in network card. Am I
correct?

I appreciate any replies.

Yuehai
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ