Add the the capability to load HW RX checsum in eBPF programs#11052
Add the the capability to load HW RX checsum in eBPF programs#11052kernel-patches-daemon-bpf[bot] wants to merge 5 commits intobpf-next_basefrom
Conversation
|
Upstream branch: 561085f |
AI reviewed your patch. Please fix the bug or email reply why it's not a bug. In-Reply-To-Subject: AI-authorship-score: low |
AI reviewed your patch. Please fix the bug or email reply why it's not a bug. In-Reply-To-Subject: AI-authorship-score: low |
AI reviewed your patch. Please fix the bug or email reply why it's not a bug. In-Reply-To-Subject: AI-authorship-score: low |
|
Forwarding comment 3897956689 via email |
|
Forwarding comment 3897959462 via email |
|
Forwarding comment 3897963748 via email |
8c8442a to
a4a9811
Compare
|
Upstream branch: f632de6 |
b3ad9e7 to
aea437f
Compare
a4a9811 to
2650068
Compare
Introduce XDP RX checksum capability to XDP metadata specs. XDP RX checksum will be use by devices capable of exposing receive checksum result via bpf_xdp_metadata_rx_checksum(). Moreover, introduce xmo_rx_checksum netdev callback in order allow the eBPF program bounded to the device to retrieve the RX checksum result computed by the hw NIC. Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Implement xmo_rx_checksum callback in veth driver to report RX checksum result to the eBPF program bounded to the veth device. Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Implement xmo_rx_checksum callback in ice driver to report RX checksum result to the eBPF program bounded to the NIC. Introduce ice_get_rx_csum utility routine in order to rx cksum codebase available in ice_rx_csum(). Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Introduce support to xdp_metadata selftest for bpf_xdp_metadata_rx_checksum kfunc. Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
…adat prog Introduce the capability to dump HW rx checksum in xdp_hw_metadata program via bpf_xdp_metadata_rx_checksum() kfunc. Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
|
Upstream branch: 4c51f90 |
aea437f to
d4d8fad
Compare
Pull request for series with
subject: Add the the capability to load HW RX checsum in eBPF programs
version: 2
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=1053970