diff options
author | Wei Liu <wei.liu2@citrix.com> | 2012-01-26 08:23:23 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-26 19:48:35 +0100 |
commit | 40206dd98f066d596d4280558fc5f798165861c7 (patch) | |
tree | 391ca93a0677e6982fac860edaf63343863d909e /drivers/net/xen-netfront.c | |
parent | netns: fix net_alloc_generic() (diff) | |
download | linux-40206dd98f066d596d4280558fc5f798165861c7.tar.xz linux-40206dd98f066d596d4280558fc5f798165861c7.zip |
xen-netfront: correct MAX_TX_TARGET calculation.
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | 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 fa679057630f..698b905058dd 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; |