net: ena: Change error print during ena_device_init()
The print was re-worded to a more informative one. Signed-off-by: Shahar Itzko <itzko@amazon.com> Signed-off-by: David Arinzon <darinzon@amazon.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
parent
06a96fe6f9
commit
ae82209293
@ -3071,6 +3071,7 @@ static int ena_device_init(struct ena_adapter *adapter, struct pci_dev *pdev,
|
||||
bool *wd_state)
|
||||
{
|
||||
struct ena_com_dev *ena_dev = adapter->ena_dev;
|
||||
struct net_device *netdev = adapter->netdev;
|
||||
struct ena_llq_configurations llq_config;
|
||||
struct device *dev = &pdev->dev;
|
||||
bool readless_supported;
|
||||
@ -3160,7 +3161,7 @@ static int ena_device_init(struct ena_adapter *adapter, struct pci_dev *pdev,
|
||||
rc = ena_set_queues_placement_policy(pdev, ena_dev, &get_feat_ctx->llq,
|
||||
&llq_config);
|
||||
if (rc) {
|
||||
dev_err(dev, "ENA device init failed\n");
|
||||
netdev_err(netdev, "Cannot set queues placement policy rc= %d\n", rc);
|
||||
goto err_admin_init;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user