]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Make the log friendly when decapsulation offload not supported
authorTonghao Zhang <xiangxia.m.yue@gmail.com>
Wed, 27 Feb 2019 15:31:16 +0000 (07:31 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 5 Apr 2019 21:10:33 +0000 (14:10 -0700)
commit534180aca3167115b161f2b7dd14a5a475bac18b
tree13e42144deb893157212a82b6bca2cdc28b19437
parentc8dead342b5214ad6a569dcf249d1e4eeece12d4
net/mlx5e: Make the log friendly when decapsulation offload not supported

If we try to offload decapsulation actions to VFs hw, we get the log [1].
It's not friendly, because the kind of net device is null, and we don't
know what '0' means.

[1] "mlx5_core 0000:05:01.2 vf_0: decapsulation offload is not supported for  net device (0)"

Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c