diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2008-06-23 07:36:35 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-07-04 08:46:53 -0400 |
commit | da02b23192e8c1dc6830fc38840ea1c5e416a43c (patch) | |
tree | 0acd2e21d63a08a3cd8f639cf8484d0511144c7f /drivers/net/ipg.h | |
parent | 39f205854c829294f9b4db65100d3abdf9c9c145 (diff) |
ipg: per-device max_rxframe_size
Add a ->max_rxframe member to struct ipg_nic_private and convert the users of
IPG_MAX_RXFRAME_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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ipg.h b/drivers/net/ipg.h index 9ff4511d21cb..c84902d845fc 100644 --- a/drivers/net/ipg.h +++ b/drivers/net/ipg.h | |||
@@ -798,6 +798,7 @@ struct ipg_nic_private { | |||
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 long rxsupport_size; |
801 | unsigned long max_rxframe_size; | ||
801 | unsigned int rx_buf_sz; | 802 | unsigned int rx_buf_sz; |
802 | struct pci_dev *pdev; | 803 | struct pci_dev *pdev; |
803 | struct net_device *dev; | 804 | struct net_device *dev; |