Commit 31b3523c authored by Yuval Mintz's avatar Yuval Mintz Committed by David S. Miller

bnx2x: no error when RSS configuration fails

It's possible for VMs with older versions of bnx2x to run over a hypervisor
with latest driver. If a VF in such a VM does not support RSS configuration,
the PF driver in the hypervisor will print an error message to system logs.

This changes the error message into a debug message, as this is very likely
a false alarm for an older VF (i.e., VF manages to work properly; PF simply
cannot configure the additional queues for it).
Signed-off-by: default avatarYuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: default avatarAriel Elior <ariele@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 68bf5a10
...@@ -800,14 +800,18 @@ int bnx2x_vfpf_config_rss(struct bnx2x *bp, ...@@ -800,14 +800,18 @@ int bnx2x_vfpf_config_rss(struct bnx2x *bp,
} }
if (resp->hdr.status != PFVF_STATUS_SUCCESS) { if (resp->hdr.status != PFVF_STATUS_SUCCESS) {
BNX2X_ERR("failed to send rss message to PF over Vf PF channel %d\n", /* Since older drivers don't support this feature (and VF has
resp->hdr.status); * no way of knowing other than failing this), don't propagate
rc = -EINVAL; * an error in this case.
*/
DP(BNX2X_MSG_IOV,
"Failed to send rss message to PF over VF-PF channel [%d]\n",
resp->hdr.status);
} }
out: out:
bnx2x_vfpf_finalize(bp, &req->first_tlv); bnx2x_vfpf_finalize(bp, &req->first_tlv);
return 0; return rc;
} }
int bnx2x_vfpf_set_mcast(struct net_device *dev) int bnx2x_vfpf_set_mcast(struct net_device *dev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment