[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c677440b-46c5-e32b-5038-21a760ba738b@gmail.com>
Date: Fri, 15 Dec 2017 08:03:01 -0800
From: John Fastabend <john.fastabend@...il.com>
To: David Miller <davem@...emloft.net>, eric@...it.org
Cc: netdev@...r.kernel.org, xdp-newbies@...r.kernel.org,
pmanev@...mus-networks.com,
Alexander Duyck <alexander.duyck@...il.com>,
Emil Tantilov <emil.s.tantilov@...el.com>
Subject: Re: ixgbe tuning reset when XDP is setup
On 12/15/2017 07:53 AM, David Miller wrote:
> From: Eric Leblond <eric@...it.org>
> Date: Fri, 15 Dec 2017 11:24:46 +0100
>
>> Hello,
>>
>> When using an ixgbe card with Suricata we are using the following
>> commands to get a symmetric hash on RSS load balancing:
>>
>> ./set_irq_affinity 0-15 eth3
>> ethtool -X eth3 hkey 6D:5A:6D:5A:6D:5A:6D:5A:6D:5A:6D:5A:6D:5A:6D:5A:6D:5A:6D:5A:6D:5A:6D:5A:6D:5A:6D:5A:6D:5A:6D:5A:6D:5A:6D:5A:6D:5A:6D:5A equal 16
>> ethtool -x eth3
>> ethtool -n eth3
>>
>> Then we start Suricata.
>>
>> In my current experiment on XDP, I have Suricata that inject the eBPF
>> program when starting. The consequence of that when using an ixgbe card
>> is that the load balancing get reset and all interrupts are reaching
>> the first core.
>
> This definitely should _not_ be a side effect of enabling XDP on a device.
>
Agreed, CC Emil and Alex we should restore these settings after the
reconfiguration done to support a queue per core.
.John
Powered by blists - more mailing lists