diff options
author | Kuniyuki Iwashima <kuniyu@amazon.co.jp> | 2021-06-23 08:35:29 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-23 12:56:08 -0700 |
commit | 55d444b310c64b084dcc62ba3e4dc3862269fb96 (patch) | |
tree | 48678971ce4b31dbfaf01d105104bebf37f7d7e7 /drivers/net/virtio_net.c | |
parent | 7525de2516fba8661bdea409718708c711c5d5e1 (diff) |
tcp: Add stats for socket migration.
This commit adds two stats for the socket migration feature to evaluate the
effectiveness: LINUX_MIB_TCPMIGRATEREQ(SUCCESS|FAILURE).
If the migration fails because of the own_req race in receiving ACK and
sending SYN+ACK paths, we do not increment the failure stat. Then another
CPU is responsible for the req.
Link: https://lore.kernel.org/bpf/CAK6E8=cgFKuGecTzSCSQ8z3YJ_163C0uwO9yRvfDSE7vOe9mJA@mail.gmail.com/
Suggested-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.co.jp>
Acked-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions