git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
examples/l3fwd: share queue size variables
[dpdk.git]
/
lib
/
bpf
/
bpf_pkt.c
diff --git
a/lib/bpf/bpf_pkt.c
b/lib/bpf/bpf_pkt.c
index
08eebd9
..
ffd2db7
100644
(file)
--- a/
lib/bpf/bpf_pkt.c
+++ b/
lib/bpf/bpf_pkt.c
@@
-2,28
+2,16
@@
* Copyright(c) 2018 Intel Corporation
*/
* Copyright(c) 2018 Intel Corporation
*/
-#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdint.h>
-#include <unistd.h>
-#include <inttypes.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
#include <sys/queue.h>
#include <rte_common.h>
#include <sys/queue.h>
#include <rte_common.h>
-#include <rte_byteorder.h>
#include <rte_malloc.h>
#include <rte_log.h>
#include <rte_malloc.h>
#include <rte_log.h>
-#include <rte_debug.h>
-#include <rte_cycles.h>
-#include <rte_eal.h>
-#include <rte_per_lcore.h>
-#include <rte_lcore.h>
#include <rte_atomic.h>
#include <rte_mbuf.h>
#include <rte_ethdev.h>
#include <rte_atomic.h>
#include <rte_mbuf.h>
#include <rte_ethdev.h>
@@
-166,7
+154,7
@@
bpf_eth_cbh_add(struct bpf_eth_cbh *cbh, uint16_t port, uint16_t queue)
}
/*
}
/*
- * BPF packet processing routin
i
es.
+ * BPF packet processing routines.
*/
static inline uint32_t
*/
static inline uint32_t