summaryrefslogtreecommitdiff
path: root/ring_tx.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-05-30 18:17:40 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-05-30 18:17:40 +0200
commit2ac7ea413beb6324a1b00e0b5081688ded32a61b (patch)
tree7d6396bc01821baaa5b0cc64c2b1b14a234521ea /ring_tx.c
parent9be74e71213ab2a8d449d1cc6cfa4d533fce0d0f (diff)
ring: setup_{rx,tx}_ring_layout: use bool for jumbo_support
There's no good reason why we currently waste an 'int' for jumbo_support while this must better be done as 'bool'. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'ring_tx.c')
-rw-r--r--ring_tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ring_tx.c b/ring_tx.c
index b7cde7e..f4f06a1 100644
--- a/ring_tx.c
+++ b/ring_tx.c
@@ -46,7 +46,7 @@ void destroy_tx_ring(int sock, struct ring *ring)
}
void setup_tx_ring_layout(int sock, struct ring *ring, unsigned int size,
- int jumbo_support)
+ bool jumbo_support)
{
fmemset(&ring->layout, 0, sizeof(ring->layout));