Commit f48fca4d authored by Bharat Potnuri's avatar Bharat Potnuri Committed by Jason Gunthorpe

iw_cxgb4: Change error/warn prints to pr_debug

These prints not neccesarily mean error/warning, so changing them to
debug.
Signed-off-by: default avatarPotnuri Bharat Teja <bharat@chelsio.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent 4044a3f4
...@@ -257,8 +257,8 @@ static void set_emss(struct c4iw_ep *ep, u16 opt) ...@@ -257,8 +257,8 @@ static void set_emss(struct c4iw_ep *ep, u16 opt)
if (ep->emss < 128) if (ep->emss < 128)
ep->emss = 128; ep->emss = 128;
if (ep->emss & 7) if (ep->emss & 7)
pr_warn("Warning: misaligned mtu idx %u mss %u emss=%u\n", pr_debug("Warning: misaligned mtu idx %u mss %u emss=%u\n",
TCPOPT_MSS_G(opt), ep->mss, ep->emss); TCPOPT_MSS_G(opt), ep->mss, ep->emss);
pr_debug("mss_idx %u mss %u emss=%u\n", TCPOPT_MSS_G(opt), ep->mss, pr_debug("mss_idx %u mss %u emss=%u\n", TCPOPT_MSS_G(opt), ep->mss,
ep->emss); ep->emss);
} }
...@@ -2733,9 +2733,8 @@ static int peer_abort(struct c4iw_dev *dev, struct sk_buff *skb) ...@@ -2733,9 +2733,8 @@ static int peer_abort(struct c4iw_dev *dev, struct sk_buff *skb)
return 0; return 0;
if (cxgb_is_neg_adv(req->status)) { if (cxgb_is_neg_adv(req->status)) {
pr_warn("%s Negative advice on abort- tid %u status %d (%s)\n", pr_debug("Negative advice on abort- tid %u status %d (%s)\n",
__func__, ep->hwtid, req->status, ep->hwtid, req->status, neg_adv_str(req->status));
neg_adv_str(req->status));
ep->stats.abort_neg_adv++; ep->stats.abort_neg_adv++;
mutex_lock(&dev->rdev.stats.lock); mutex_lock(&dev->rdev.stats.lock);
dev->rdev.stats.neg_adv++; dev->rdev.stats.neg_adv++;
...@@ -3567,8 +3566,8 @@ int c4iw_ep_disconnect(struct c4iw_ep *ep, int abrupt, gfp_t gfp) ...@@ -3567,8 +3566,8 @@ int c4iw_ep_disconnect(struct c4iw_ep *ep, int abrupt, gfp_t gfp)
case MORIBUND: case MORIBUND:
case ABORTING: case ABORTING:
case DEAD: case DEAD:
pr_info("%s ignoring disconnect ep %p state %u\n", pr_debug("ignoring disconnect ep %p state %u\n",
__func__, ep, ep->com.state); ep, ep->com.state);
break; break;
default: default:
WARN_ONCE(1, "Bad endpoint state %u\n", ep->com.state); WARN_ONCE(1, "Bad endpoint state %u\n", ep->com.state);
...@@ -4207,8 +4206,8 @@ static int peer_abort_intr(struct c4iw_dev *dev, struct sk_buff *skb) ...@@ -4207,8 +4206,8 @@ static int peer_abort_intr(struct c4iw_dev *dev, struct sk_buff *skb)
return 0; return 0;
} }
if (cxgb_is_neg_adv(req->status)) { if (cxgb_is_neg_adv(req->status)) {
pr_warn("%s Negative advice on abort- tid %u status %d (%s)\n", pr_debug("Negative advice on abort- tid %u status %d (%s)\n",
__func__, ep->hwtid, req->status, ep->hwtid, req->status,
neg_adv_str(req->status)); neg_adv_str(req->status));
goto out; goto out;
} }
......
...@@ -236,7 +236,7 @@ int c4iw_ev_handler(struct c4iw_dev *dev, u32 qid) ...@@ -236,7 +236,7 @@ int c4iw_ev_handler(struct c4iw_dev *dev, u32 qid)
if (atomic_dec_and_test(&chp->refcnt)) if (atomic_dec_and_test(&chp->refcnt))
wake_up(&chp->wait); wake_up(&chp->wait);
} else { } else {
pr_warn("%s unknown cqid 0x%x\n", __func__, qid); pr_debug("unknown cqid 0x%x\n", qid);
spin_unlock_irqrestore(&dev->lock, flag); spin_unlock_irqrestore(&dev->lock, flag);
} }
return 0; return 0;
......
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