Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 40206dd9 authored by Wei Liu's avatar Wei Liu Committed by David S. Miller
Browse files

xen-netfront: correct MAX_TX_TARGET calculation.

parent 073862ba
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ struct netfront_cb {

#define NET_TX_RING_SIZE __CONST_RING_SIZE(xen_netif_tx, PAGE_SIZE)
#define NET_RX_RING_SIZE __CONST_RING_SIZE(xen_netif_rx, PAGE_SIZE)
#define TX_MAX_TARGET min_t(int, NET_RX_RING_SIZE, 256)
#define TX_MAX_TARGET min_t(int, NET_TX_RING_SIZE, 256)

struct netfront_stats {
	u64			rx_packets;