On 2021-01-20 17:30, Toke Høiland-Jørgensen wrote:
Björn Töpel writes:
[...]
It can't be free'd but, ri->map can be cleared via
bpf_clear_redirect_map(). So, between the helper (setting) and the
tracepoint in xdp_do_redirect() it can be cleared (say if the XDP
program is swapped out, prior r
On 2021-01-20 13:44, Toke Høiland-Jørgensen wrote:
Björn Töpel writes:
From: Björn Töpel
The XDP_REDIRECT implementations for maps and non-maps are fairly
similar, but obviously need to take different code paths depending on
if the target is using a map or not. Today, the redirect targets
On 2021-01-20 15:52, Toke Høiland-Jørgensen wrote:
Björn Töpel writes:
On 2021-01-20 13:44, Toke Høiland-Jørgensen wrote:
Björn Töpel writes:
From: Björn Töpel
The XDP_REDIRECT implementations for maps and non-maps are fairly
similar, but obviously need to take different code paths depen
Björn Töpel writes:
> On 2021-01-20 15:52, Toke Høiland-Jørgensen wrote:
>> Björn Töpel writes:
>>
>>> On 2021-01-20 13:44, Toke Høiland-Jørgensen wrote:
Björn Töpel writes:
> From: Björn Töpel
>
> The XDP_REDIRECT implementations for maps and non-maps are fairly
> s
Björn Töpel writes:
> On 2021-01-20 13:44, Toke Høiland-Jørgensen wrote:
>> Björn Töpel writes:
>>
>>> From: Björn Töpel
>>>
>>> The XDP_REDIRECT implementations for maps and non-maps are fairly
>>> similar, but obviously need to take different code paths depending on
>>> if the target is usin
Björn Töpel writes:
> From: Björn Töpel
>
> The XDP_REDIRECT implementations for maps and non-maps are fairly
> similar, but obviously need to take different code paths depending on
> if the target is using a map or not. Today, the redirect targets for
> XDP either uses a map, or is based on ifi
From: Björn Töpel
The XDP_REDIRECT implementations for maps and non-maps are fairly
similar, but obviously need to take different code paths depending on
if the target is using a map or not. Today, the redirect targets for
XDP either uses a map, or is based on ifindex.
Future commits will introd