diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2015-10-21 11:09:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-22 16:03:51 +0200 |
commit | 43eb4e82ebf7e3442a724ab9ecd69322eccad530 (patch) | |
tree | 717d375a3aeb130237911cf7743baec10e334ac3 | |
parent | cxgb4: Restore L1 cfg, if FW rejects new L1 cfg settings (diff) | |
download | linux-43eb4e82ebf7e3442a724ab9ecd69322eccad530.tar.xz linux-43eb4e82ebf7e3442a724ab9ecd69322eccad530.zip |
cxgb4: Add info print to display number of MSI-X vectors allocated
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |