Lines Matching refs:dev_info

38 	dev_info(&h->pdev->dev, "queue info\n");  in hns3_dbg_queue_info()
61 dev_info(&h->pdev->dev, "RX(%u) BASE ADD: 0x%08x%08x\n", i, in hns3_dbg_queue_info()
66 dev_info(&h->pdev->dev, "RX(%u) RING BD NUM: %u\n", i, value); in hns3_dbg_queue_info()
70 dev_info(&h->pdev->dev, "RX(%u) RING BD LEN: %u\n", i, value); in hns3_dbg_queue_info()
74 dev_info(&h->pdev->dev, "RX(%u) RING TAIL: %u\n", i, value); in hns3_dbg_queue_info()
78 dev_info(&h->pdev->dev, "RX(%u) RING HEAD: %u\n", i, value); in hns3_dbg_queue_info()
82 dev_info(&h->pdev->dev, "RX(%u) RING FBDNUM: %u\n", i, value); in hns3_dbg_queue_info()
86 dev_info(&h->pdev->dev, "RX(%u) RING PKTNUM: %u\n", i, value); in hns3_dbg_queue_info()
93 dev_info(&h->pdev->dev, "TX(%u) BASE ADD: 0x%08x%08x\n", i, in hns3_dbg_queue_info()
98 dev_info(&h->pdev->dev, "TX(%u) RING BD NUM: %u\n", i, value); in hns3_dbg_queue_info()
102 dev_info(&h->pdev->dev, "TX(%u) RING TC: %u\n", i, value); in hns3_dbg_queue_info()
106 dev_info(&h->pdev->dev, "TX(%u) RING TAIL: %u\n", i, value); in hns3_dbg_queue_info()
110 dev_info(&h->pdev->dev, "TX(%u) RING HEAD: %u\n", i, value); in hns3_dbg_queue_info()
114 dev_info(&h->pdev->dev, "TX(%u) RING FBDNUM: %u\n", i, value); in hns3_dbg_queue_info()
118 dev_info(&h->pdev->dev, "TX(%u) RING OFFSET: %u\n", i, value); in hns3_dbg_queue_info()
122 dev_info(&h->pdev->dev, "TX(%u) RING PKTNUM: %u\n", i, value); in hns3_dbg_queue_info()
125 dev_info(&h->pdev->dev, "TX/RX(%u) RING EN: %s\n", i, in hns3_dbg_queue_info()
131 dev_info(&h->pdev->dev, "TX(%u) RING EN: %s\n", i, in hns3_dbg_queue_info()
136 dev_info(&h->pdev->dev, "RX(%u) RING EN: %s\n", i, in hns3_dbg_queue_info()
140 dev_info(&h->pdev->dev, "\n"); in hns3_dbg_queue_info()
154 dev_info(&h->pdev->dev, "map info for queue id and vector id\n"); in hns3_dbg_queue_map()
155 dev_info(&h->pdev->dev, in hns3_dbg_queue_map()
164 dev_info(&h->pdev->dev, in hns3_dbg_queue_map()
209 dev_info(dev, "TX Queue Num: %u, BD Index: %u\n", q_num, tx_index); in hns3_dbg_bd_info()
210 dev_info(dev, "(TX)addr: %pad\n", &addr); in hns3_dbg_bd_info()
211 dev_info(dev, "(TX)vlan_tag: %u\n", le16_to_cpu(tx_desc->tx.vlan_tag)); in hns3_dbg_bd_info()
212 dev_info(dev, "(TX)send_size: %u\n", in hns3_dbg_bd_info()
214 dev_info(dev, "(TX)vlan_tso: %u\n", tx_desc->tx.type_cs_vlan_tso); in hns3_dbg_bd_info()
215 dev_info(dev, "(TX)l2_len: %u\n", tx_desc->tx.l2_len); in hns3_dbg_bd_info()
216 dev_info(dev, "(TX)l3_len: %u\n", tx_desc->tx.l3_len); in hns3_dbg_bd_info()
217 dev_info(dev, "(TX)l4_len: %u\n", tx_desc->tx.l4_len); in hns3_dbg_bd_info()
218 dev_info(dev, "(TX)vlan_tag: %u\n", in hns3_dbg_bd_info()
220 dev_info(dev, "(TX)tv: %u\n", le16_to_cpu(tx_desc->tx.tv)); in hns3_dbg_bd_info()
221 dev_info(dev, "(TX)vlan_msec: %u\n", tx_desc->tx.ol_type_vlan_msec); in hns3_dbg_bd_info()
222 dev_info(dev, "(TX)ol2_len: %u\n", tx_desc->tx.ol2_len); in hns3_dbg_bd_info()
223 dev_info(dev, "(TX)ol3_len: %u\n", tx_desc->tx.ol3_len); in hns3_dbg_bd_info()
224 dev_info(dev, "(TX)ol4_len: %u\n", tx_desc->tx.ol4_len); in hns3_dbg_bd_info()
225 dev_info(dev, "(TX)paylen: %u\n", le32_to_cpu(tx_desc->tx.paylen)); in hns3_dbg_bd_info()
226 dev_info(dev, "(TX)vld_ra_ri: %u\n", in hns3_dbg_bd_info()
228 dev_info(dev, "(TX)mss: %u\n", le16_to_cpu(tx_desc->tx.mss)); in hns3_dbg_bd_info()
236 dev_info(dev, "RX Queue Num: %u, BD Index: %u\n", q_num, rx_index); in hns3_dbg_bd_info()
237 dev_info(dev, "(RX)addr: %pad\n", &addr); in hns3_dbg_bd_info()
238 dev_info(dev, "(RX)l234_info: %u\n", in hns3_dbg_bd_info()
240 dev_info(dev, "(RX)pkt_len: %u\n", le16_to_cpu(rx_desc->rx.pkt_len)); in hns3_dbg_bd_info()
241 dev_info(dev, "(RX)size: %u\n", le16_to_cpu(rx_desc->rx.size)); in hns3_dbg_bd_info()
242 dev_info(dev, "(RX)rss_hash: %u\n", le32_to_cpu(rx_desc->rx.rss_hash)); in hns3_dbg_bd_info()
243 dev_info(dev, "(RX)fd_id: %u\n", le16_to_cpu(rx_desc->rx.fd_id)); in hns3_dbg_bd_info()
244 dev_info(dev, "(RX)vlan_tag: %u\n", le16_to_cpu(rx_desc->rx.vlan_tag)); in hns3_dbg_bd_info()
245 dev_info(dev, "(RX)o_dm_vlan_id_fb: %u\n", in hns3_dbg_bd_info()
247 dev_info(dev, "(RX)ot_vlan_tag: %u\n", in hns3_dbg_bd_info()
249 dev_info(dev, "(RX)bd_base_info: %u\n", in hns3_dbg_bd_info()
261 dev_info(&h->pdev->dev, "available commands\n"); in hns3_dbg_help()
262 dev_info(&h->pdev->dev, "queue info <number>\n"); in hns3_dbg_help()
263 dev_info(&h->pdev->dev, "queue map\n"); in hns3_dbg_help()
264 dev_info(&h->pdev->dev, "bd info <q_num> <bd index>\n"); in hns3_dbg_help()
265 dev_info(&h->pdev->dev, "dev capability\n"); in hns3_dbg_help()
266 dev_info(&h->pdev->dev, "dev spec\n"); in hns3_dbg_help()
271 dev_info(&h->pdev->dev, "dump fd tcam\n"); in hns3_dbg_help()
272 dev_info(&h->pdev->dev, "dump tc\n"); in hns3_dbg_help()
273 dev_info(&h->pdev->dev, "dump tm map <q_num>\n"); in hns3_dbg_help()
274 dev_info(&h->pdev->dev, "dump tm\n"); in hns3_dbg_help()
275 dev_info(&h->pdev->dev, "dump qos pause cfg\n"); in hns3_dbg_help()
276 dev_info(&h->pdev->dev, "dump qos pri map\n"); in hns3_dbg_help()
277 dev_info(&h->pdev->dev, "dump qos buf cfg\n"); in hns3_dbg_help()
278 dev_info(&h->pdev->dev, "dump mng tbl\n"); in hns3_dbg_help()
279 dev_info(&h->pdev->dev, "dump reset info\n"); in hns3_dbg_help()
280 dev_info(&h->pdev->dev, "dump m7 info\n"); in hns3_dbg_help()
281 dev_info(&h->pdev->dev, "dump ncl_config <offset> <length>(in hex)\n"); in hns3_dbg_help()
282 dev_info(&h->pdev->dev, "dump mac tnl status\n"); in hns3_dbg_help()
283 dev_info(&h->pdev->dev, "dump loopback\n"); in hns3_dbg_help()
284 dev_info(&h->pdev->dev, "dump qs shaper [qs id]\n"); in hns3_dbg_help()
285 dev_info(&h->pdev->dev, "dump uc mac list <func id>\n"); in hns3_dbg_help()
286 dev_info(&h->pdev->dev, "dump mc mac list <func id>\n"); in hns3_dbg_help()
287 dev_info(&h->pdev->dev, "dump intr\n"); in hns3_dbg_help()
298 dev_info(&h->pdev->dev, "%s", printf_buf); in hns3_dbg_help()
305 dev_info(&h->pdev->dev, "%s", printf_buf); in hns3_dbg_help()
315 dev_info(&h->pdev->dev, "support FD: %s\n", in hns3_dbg_dev_caps()
317 dev_info(&h->pdev->dev, "support GRO: %s\n", in hns3_dbg_dev_caps()
319 dev_info(&h->pdev->dev, "support FEC: %s\n", in hns3_dbg_dev_caps()
321 dev_info(&h->pdev->dev, "support UDP GSO: %s\n", in hns3_dbg_dev_caps()
323 dev_info(&h->pdev->dev, "support PTP: %s\n", in hns3_dbg_dev_caps()
325 dev_info(&h->pdev->dev, "support INT QL: %s\n", in hns3_dbg_dev_caps()
336 dev_info(priv->dev, "MAC entry num: %u\n", dev_specs->mac_entry_num); in hns3_dbg_dev_specs()
337 dev_info(priv->dev, "MNG entry num: %u\n", dev_specs->mng_entry_num); in hns3_dbg_dev_specs()
338 dev_info(priv->dev, "MAX non tso bd num: %u\n", in hns3_dbg_dev_specs()
340 dev_info(priv->dev, "RSS ind tbl size: %u\n", in hns3_dbg_dev_specs()
342 dev_info(priv->dev, "RSS key size: %u\n", dev_specs->rss_key_size); in hns3_dbg_dev_specs()
343 dev_info(priv->dev, "RSS size: %u\n", kinfo->rss_size); in hns3_dbg_dev_specs()
344 dev_info(priv->dev, "Allocated RSS size: %u\n", kinfo->req_rss_size); in hns3_dbg_dev_specs()
345 dev_info(priv->dev, "Task queue pairs numbers: %u\n", kinfo->num_tqps); in hns3_dbg_dev_specs()
347 dev_info(priv->dev, "RX buffer length: %u\n", kinfo->rx_buf_len); in hns3_dbg_dev_specs()
348 dev_info(priv->dev, "Desc num per TX queue: %u\n", kinfo->num_tx_desc); in hns3_dbg_dev_specs()
349 dev_info(priv->dev, "Desc num per RX queue: %u\n", kinfo->num_rx_desc); in hns3_dbg_dev_specs()
350 dev_info(priv->dev, "Total number of enabled TCs: %u\n", kinfo->num_tc); in hns3_dbg_dev_specs()
351 dev_info(priv->dev, "MAX INT QL: %u\n", dev_specs->int_ql_max); in hns3_dbg_dev_specs()