bpf-examples icon indicating copy to clipboard operation
bpf-examples copied to clipboard

xdpsock removed from 6.0 tree but libxdp port still missing

Open SPYFF opened this issue 3 years ago • 7 comments

Hi!

I'm curious if there are any standalone xdpsock source somewhere (former samples/bpf/xdpsock_user.c). I remember there was an agreement between Magnus and @netoptimizer on the mailing list about the conditional removal like about a month or so ago, but I cannot find whether the pullrequest happened. That is the case?

Thanks! Ferenc

SPYFF avatar Aug 18 '22 11:08 SPYFF

I believe @magnus-karlsson is working on adding it to this repository. In the meantime, the source code of older kernel versions is still available... ;)

tohojo avatar Aug 18 '22 12:08 tohojo

Thanks for the reply, I'm glad I didnt missed anything :-) Yes, that what happened for now, I compiled the "older" in-tree version. Maybe possible (but I'm not qualified enough) to compile that without pulling the whole tree. I got some errors then I give up on that.

SPYFF avatar Aug 18 '22 13:08 SPYFF

I believe this is related to PR #52

netoptimizer avatar Sep 05 '22 10:09 netoptimizer

Yes, thank you for the notification!

SPYFF avatar Sep 05 '22 11:09 SPYFF

I will push a new version in 30 minutes. Sorry, but I had a higher priority task last week, so did not have time to finish it.

On Thu, Aug 18, 2022 at 2:02 PM Toke Høiland-Jørgensen < @.***> wrote:

I believe @magnus-karlsson https://github.com/magnus-karlsson is working on adding it to this repository. In the meantime, the source code of older kernel versions is still available... ;)

— Reply to this email directly, view it on GitHub https://github.com/xdp-project/bpf-examples/issues/51#issuecomment-1219407305, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASGUEOFCK44JRWPN5NGYHTVZYQ4FANCNFSM564366FQ . You are receiving this because you were mentioned.Message ID: @.***>

magnus-karlsson avatar Sep 05 '22 11:09 magnus-karlsson

Just pushed a new version. Used forced push. Let me know if I, in the future, should push a new branch instead.

/Magnus

On Mon, Sep 5, 2022 at 1:30 PM Magnus Karlsson @.***> wrote:

I will push a new version in 30 minutes. Sorry, but I had a higher priority task last week, so did not have time to finish it.

On Thu, Aug 18, 2022 at 2:02 PM Toke Høiland-Jørgensen < @.***> wrote:

I believe @magnus-karlsson https://github.com/magnus-karlsson is working on adding it to this repository. In the meantime, the source code of older kernel versions is still available... ;)

— Reply to this email directly, view it on GitHub https://github.com/xdp-project/bpf-examples/issues/51#issuecomment-1219407305, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASGUEOFCK44JRWPN5NGYHTVZYQ4FANCNFSM564366FQ . You are receiving this because you were mentioned.Message ID: @.***>

magnus-karlsson avatar Sep 05 '22 11:09 magnus-karlsson

Magnus Karlsson @.***> writes:

Just pushed a new version. Used forced push. Let me know if I, in the future, should push a new branch instead.

Force push is fine... I'll take a look when I get some time for it...

tohojo avatar Sep 05 '22 12:09 tohojo

Thanks, I'm glad for this one!

SPYFF avatar Nov 30 '22 10:11 SPYFF