aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ipg.h
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2008-06-23 07:36:18 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-07-04 08:46:53 -0400
commit39f205854c829294f9b4db65100d3abdf9c9c145 (patch)
treefc400cb85716334d52bf9f63be16ede3d7842c09 /drivers/net/ipg.h
parent18a9cdb9c7ec88f6e94cd8dcb03fb6cded067119 (diff)
ipg: per-device rxsupport_size
Add a ->max_rxframe member to struct ipg_nic_private and convert the users of IPG_RXSUPPORT_SIZE to use it instead to enable per-device jumbo frame configuration. Tested-by: Andrew Savchenko <Bircoph@list.ru> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/ipg.h')
-rw-r--r--drivers/net/ipg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ipg.h b/drivers/net/ipg.h
index 83e311ebf0cb..9ff4511d21cb 100644
--- a/drivers/net/ipg.h
+++ b/drivers/net/ipg.h
@@ -797,6 +797,7 @@ struct ipg_nic_private {
797 bool is_jumbo; 797 bool is_jumbo;
798 struct ipg_jumbo jumbo; 798 struct ipg_jumbo jumbo;
799 unsigned long rxfrag_size; 799 unsigned long rxfrag_size;
800 unsigned long rxsupport_size;
800 unsigned int rx_buf_sz; 801 unsigned int rx_buf_sz;
801 struct pci_dev *pdev; 802 struct pci_dev *pdev;
802 struct net_device *dev; 803 struct net_device *dev;