projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xsk: Add new statistics
[linux-2.6-microblaze.git]
/
net
/
xdp
/
xsk_buff_pool.c
diff --git
a/net/xdp/xsk_buff_pool.c
b/net/xdp/xsk_buff_pool.c
index
540ed75
..
89cf355
100644
(file)
--- a/
net/xdp/xsk_buff_pool.c
+++ b/
net/xdp/xsk_buff_pool.c
@@
-235,6
+235,7
@@
static struct xdp_buff_xsk *__xp_alloc(struct xsk_buff_pool *pool)
for (;;) {
if (!xskq_cons_peek_addr_unchecked(pool->fq, &addr)) {
+ pool->fq->queue_empty_descs++;
xp_release(xskb);
return NULL;
}