Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 156a67a9 authored by Jeff Kirsher's avatar Jeff Kirsher
Browse files

ixgbe: fix older devices that do not support IXGBE_MRQC_L3L4TXSWEN



The enabling L3/L4 filtering for transmit switched packets for all
devices caused unforeseen issue on older devices when trying to send UDP
traffic in an ordered sequence.  This bit was originally intended for X550
devices, which supported this feature, so limit the scope of this bit to
only X550 devices.

Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
parent ae3b5641
Loading
Loading
Loading
Loading
+5 −2
Original line number Original line Diff line number Diff line
@@ -3953,7 +3953,10 @@ static void ixgbe_setup_mrqc(struct ixgbe_adapter *adapter)
			else
			else
				mrqc = IXGBE_MRQC_VMDQRSS64EN;
				mrqc = IXGBE_MRQC_VMDQRSS64EN;


			/* Enable L3/L4 for Tx Switched packets */
			/* Enable L3/L4 for Tx Switched packets only for X550,
			 * older devices do not support this feature
			 */
			if (hw->mac.type >= ixgbe_mac_X550)
				mrqc |= IXGBE_MRQC_L3L4TXSWEN;
				mrqc |= IXGBE_MRQC_L3L4TXSWEN;
		} else {
		} else {
			if (tcs > 4)
			if (tcs > 4)