X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Fbpf%2Frte_bpf.h;h=7e7d03b9c72855c6e35323d53bf413f348068fd5;hb=6e858b4d9244cf53505589673755ab18ac2a4a83;hp=0d0a84b130a063fdd92125856c56f456a3faf11c;hpb=745b7587f9e52a4df2121d7214346853b4baf5ed;p=dpdk.git diff --git a/lib/bpf/rte_bpf.h b/lib/bpf/rte_bpf.h index 0d0a84b130..7e7d03b9c7 100644 --- a/lib/bpf/rte_bpf.h +++ b/lib/bpf/rte_bpf.h @@ -212,8 +212,6 @@ __rte_experimental void rte_bpf_dump(FILE *f, const struct ebpf_insn *buf, uint32_t len); -#ifdef RTE_PORT_PCAP - struct bpf_program; /** @@ -221,8 +219,6 @@ struct bpf_program; * * @param prog * Classic BPF program from pcap_compile(). - * @param prm - * Result Extended BPF program. * @return * Pointer to BPF program (allocated with *rte_malloc*) * that is used in future BPF operations, @@ -230,13 +226,12 @@ struct bpf_program; * Possible rte_errno errors include: * - EINVAL - invalid parameter passed to function * - ENOMEM - can't reserve enough memory + * - ENOTSUP - operation not supported */ __rte_experimental struct rte_bpf_prm * rte_bpf_convert(const struct bpf_program *prog); -#endif - #ifdef __cplusplus } #endif