The eXpress Data Path (XDP) feature in the kernel enabled high performance programmable packet processing using BPF. This is achieved by way of the XDP hook for attaching BPF programs to a very early stage of packet processing in the network drivers. This allows very high packet processing performance, and XDP programs have access to the full packet data and can filter or steer packets using kernel helpers and different return codes. The XDP_REDIRECT return code is the most flexible of the return codes and is used to direct packets to other places in the system, including other network interfaces, other CPUs, or straight to userspace. While the redirect feature is conceptually simple from the BPF user's point of view, the implementation of it in the kernel uses various tricks to improve performance as packets traverse the different parts of the kernel. This project aims to improve various outstanding issues of the XDP redirect facility. The exact tasks taken on will be up to the mentee's particular interests and skill set, and can include implementing missing pieces of functionality, performance analysis and improvements as well as adding kernel selftests. We have a list of issues to tackle which includes things like: - Implementing missing redirect features for Generic XDP - Improving performance through bulking of operations on redirect - Adding selftests for redirect map types - Improving the usability of BPF samples using redirect
No project history available for this organization.
Counts are based on projects listed in the Contribo catalog.
Showing 1 of 1 projects. Click any project card for scope, mentors, and proposal studio.
The eXpress Data Path (XDP) feature in the kernel enabled high performance programmable packet processing using BPF. This is achieved by way of the XDP hook for attaching BPF programs to a very early stage of packet processing in the network drivers. This allows very high packet processing performance, and XDP programs have access to the full packet data and can filter or steer packets using kernel helpers and different return codes. The XDP_REDIRECT return code is the most flexible of the return codes and is used to direct packets to other places in the system, including other network interfaces, other CPUs, or straight to userspace. While the redirect feature is conceptually simple from the BPF user's point of view, the implementation of it in the kernel uses various tricks to improve performance as packets traverse the different parts of the kernel. This project aims to improve various outstanding issues of the XDP redirect facility. The exact tasks taken on will be up to the mentee's particular interests and skill set, and can include implementing missing pieces of functionality, performance analysis and improvements as well as adding kernel selftests. We have a list of issues to tackle which includes things like: - Implementing missing redirect features for Generic XDP - Improving performance through bulking of operations on redirect - Adding selftests for redirect map types - Improving the usability of BPF samples using redirect