Commit e1cea2e7 authored by John Allen's avatar John Allen Committed by David S. Miller

ibmvnic: Report rx buffer return codes as netdev_dbg

Reporting any return code for a receive buffer as an "rx error" only
produces alarming noise and the only values that have been observed to be
used in this field are not error conditions. Change this to a netdev_dbg
with a more descriptive message.
Signed-off-by: default avatarJohn Allen <jallen@linux.vnet.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9bcb5a57
...@@ -1579,7 +1579,8 @@ static int ibmvnic_poll(struct napi_struct *napi, int budget) ...@@ -1579,7 +1579,8 @@ static int ibmvnic_poll(struct napi_struct *napi, int budget)
rx_comp.correlator); rx_comp.correlator);
/* do error checking */ /* do error checking */
if (next->rx_comp.rc) { if (next->rx_comp.rc) {
netdev_err(netdev, "rx error %x\n", next->rx_comp.rc); netdev_dbg(netdev, "rx buffer returned with rc %x\n",
be16_to_cpu(next->rx_comp.rc));
/* free the entry */ /* free the entry */
next->rx_comp.first = 0; next->rx_comp.first = 0;
remove_buff_from_pool(adapter, rx_buff); remove_buff_from_pool(adapter, rx_buff);
......
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