Commit a645278
net/mlx5e: Fix features validation check for tunneled UDP (non-VXLAN) packets
jira LE-1733
bugfix geneve_fixes
commit 791b408
Move the vxlan_features_check() call to after we verified the packet is
a tunneled VXLAN packet.
Without this, tunneled UDP non-VXLAN packets (for ex. GENENVE) might
wrongly not get offloaded.
In some cases, it worked by chance as GENEVE header is the same size as
VXLAN, but it is obviously incorrect.
Fixes: e3cfc7e ("net/mlx5e: TX, Add geneve tunnel stateless offload support")
Signed-off-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 791b408)
Signed-off-by: Jonathan Maple <jmaple@ciq.com>
Signed-off-by: Roxana Nicolescu <rnicolescu@ciq.com>
Signed-off-by: Brett Mastbergen <bmastbergen@ciq.com>1 parent 59d72b9 commit a645278
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4424 | 4424 | | |
4425 | 4425 | | |
4426 | 4426 | | |
4427 | | - | |
| 4427 | + | |
4428 | 4428 | | |
4429 | 4429 | | |
4430 | 4430 | | |
| |||
4450 | 4450 | | |
4451 | 4451 | | |
4452 | 4452 | | |
4453 | | - | |
4454 | 4453 | | |
4455 | 4454 | | |
4456 | 4455 | | |
| |||
0 commit comments