Commit 3d093bc
net/mlx5e: Fix driver's declaration to support GRE offload
Declare GRE offload support with respect to the inner protocol. Add a
list of supported inner protocols on which the driver can offload
checksum and GSO. For other protocols, inform the stack to do the needed
operations. There is no noticeable impact on GRE performance.
Fixes: 2729984 ("net/mlx5e: Support TSO and TX checksum offloads for GRE tunnels")
Signed-off-by: Aya Levin <ayal@mellanox.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>1 parent 2b02198 commit 3d093bc
1 file changed
Lines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4226 | 4226 | | |
4227 | 4227 | | |
4228 | 4228 | | |
| 4229 | + | |
| 4230 | + | |
| 4231 | + | |
| 4232 | + | |
| 4233 | + | |
| 4234 | + | |
| 4235 | + | |
| 4236 | + | |
| 4237 | + | |
| 4238 | + | |
| 4239 | + | |
| 4240 | + | |
| 4241 | + | |
| 4242 | + | |
| 4243 | + | |
4229 | 4244 | | |
4230 | 4245 | | |
4231 | 4246 | | |
| |||
4248 | 4263 | | |
4249 | 4264 | | |
4250 | 4265 | | |
4251 | | - | |
| 4266 | + | |
| 4267 | + | |
| 4268 | + | |
4252 | 4269 | | |
4253 | 4270 | | |
4254 | 4271 | | |
| |||
0 commit comments