[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xen-netfront: correct MAX_TX_TARGET calculation.
On Thu, Jan 26, 2012 at 05:23:23PM +0000, Wei Liu wrote: Can you give some more details please? What is the impact of not having this? Should it be backported to stable? > Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> > --- > drivers/net/xen-netfront.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.c > index 38f9c95..01f589d 100644 > --- a/drivers/net/xen-netfront.c > +++ b/drivers/net/xen-netfront.c > @@ -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; > -- > 1.7.8.3 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |