From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B2AFB13FED for ; Mon, 28 Aug 2023 18:56:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B44D8C433C7; Mon, 28 Aug 2023 18:56:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1693248974; bh=JwnLAkbhxcncGRnCHwKRB/NFxSy61OM35yNq0/gtTq8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=eAfVMhl1yaJIMzTZyoyw5uIEji7gz6SNMm6rtc8RFfNMAku2WhZ1+S8atkZ9JzlcO Owe4Ql58KjLQUSyQUa94Un6n43Lkrz0kx6xPZuj2bJOZLulg5KF8HkcO8iKK1//d/w 9JDd97DPV0vFnwQCFeUyy6y116rJP/kQMcjbpmHeU21AWp95m/G1gwLf5eS4x85yUz KEz/ZtXhebZdmWV/FyhH1VSVw1oHAhsvZKENrOO7sLdfcTUtiF2BKmw60tt5g7dMln YRy2+L/OigoEUVYwajHltuNMmzyN0tWX33a7EjF6fFLgRrPsbdn4OluNhAzV1I5to4 yi+w62tJQxn8A== Message-ID: Date: Mon, 28 Aug 2023 12:56:13 -0600 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [PATCH net v3 2/3] ipv6: ignore dst hint for multipath routes Content-Language: en-US To: Sriram Yagnaraman Cc: netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Ido Schimmel , Shuah Khan , Petr Machata References: <20230828113221.20123-1-sriram.yagnaraman@est.tech> <20230828113221.20123-3-sriram.yagnaraman@est.tech> From: David Ahern In-Reply-To: <20230828113221.20123-3-sriram.yagnaraman@est.tech> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 8/28/23 5:32 AM, Sriram Yagnaraman wrote: > Route hints when the nexthop is part of a multipath group causes packets > in the same receive batch to be sent to the same nexthop irrespective of > the multipath hash of the packet. So, do not extract route hint for > packets whose destination is part of a multipath group. > > A new SKB flag IP6SKB_MULTIPATH is introduced for this purpose, set the > flag when route is looked up in fib6_select_path() and use it in > ip6_can_use_hint() to check for the existence of the flag. > > Fixes: 197dbf24e360 ("ipv6: introduce and uses route look hints for list input.") > Signed-off-by: Sriram Yagnaraman > --- > include/linux/ipv6.h | 1 + > net/ipv6/ip6_input.c | 3 ++- > net/ipv6/route.c | 3 +++ > 3 files changed, 6 insertions(+), 1 deletion(-) > Reviewed-by: David Ahern