summaryrefslogtreecommitdiffstats
path: root/drivers/net/ipg.h
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2008-06-23 14:36:00 +0300
committerJeff Garzik <jgarzik@redhat.com>2008-07-04 08:46:52 -0400
commit18a9cdb9c7ec88f6e94cd8dcb03fb6cded067119 (patch)
tree295fd582e2b7214a2638f1c96d152a029c822976 /drivers/net/ipg.h
parent83042955210aaee70b881240fe4f5e8409235308 (diff)
downloadblackbird-op-linux-18a9cdb9c7ec88f6e94cd8dcb03fb6cded067119.tar.gz
blackbird-op-linux-18a9cdb9c7ec88f6e94cd8dcb03fb6cded067119.zip
ipg: per-device rxfrag_size
Add a ->max_rxframe member to struct ipg_nic_private and convert the users of IPG_RXFRAG_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 9c520ce264a6..83e311ebf0cb 100644
--- a/drivers/net/ipg.h
+++ b/drivers/net/ipg.h
@@ -796,6 +796,7 @@ struct ipg_nic_private {
unsigned int rx_dirty;
bool is_jumbo;
struct ipg_jumbo jumbo;
+ unsigned long rxfrag_size;
unsigned int rx_buf_sz;
struct pci_dev *pdev;
struct net_device *dev;
OpenPOWER on IntegriCloud