Commit f6d63678 authored by Saurav Kashyap's avatar Saurav Kashyap Committed by Martin K. Petersen

scsi: qedf: Decrease the LL2 MTU size to 2500

Decrease the LL2 MTU size to 2500.
Signed-off-by: default avatarSaurav Kashyap <skashyap@marvell.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 04822626
...@@ -49,6 +49,7 @@ ...@@ -49,6 +49,7 @@
#define QEDF_ABORT_TIMEOUT (10 * 1000) #define QEDF_ABORT_TIMEOUT (10 * 1000)
#define QEDF_CLEANUP_TIMEOUT 1 #define QEDF_CLEANUP_TIMEOUT 1
#define QEDF_MAX_CDB_LEN 16 #define QEDF_MAX_CDB_LEN 16
#define QEDF_LL2_BUF_SIZE 2500 /* Buffer size required for LL2 Rx */
#define UPSTREAM_REMOVE 1 #define UPSTREAM_REMOVE 1
#define UPSTREAM_KEEP 1 #define UPSTREAM_KEEP 1
......
...@@ -3429,7 +3429,7 @@ static int __qedf_probe(struct pci_dev *pdev, int mode) ...@@ -3429,7 +3429,7 @@ static int __qedf_probe(struct pci_dev *pdev, int mode)
} }
memset(&params, 0, sizeof(params)); memset(&params, 0, sizeof(params));
params.mtu = 9000; params.mtu = QEDF_LL2_BUF_SIZE;
ether_addr_copy(params.ll2_mac_address, qedf->mac); ether_addr_copy(params.ll2_mac_address, qedf->mac);
/* Start LL2 processing thread */ /* Start LL2 processing thread */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment