Michal Swiatkowski e4c2efa139 ice: fix getting UDP tunnel entry
Correct parameters order in call to ice_tunnel_idx_to_entry function.

Entry in sparse port table is correct when the idx is 0. For idx 1 one
correct entry should be skipped, for idx 2 two of them should be skipped
etc. Change if condition to be true when idx is 0, which means that
previous valid entry of this tunnel type were skipped.

Fixes: b20e6c17c468 ("ice: convert to new udp_tunnel infrastructure")
Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2021-10-14 10:14:45 -07:00
..
2021-08-03 13:05:26 +01:00
2021-07-03 11:13:22 -07:00
2021-07-27 20:11:44 +01:00
2021-09-01 08:44:42 -07:00
2021-07-27 20:11:44 +01:00
2021-07-27 20:11:44 +01:00
2021-10-01 14:16:29 +01:00
2021-07-27 20:11:43 +01:00
2021-07-27 20:11:45 +01:00
2021-08-04 10:10:12 +01:00
2021-07-27 20:11:44 +01:00
2021-08-03 13:05:26 +01:00
2021-07-29 12:18:12 +01:00