BPF List
 help / color / mirror / Atom feed
From: Rao Shoaib <rao.shoaib@oracle.com>
To: sdf@google.com, Eric Dumazet <edumazet@google.com>,
	priyarjha@google.com, ycheng@google.com, soheil@google.com,
	daniel@iogearbox.net
Cc: netdev@vger.kernel.org, bpf@vger.kernel.org
Subject: bpf: add BPF_CGROUP_SOCK_OPS callback that is executed on every RTT (commit: 23729ff23186424)
Date: Thu, 25 Jul 2024 12:37:03 -0700	[thread overview]
Message-ID: <2628656e-ea6f-4885-8fbc-bd14f07a5b00@oracle.com> (raw)

Hi Stanislav,

I have a question about the placement of tcp_bpf_rtt() call in
tcp_rtt_estimator(). Why is the call made before the assignment

tp->srtt_us = max(1U, srtt);

How is the attached eBPF program suppose the get the new value?

Thanks,

Shoaib

             reply	other threads:[~2024-07-25 19:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-25 19:37 Rao Shoaib [this message]
2024-07-26  3:29 ` bpf: add BPF_CGROUP_SOCK_OPS callback that is executed on every RTT (commit: 23729ff23186424) Stanislav Fomichev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2628656e-ea6f-4885-8fbc-bd14f07a5b00@oracle.com \
    --to=rao.shoaib@oracle.com \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=edumazet@google.com \
    --cc=netdev@vger.kernel.org \
    --cc=priyarjha@google.com \
    --cc=sdf@google.com \
    --cc=soheil@google.com \
    --cc=ycheng@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox