Skip to content

Commit

Permalink
ibmvnic: Report rx buffer return codes as netdev_dbg
Browse files Browse the repository at this point in the history
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: John Allen <jallen@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
John Allen authored and David S. Miller committed Aug 7, 2017
1 parent 9bcb5a5 commit e1cea2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/ethernet/ibm/ibmvnic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1579,7 +1579,8 @@ static int ibmvnic_poll(struct napi_struct *napi, int budget)
rx_comp.correlator);
/* do error checking */
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 */
next->rx_comp.first = 0;
remove_buff_from_pool(adapter, rx_buff);
Expand Down

0 comments on commit e1cea2e

Please sign in to comment.