]> git.droids-corp.org - dpdk.git/blobdiff - lib/bpf/rte_bpf.h
cryptodev: fix asymmetric private session variable size
[dpdk.git] / lib / bpf / rte_bpf.h
index f09e36b65bf49a099e82721832404fa51a75e7e2..7e7d03b9c72855c6e35323d53bf413f348068fd5 100644 (file)
@@ -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;
 
 /**
@@ -228,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