qemu-e2k/hw/net
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
..
fsl_etsec hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
rocker rocker: Use DIV_ROUND_UP 2016-06-07 18:19:25 +03:00
Makefile.objs net: Introduce e1000e device emulation 2016-06-02 10:42:29 +08:00
allwinner_emac.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
cadence_gem.c
dp8393x.c
e1000.c e1000: Removing unnecessary if statement 2016-06-07 18:19:23 +03:00
e1000_regs.h net: Introduce e1000e device emulation 2016-06-02 10:42:29 +08:00
e1000e.c e1000e: Fix build with gcc 4.6.3 and ust tracing 2016-06-06 09:42:54 +01:00
e1000e_core.c e1000e: Fix build with ust trace backend 2016-06-03 11:06:09 +01:00
e1000e_core.h net: Introduce e1000e device emulation 2016-06-02 10:42:29 +08:00
e1000x_common.c e1000: Move out code that will be reused in e1000e 2016-06-02 10:42:29 +08:00
e1000x_common.h e1000: Move out code that will be reused in e1000e 2016-06-02 10:42:29 +08:00
eepro100.c
etraxfs_eth.c
imx_fec.c Add ENET/Gbps Ethernet support to FEC device 2016-06-02 10:42:46 +08:00
lan9118.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
lance.c
mcf_fec.c
milkymist-minimac2.c
mipsnet.c net: mipsnet: check packet length against buffer 2016-05-25 15:46:07 +08:00
ne2000-isa.c
ne2000.c
ne2000.h
net_rx_pkt.c net_pkt: Extend packet abstraction as required by e1000e functionality 2016-06-02 10:42:28 +08:00
net_rx_pkt.h net_pkt: Extend packet abstraction as required by e1000e functionality 2016-06-02 10:42:28 +08:00
net_tx_pkt.c vmxnet3: Use pci_dma_* API instead of cpu_physical_memory_* 2016-06-02 10:42:28 +08:00
net_tx_pkt.h vmxnet3: Use pci_dma_* API instead of cpu_physical_memory_* 2016-06-02 10:42:28 +08:00
opencores_eth.c hw/net/opencores_eth: Allocating Large sized arrays to heap 2016-05-23 22:10:16 +03:00
pcnet-pci.c
pcnet.c
pcnet.h
rtl8139.c rtl8139: Move more TCP definitions to common header 2016-06-02 10:42:28 +08:00
smc91c111.c
spapr_llan.c hw/net/spapr_llan: Provide counter with dropped rx frames to the guest 2016-05-27 09:40:23 +10:00
stellaris_enet.c
vhost_net.c
virtio-net.c
vmware_utils.h
vmxnet3.c vmxnet3: Use pci_dma_* API instead of cpu_physical_memory_* 2016-06-02 10:42:28 +08:00
vmxnet3.h
vmxnet_debug.h vmxnet3: Use common MAC address tracing macros 2016-06-02 10:42:27 +08:00
xen_nic.c
xgmac.c
xilinx_axienet.c
xilinx_ethlite.c