Commit 0967bf8
ixgbe: add double of VLAN header when computing the max MTU
Include the second VLAN HLEN into account when computing the maximum
MTU size as other drivers do.
Fixes: fabf1bc ("ixgbe: Prevent unsupported configurations with XDP")
Signed-off-by: Jason Xing <[email protected]>
Reviewed-by: Alexander Duyck <[email protected]>
Tested-by: Chandan Kumar Rout <[email protected]> (A Contingent Worker at Intel)
Signed-off-by: Tony Nguyen <[email protected]>1 parent ce45ffb commit 0967bf8
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6801 | 6801 | | |
6802 | 6802 | | |
6803 | 6803 | | |
6804 | | - | |
6805 | | - | |
| 6804 | + | |
6806 | 6805 | | |
6807 | 6806 | | |
6808 | 6807 | | |
| |||
0 commit comments