projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
073862b
)
xen-netfront: correct MAX_TX_TARGET calculation.
author
Wei Liu
<wei.liu2@citrix.com>
Thu, 26 Jan 2012 07:23:23 +0000
(07:23 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 26 Jan 2012 18:48:35 +0000
(13:48 -0500)
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netfront.c
patch
|
blob
|
history
diff --git
a/drivers/net/xen-netfront.c
b/drivers/net/xen-netfront.c
index fa679057630f9152f418e9e2f9b60f549dded7e3..698b905058dd23435b3f13b40ab4e0b7c870b5c5 100644
(file)
--- 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_
R
X_RING_SIZE, 256)
+#define TX_MAX_TARGET min_t(int, NET_
T
X_RING_SIZE, 256)
struct netfront_stats {
u64 rx_packets;