* [PATCH net] selftests: rtnetlink: correct xfrm policy rule in kci_test_ipsec_offload
@ 2022-12-01 8:22 Zhengchao Shao
2022-12-02 2:06 ` Hangbin Liu
2022-12-03 5:30 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Zhengchao Shao @ 2022-12-01 8:22 UTC (permalink / raw)
To: netdev, linux-kselftest, davem, edumazet, kuba, pabeni, shuah
Cc: shannon.nelson, weiyongjun1, yuehaibing, shaozhengchao
When testing in kci_test_ipsec_offload, srcip is configured as $dstip,
it should add xfrm policy rule in instead of out.
The test result of this patch is as follows:
PASS: ipsec_offload
Fixes: 2766a11161cc ("selftests: rtnetlink: add ipsec offload API test")
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
---
tools/testing/selftests/net/rtnetlink.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/net/rtnetlink.sh b/tools/testing/selftests/net/rtnetlink.sh
index 0900c5438fbb..275491be3da2 100755
--- a/tools/testing/selftests/net/rtnetlink.sh
+++ b/tools/testing/selftests/net/rtnetlink.sh
@@ -782,7 +782,7 @@ kci_test_ipsec_offload()
tmpl proto esp src $srcip dst $dstip spi 9 \
mode transport reqid 42
check_err $?
- ip x p add dir out src $dstip/24 dst $srcip/24 \
+ ip x p add dir in src $dstip/24 dst $srcip/24 \
tmpl proto esp src $dstip dst $srcip spi 9 \
mode transport reqid 42
check_err $?
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net] selftests: rtnetlink: correct xfrm policy rule in kci_test_ipsec_offload
2022-12-01 8:22 [PATCH net] selftests: rtnetlink: correct xfrm policy rule in kci_test_ipsec_offload Zhengchao Shao
@ 2022-12-02 2:06 ` Hangbin Liu
2022-12-03 5:30 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Hangbin Liu @ 2022-12-02 2:06 UTC (permalink / raw)
To: Zhengchao Shao
Cc: netdev, linux-kselftest, davem, edumazet, kuba, pabeni, shuah,
shannon.nelson, weiyongjun1, yuehaibing
On Thu, Dec 01, 2022 at 04:22:46PM +0800, Zhengchao Shao wrote:
> When testing in kci_test_ipsec_offload, srcip is configured as $dstip,
> it should add xfrm policy rule in instead of out.
> The test result of this patch is as follows:
> PASS: ipsec_offload
>
> Fixes: 2766a11161cc ("selftests: rtnetlink: add ipsec offload API test")
> Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
> ---
> tools/testing/selftests/net/rtnetlink.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/testing/selftests/net/rtnetlink.sh b/tools/testing/selftests/net/rtnetlink.sh
> index 0900c5438fbb..275491be3da2 100755
> --- a/tools/testing/selftests/net/rtnetlink.sh
> +++ b/tools/testing/selftests/net/rtnetlink.sh
> @@ -782,7 +782,7 @@ kci_test_ipsec_offload()
> tmpl proto esp src $srcip dst $dstip spi 9 \
> mode transport reqid 42
> check_err $?
> - ip x p add dir out src $dstip/24 dst $srcip/24 \
> + ip x p add dir in src $dstip/24 dst $srcip/24 \
> tmpl proto esp src $dstip dst $srcip spi 9 \
> mode transport reqid 42
> check_err $?
> --
> 2.34.1
>
Acked-by: Hangbin Liu <liuhangbin@gmail.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net] selftests: rtnetlink: correct xfrm policy rule in kci_test_ipsec_offload
2022-12-01 8:22 [PATCH net] selftests: rtnetlink: correct xfrm policy rule in kci_test_ipsec_offload Zhengchao Shao
2022-12-02 2:06 ` Hangbin Liu
@ 2022-12-03 5:30 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-12-03 5:30 UTC (permalink / raw)
To: Zhengchao Shao
Cc: netdev, linux-kselftest, davem, edumazet, kuba, pabeni, shuah,
shannon.nelson, weiyongjun1, yuehaibing
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@kernel.org>:
On Thu, 1 Dec 2022 16:22:46 +0800 you wrote:
> When testing in kci_test_ipsec_offload, srcip is configured as $dstip,
> it should add xfrm policy rule in instead of out.
> The test result of this patch is as follows:
> PASS: ipsec_offload
>
> Fixes: 2766a11161cc ("selftests: rtnetlink: add ipsec offload API test")
> Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
>
> [...]
Here is the summary with links:
- [net] selftests: rtnetlink: correct xfrm policy rule in kci_test_ipsec_offload
https://git.kernel.org/netdev/net/c/85a0506c0733
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-12-03 5:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-01 8:22 [PATCH net] selftests: rtnetlink: correct xfrm policy rule in kci_test_ipsec_offload Zhengchao Shao
2022-12-02 2:06 ` Hangbin Liu
2022-12-03 5:30 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox