From: David S. Miller Date: Sat, 14 Apr 2018 19:39:53 +0000 (-0400) Subject: Merge branch 'sfc-ARFS-fixes' X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d6606bcc6dbbf6c7b9fdf9166a9aa92c1d9aaaf5;p=openwrt%2Fstaging%2Fblogic.git Merge branch 'sfc-ARFS-fixes' Edward Cree says: ==================== sfc: ARFS fixes Three issues introduced by my recent asynchronous filter handling changes: 1. The old filter_rfs_insert would replace a matching filter of equal priority; we need to pass the appropriate argument to filter_insert to make it do the same. 2. We're lying to the kernel with our return value from ndo_rx_flow_steer, so we need to lie consistently when calling rps_may_expire_flow. This is only a partial fix, as the lie still prevents us from steering multiple flows with the same ID to different queues; a proper fix that stops us lying at all will hopefully follow later. 3. It's possible to cause the kernel to hammer ndo_rx_flow_steer very hard, so make sure we don't build up too huge a backlog of workitems. Possibly it would be better to fix #3 on the kernel side; I have a patch which I think does that but it's not a regression in 4.17 so isn't 'net' material. There's also the issue that we come up in the bad configuration that triggers #3 by default, but that too is a problem for another time. ==================== Signed-off-by: David S. Miller --- d6606bcc6dbbf6c7b9fdf9166a9aa92c1d9aaaf5