]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: CT: Pass null instead of zero spec
authorRoi Dayan <roid@nvidia.com>
Tue, 12 Jan 2021 07:05:28 +0000 (23:05 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 13 Jan 2021 23:45:58 +0000 (15:45 -0800)
commitabaea3147864b2f5ed1473ca70c1981904798a7e
treed05cf31826a92028322ec551896f0d7707f7cbc6
parent0c77dce8c4d38814defbef00c0e973b89e118fb7
net/mlx5e: CT: Pass null instead of zero spec

No need to pass zero spec to mlx5_add_flow_rules() as the
function can handle null spec.

Signed-off-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Oz Shlomo <ozsh@nvidia.com>
Reviewed-by: Paul Blakey <paulb@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c