Re: [vpp-dev] Regarding symmetric RSS hash with DPDK plugin

2018-08-16 Thread Damjan Marion via Lists.Fd.Io
you should be able to do that by enabling same number of rx queues to number of 
workers +1 (main thread) and set rx placement to match tx queue assignment.
VPP statically maps on tx side queue to thread, so main thread is always using 
queue 0, worker 0 uses queue 1and so on
Issue is that this will result in traffic also going to main core,  unless you 
can teach nic to skip queue 0

-- 
Damjan

> On 16 Aug 2018, at 12:13, Prashant Upadhyaya  wrote:
> 
> Hi,
> 
> I need to use symmetric RSS hash in VPP while using DPDK plugin, so
> that both sides of my TCP flows land on the same worker.
> 
> Requesting to please advise what would be the correct way of achieving
> this in VPP via the hardware (say Intel82599 NIC) -- I believe it is
> possible to configure an RSS key which does that. So the question
> really is, if this configuration is supported by VPP or the code needs
> to be changed somewhere to achieve this.
> 
> Regards
> -Prashant
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#10184): https://lists.fd.io/g/vpp-dev/message/10184
> Mute This Topic: https://lists.fd.io/mt/24569696/675642
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [dmar...@me.com]
> -=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10186): https://lists.fd.io/g/vpp-dev/message/10186
Mute This Topic: https://lists.fd.io/mt/24569696/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] Regarding symmetric RSS hash with DPDK plugin

2018-08-16 Thread Prashant Upadhyaya
Hi,

I need to use symmetric RSS hash in VPP while using DPDK plugin, so
that both sides of my TCP flows land on the same worker.

Requesting to please advise what would be the correct way of achieving
this in VPP via the hardware (say Intel82599 NIC) -- I believe it is
possible to configure an RSS key which does that. So the question
really is, if this configuration is supported by VPP or the code needs
to be changed somewhere to achieve this.

Regards
-Prashant
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10184): https://lists.fd.io/g/vpp-dev/message/10184
Mute This Topic: https://lists.fd.io/mt/24569696/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-