Re: [PATCH bpf-next v8 3/7] bpf: Generalize bpf_sk_storage

2020-08-19 Thread KP Singh
On 19.08.20 19:12, Martin KaFai Lau wrote: > On Wed, Aug 19, 2020 at 02:41:50PM +0200, KP Singh wrote: >> On 8/18/20 3:05 AM, Martin KaFai Lau wrote: >>> On Mon, Aug 03, 2020 at 06:46:51PM +0200, KP Singh wrote: From: KP Singh Refactor the functionality in bpf_sk_storage.c so

Re: [PATCH bpf-next v8 3/7] bpf: Generalize bpf_sk_storage

2020-08-19 Thread Martin KaFai Lau
On Wed, Aug 19, 2020 at 02:41:50PM +0200, KP Singh wrote: > On 8/18/20 3:05 AM, Martin KaFai Lau wrote: > > On Mon, Aug 03, 2020 at 06:46:51PM +0200, KP Singh wrote: > >> From: KP Singh > >> > >> Refactor the functionality in bpf_sk_storage.c so that concept of > >> storage linked to kernel

Re: [PATCH bpf-next v8 3/7] bpf: Generalize bpf_sk_storage

2020-08-19 Thread KP Singh
On 8/18/20 3:05 AM, Martin KaFai Lau wrote: > On Mon, Aug 03, 2020 at 06:46:51PM +0200, KP Singh wrote: >> From: KP Singh >> >> Refactor the functionality in bpf_sk_storage.c so that concept of >> storage linked to kernel objects can be extended to other objects like >> inode, task_struct etc.

Re: [PATCH bpf-next v8 3/7] bpf: Generalize bpf_sk_storage

2020-08-17 Thread Martin KaFai Lau
On Mon, Aug 03, 2020 at 06:46:51PM +0200, KP Singh wrote: > From: KP Singh > > Refactor the functionality in bpf_sk_storage.c so that concept of > storage linked to kernel objects can be extended to other objects like > inode, task_struct etc. > > Each new local storage will still be a separate

[PATCH bpf-next v8 3/7] bpf: Generalize bpf_sk_storage

2020-08-03 Thread KP Singh
From: KP Singh Refactor the functionality in bpf_sk_storage.c so that concept of storage linked to kernel objects can be extended to other objects like inode, task_struct etc. Each new local storage will still be a separate map and provide its own set of helpers. This allows for future object