Apply the padding trick only when BPF is enabled