diff options
Diffstat (limited to 'drivers/net/enic/enic_res.c')
-rw-r--r-- | drivers/net/enic/enic_res.c | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/drivers/net/enic/enic_res.c b/drivers/net/enic/enic_res.c index 6e5c6356e7df..34f42072b60c 100644 --- a/drivers/net/enic/enic_res.c +++ b/drivers/net/enic/enic_res.c | |||
@@ -97,11 +97,24 @@ int enic_get_vnic_config(struct enic *enic) | |||
97 | dev_info(enic_get_dev(enic), | 97 | dev_info(enic_get_dev(enic), |
98 | "vNIC MAC addr %pM wq/rq %d/%d mtu %d\n", | 98 | "vNIC MAC addr %pM wq/rq %d/%d mtu %d\n", |
99 | enic->mac_addr, c->wq_desc_count, c->rq_desc_count, c->mtu); | 99 | enic->mac_addr, c->wq_desc_count, c->rq_desc_count, c->mtu); |
100 | dev_info(enic_get_dev(enic), "vNIC csum tx/rx %d/%d " | 100 | |
101 | "tso %d intr timer %d usec rss %d\n", | 101 | dev_info(enic_get_dev(enic), "vNIC csum tx/rx %s/%s " |
102 | ENIC_SETTING(enic, TXCSUM), ENIC_SETTING(enic, RXCSUM), | 102 | "tso/lro %s/%s rss %s intr mode %s type %s timer %d usec " |
103 | ENIC_SETTING(enic, TSO), | 103 | "loopback tag 0x%04x\n", |
104 | c->intr_timer_usec, ENIC_SETTING(enic, RSS)); | 104 | ENIC_SETTING(enic, TXCSUM) ? "yes" : "no", |
105 | ENIC_SETTING(enic, RXCSUM) ? "yes" : "no", | ||
106 | ENIC_SETTING(enic, TSO) ? "yes" : "no", | ||
107 | ENIC_SETTING(enic, LRO) ? "yes" : "no", | ||
108 | ENIC_SETTING(enic, RSS) ? "yes" : "no", | ||
109 | c->intr_mode == VENET_INTR_MODE_INTX ? "INTx" : | ||
110 | c->intr_mode == VENET_INTR_MODE_MSI ? "MSI" : | ||
111 | c->intr_mode == VENET_INTR_MODE_ANY ? "any" : | ||
112 | "unknown", | ||
113 | c->intr_timer_type == VENET_INTR_TYPE_MIN ? "min" : | ||
114 | c->intr_timer_type == VENET_INTR_TYPE_IDLE ? "idle" : | ||
115 | "unknown", | ||
116 | c->intr_timer_usec, | ||
117 | c->loop_tag); | ||
105 | 118 | ||
106 | return 0; | 119 | return 0; |
107 | } | 120 | } |