diff options
author | Wei Liu <wei.liu2@citrix.com> | 2012-01-26 07:23:23 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-26 18:48:35 (GMT) |
commit | 40206dd98f066d596d4280558fc5f798165861c7 (patch) | |
tree | 391ca93a0677e6982fac860edaf63343863d909e /drivers/net | |
parent | 073862ba5d249c20bd5c49fc6d904ff0e1f6a672 (diff) | |
download | linux-fsl-qoriq-40206dd98f066d596d4280558fc5f798165861c7.tar.xz |
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 'drivers/net')
-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 fa67905..698b905 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; |