Re: [PATCH bpf-next v2 1/1] docs: BPF_MAP_TYPE_SOCK[MAP|HASH]

Maryam Tahhan
2022-12-02T09:55:29Z

On 02/12/2022 02:07, Bagas Sanjaya wrote:
> On Thu, Dec 01, 2022 at 03:13:52PM +0000, mtahhan@redhat.com wrote:
>> +When these maps are created BPF programs are attached to them. The list of
>> +allowed programs is shown below:
> Automatically attached BPF programs?

I will rephrase to indicate that the user typically attaches the
programs to the maps. and fix the rest of the comments in a respin.

Thanks.

>
> Also, "The allowed programs are:"
>
>> +.. note::
>> + For more details of the socket callbacks that get replaced please see:
>> +
>> + - TCP BPF functions: ``net/ipv4/tcp_bpf.c``
>> + - UDP BPF functions: ``net/ipv4/udp_bpf.c``
> "... please see ``net/ipv4/tcp_bpf.c`` and ``net/ipv4/udp_bpf.c`` for
> TCP and UDP functions, respectively"
>
> Otherwise LGTM.
>