qemu/hw/net/rocker
Laurent Vivier df5d1c17b6 rocker: Use DIV_ROUND_UP
Replace (((n) + (d) - 1) /(d)) by DIV_ROUND_UP(n,d).

This patch is the result of coccinelle script
scripts/coccinelle/round.cocci

CC: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2016-06-07 18:19:25 +03:00
..
qmp-norocker.c hw/net: Clean up includes 2016-01-29 15:07:23 +00:00
rocker_desc.c hw/net: Clean up includes 2016-01-29 15:07:23 +00:00
rocker_desc.h
rocker_fp.c rocker: forbid to change world type 2016-03-08 15:34:18 +08:00
rocker_fp.h rocker: forbid to change world type 2016-03-08 15:34:18 +08:00
rocker_hw.h rocker: mark copy-to-cpu pkts as forwarding offloaded 2015-07-07 13:13:22 +01:00
rocker_of_dpa.c rocker: Use DIV_ROUND_UP 2016-06-07 18:19:25 +03:00
rocker_of_dpa.h
rocker_tlv.h
rocker_world.c rocker: add name field into WorldOps ale let world specify its name 2016-03-08 15:34:18 +08:00
rocker_world.h rocker: add name field into WorldOps ale let world specify its name 2016-03-08 15:34:18 +08:00
rocker.c rocker: allow user to specify rocker world by property 2016-03-08 15:34:18 +08:00
rocker.h rocker: mark copy-to-cpu pkts as forwarding offloaded 2015-07-07 13:13:22 +01:00