From: Hariprasad Shenai Date: Wed, 21 Oct 2015 09:09:53 +0000 (+0530) Subject: cxgb4: Add info print to display number of MSI-X vectors allocated X-Git-Tag: MMI-PSA29.97-13-9~9125^2~87^2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=43eb4e82ebf7e3442a724ab9ecd69322eccad530;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git cxgb4: Add info print to display number of MSI-X vectors allocated Signed-off-by: Hariprasad Shenai Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c index c29227ee9ee8..a40dab7892c1 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c @@ -4485,6 +4485,10 @@ static int enable_msix(struct adapter *adap) } for (i = 0; i < allocated; ++i) adap->msix_info[i].vec = entries[i].vector; + dev_info(adap->pdev_dev, "%d MSI-X vectors allocated, " + "nic %d iscsi %d rdma cpl %d rdma ciq %d\n", + allocated, s->max_ethqsets, s->ofldqsets, s->rdmaqs, + s->rdmaciqs); kfree(entries); return 0;