[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [linux-2.6.18-xen] netfront: correct MAX_TX_TARGET calculation
# HG changeset patch # User Wei Liu <wei.liu2@xxxxxxxxxx> # Date 1328101144 -3600 # Node ID ddb83aec5afc6f7980aaae2497a5b171c1549eff # Parent 5aa9c1c436f6e4a478edca4d28677f4f8db03b71 netfront: correct MAX_TX_TARGET calculation Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Committed-by: Jan Beulich <jbeulich@xxxxxxxx> --- diff -r 5aa9c1c436f6 -r ddb83aec5afc drivers/xen/netfront/netfront.h --- a/drivers/xen/netfront/netfront.h Wed Jan 25 12:33:11 2012 +0100 +++ b/drivers/xen/netfront/netfront.h Wed Feb 01 13:59:04 2012 +0100 @@ -177,7 +177,7 @@ struct sk_buff *tx_skbs[NET_TX_RING_SIZE+1]; struct sk_buff *rx_skbs[NET_RX_RING_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) grant_ref_t gref_tx_head; grant_ref_t grant_tx_ref[NET_TX_RING_SIZE + 1]; grant_ref_t gref_rx_head; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |