mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 07:31:45 +00:00
scsi: qedf: Decrease the LL2 MTU size to 2500
Decrease the LL2 MTU size to 2500. Signed-off-by: Saurav Kashyap <skashyap@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
0482262646
commit
f6d63678b0
@ -49,6 +49,7 @@
|
||||
#define QEDF_ABORT_TIMEOUT (10 * 1000)
|
||||
#define QEDF_CLEANUP_TIMEOUT 1
|
||||
#define QEDF_MAX_CDB_LEN 16
|
||||
#define QEDF_LL2_BUF_SIZE 2500 /* Buffer size required for LL2 Rx */
|
||||
|
||||
#define UPSTREAM_REMOVE 1
|
||||
#define UPSTREAM_KEEP 1
|
||||
|
@ -3429,7 +3429,7 @@ static int __qedf_probe(struct pci_dev *pdev, int mode)
|
||||
}
|
||||
|
||||
memset(¶ms, 0, sizeof(params));
|
||||
params.mtu = 9000;
|
||||
params.mtu = QEDF_LL2_BUF_SIZE;
|
||||
ether_addr_copy(params.ll2_mac_address, qedf->mac);
|
||||
|
||||
/* Start LL2 processing thread */
|
||||
|
Loading…
Reference in New Issue
Block a user