habanalabs/gaudi: don't use nic_ports_mask in compute
authorOded Gabbay <ogabbay@kernel.org>
Tue, 25 May 2021 18:35:13 +0000 (21:35 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Fri, 18 Jun 2021 12:23:40 +0000 (15:23 +0300)
commit9081021029fd97d09056ed6ab13912339efab571
treea1298b6510b0f64cdde026d983ed04d5ac8f190f
parentb92c637c5f5ef7e3e21dbc7bfa7f1999450f3902
habanalabs/gaudi: don't use nic_ports_mask in compute

nic_ports_mask is used by the networking part of the driver.
In the compute part, we use the HW_CAP bits to select what is active
and what is not.

Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/gaudi/gaudi.c