Netdev List
 help / color / mirror / Atom feed
From: Yonghong Song <yhs@fb.com>
To: Martin KaFai Lau <kafai@fb.com>, <bpf@vger.kernel.org>
Cc: Alexei Starovoitov <ast@kernel.org>,
	Daniel Borkmann <daniel@iogearbox.net>, <kernel-team@fb.com>,
	<netdev@vger.kernel.org>
Subject: Re: [PATCH bpf-next 1/2] bpf: Add bpf_sk_storage support to bpf_tcp_ca
Date: Thu, 19 Mar 2020 20:39:07 -0700	[thread overview]
Message-ID: <d393606e-7d10-cb48-7924-c0441b815db2@fb.com> (raw)
In-Reply-To: <20200319235002.2939713-1-kafai@fb.com>



On 3/19/20 4:50 PM, Martin KaFai Lau wrote:
> This patch adds bpf_sk_storage_get() and bpf_sk_storage_delete()
> helper to the bpf_tcp_ca's struct_ops.  That would allow
> bpf-tcp-cc to:
> 1) share sk private data with other bpf progs.
> 2) use bpf_sk_storage as a private storage for a bpf-tcp-cc
>     if the existing icsk_ca_priv is not big enough.
> 
> Signed-off-by: Martin KaFai Lau <kafai@fb.com>

Acked-by: Yonghong Song <yhs@fb.com>

  reply	other threads:[~2020-03-20  3:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-19 23:49 [PATCH bpf-next 0/2] bpf: Add bpf_sk_storage support to bpf_tcp_ca Martin KaFai Lau
2020-03-19 23:50 ` [PATCH bpf-next 1/2] " Martin KaFai Lau
2020-03-20  3:39   ` Yonghong Song [this message]
2020-03-19 23:50 ` [PATCH bpf-next 2/2] bpf: Add tests for bpf_sk_storage " Martin KaFai Lau
2020-03-20  3:49   ` Yonghong Song
2020-03-20  5:33     ` Martin KaFai Lau

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=d393606e-7d10-cb48-7924-c0441b815db2@fb.com \
    --to=yhs@fb.com \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=kafai@fb.com \
    --cc=kernel-team@fb.com \
    --cc=netdev@vger.kernel.org \
    /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