The eBPF eXpress Data Path (XDP) enables high-performance packet processing by executing programmable logic early in the Linux networking stack. However, XDP does not support packet duplication, a key requirement for publish-subscribe systems and high-performance computing (HPC) applications relying on message broadcasting. To overcome this limitation, developers typically use the Traffic Control (TC) layer, where the bpf_clone_redirect() helper allows packet replication. TC operates after socket buffer (sk_buff) allocation, a major source of overhead, and requires the creation of additional buffers for each duplicated packet. In this work, we present XDP_CLONE, a system that performs packet duplication directly within the network driver, eliminating socket buffer allocation. This approach significantly reduces overhead and improves performance for eBPF network applications up to 2.3x.

XDP_CLONE: Efficient In-Driver Packet Duplication for eBPF-Accelerated Systems / Mazzella, M., Paschali, V., Fazzari, F., Zhou, B., De Sensi, D., Pontarelli, S.. - (2026), pp. 67-74. (eBPF'26: Proceedings of the 4th Workshop on eBPF and Kernel Extensions part of SOSP 2026 Prague; Czech Republic ) [10.1145/3837779.3838159].

XDP_CLONE: Efficient In-Driver Packet Duplication for eBPF-Accelerated Systems

Vladimiro Paschali;Francesco Fazzari;Daniele De Sensi;Salvatore Pontarelli
2026

Abstract

The eBPF eXpress Data Path (XDP) enables high-performance packet processing by executing programmable logic early in the Linux networking stack. However, XDP does not support packet duplication, a key requirement for publish-subscribe systems and high-performance computing (HPC) applications relying on message broadcasting. To overcome this limitation, developers typically use the Traffic Control (TC) layer, where the bpf_clone_redirect() helper allows packet replication. TC operates after socket buffer (sk_buff) allocation, a major source of overhead, and requires the creation of additional buffers for each duplicated packet. In this work, we present XDP_CLONE, a system that performs packet duplication directly within the network driver, eliminating socket buffer allocation. This approach significantly reduces overhead and improves performance for eBPF network applications up to 2.3x.
2026
eBPF'26: Proceedings of the 4th Workshop on eBPF and Kernel Extensions part of SOSP 2026
eBPF; XDP; packet duplication; kernel extensions
04 Pubblicazione in atti di convegno::04b Atto di convegno in volume
XDP_CLONE: Efficient In-Driver Packet Duplication for eBPF-Accelerated Systems / Mazzella, M., Paschali, V., Fazzari, F., Zhou, B., De Sensi, D., Pontarelli, S.. - (2026), pp. 67-74. (eBPF'26: Proceedings of the 4th Workshop on eBPF and Kernel Extensions part of SOSP 2026 Prague; Czech Republic ) [10.1145/3837779.3838159].
File allegati a questo prodotto
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11573/1780424
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact