cxgb4: Add info print to display number of MSI-X vectors allocated
authorHariprasad Shenai <hariprasad@chelsio.com>
Wed, 21 Oct 2015 09:09:53 +0000 (14:39 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Oct 2015 14:03:51 +0000 (07:03 -0700)
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c

index c29227ee9ee8953b4d1bdb27b44373b02e9d93c5..a40dab7892c109483fd825551eaee3bd1e0d7ea0 100644 (file)
@@ -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;