]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Workaround fix for mss < 256 issue
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Wed, 21 Oct 2015 23:47:07 +0000 (19:47 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 25 Nov 2015 18:05:56 +0000 (10:05 -0800)
commitd25ae0f66df6eecf99e29bbac11906b3aa4f369d
tree4a99c6f8eccfe483092aa4276716561ce5d41672
parent485f162d60b6f6757075da072e696e691647c22b
i40e: Workaround fix for mss < 256 issue

HW/NVM sets a limit of no less than 256 bytes for MSS. Stack can send as
low as 76 bytes MSS. This patch lowers the HW limit to 64 bytes to avoid
MDDs from firing and causing a reset when the MSS is lower than 256.

Change-ID: I36b500a6bb227d283c3e321a7718e0672b11fab0
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c