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>
This commit is contained in:
committed by
Jeff Garzik
parent
18a9cdb9c7
commit
39f205854c
@@ -797,6 +797,7 @@ struct ipg_nic_private {
|
||||
bool is_jumbo;
|
||||
struct ipg_jumbo jumbo;
|
||||
unsigned long rxfrag_size;
|
||||
unsigned long rxsupport_size;
|
||||
unsigned int rx_buf_sz;
|
||||
struct pci_dev *pdev;
|
||||
struct net_device *dev;
|
||||
|
Reference in New Issue
Block a user