iPXE
bnxt_dbg.h File Reference

Go to the source code of this file.

Macros

#define dbg_prn(func)
#define dbg_pci(bp, func, creg)
#define dbg_mem(bp, func)
#define dbg_fw_ver(resp, tmo)
#define dbg_func_resource_qcaps(bp)
#define dbg_func_qcaps(bp)
#define dbg_func_qcfg(bp)
#define prn_set_speed(speed)
#define dbg_chip_info(bp)
#define dbg_num_rings(bp)
#define dbg_flags(func, flags)
#define dbg_bnxt_pause()
#define dbg_hw_cmd(bp, func, cmd_len, resp_len, cmd_tmo, err)
#define dbg_short_cmd(sreq, func, len)
#define dump_rx_bd(rx_cmp, rx_cmp_hi, desc_idx)
#define dbg_alloc_rx_iob(iob, id, cid)
#define dbg_rx_cid(idx, cid)
#define dbg_alloc_rx_iob_fail(iob_idx, cons_id)
#define dbg_rxp(iob, rx_len, drop)
#define dbg_rx_stat(bp)
#define dump_cq(cq, id, toggle)
#define dump_nq(nq, id)
#define dbg_tx_avail(bp, a, u)
#define dbg_tx_vlan(bp, src, plen, len)
#define dbg_tx_pad(plen, len)
#define dump_tx_stat(bp)
#define dump_tx_pkt(pkt, len, idx)
#define dump_tx_bd(prod_bd, len, idx)
#define dbg_tx_done(pkt, len, idx)
#define dump_evt(cq, ty, id, ring)
#define dbg_link_status(bp)
#define dbg_link_info(bp)
#define dbg_link_state(bp, tmo)

Macro Definition Documentation

◆ dbg_prn

#define dbg_prn ( func)

Definition at line 112 of file bnxt_dbg.h.

◆ dbg_pci

#define dbg_pci ( bp,
func,
creg )

Definition at line 140 of file bnxt_dbg.h.

Referenced by bnxt_get_pci_info().

◆ dbg_mem

#define dbg_mem ( bp,
func )
Value:
(func = func)

Definition at line 175 of file bnxt_dbg.h.

Referenced by bnxt_mm_init_hwrm(), and bnxt_mm_init_rings().

◆ dbg_fw_ver

#define dbg_fw_ver ( resp,
tmo )

Definition at line 319 of file bnxt_dbg.h.

Referenced by bnxt_hwrm_ver_get().

◆ dbg_func_resource_qcaps

#define dbg_func_resource_qcaps ( bp)

Definition at line 320 of file bnxt_dbg.h.

Referenced by bnxt_hwrm_func_resource_qcaps().

◆ dbg_func_qcaps

#define dbg_func_qcaps ( bp)

Definition at line 321 of file bnxt_dbg.h.

Referenced by bnxt_hwrm_func_qcaps_req().

◆ dbg_func_qcfg

#define dbg_func_qcfg ( bp)

Definition at line 322 of file bnxt_dbg.h.

Referenced by bnxt_hwrm_func_qcfg_req().

◆ prn_set_speed

#define prn_set_speed ( speed)

Definition at line 323 of file bnxt_dbg.h.

Referenced by bnxt_get_link_speed().

◆ dbg_chip_info

#define dbg_chip_info ( bp)

Definition at line 324 of file bnxt_dbg.h.

Referenced by bnxt_get_phy_link().

◆ dbg_num_rings

#define dbg_num_rings ( bp)

Definition at line 325 of file bnxt_dbg.h.

Referenced by bnxt_set_ring_info().

◆ dbg_flags

#define dbg_flags ( func,
flags )

Definition at line 326 of file bnxt_dbg.h.

Referenced by bnxt_query_phy_link().

◆ dbg_bnxt_pause

#define dbg_bnxt_pause ( )

Definition at line 327 of file bnxt_dbg.h.

◆ dbg_hw_cmd

#define dbg_hw_cmd ( bp,
func,
cmd_len,
resp_len,
cmd_tmo,
err )
Value:
(func = func)

Definition at line 378 of file bnxt_dbg.h.

Referenced by wait_resp().

◆ dbg_short_cmd

#define dbg_short_cmd ( sreq,
func,
len )

Definition at line 398 of file bnxt_dbg.h.

Referenced by short_hwrm_cmd_req().

◆ dump_rx_bd

#define dump_rx_bd ( rx_cmp,
rx_cmp_hi,
desc_idx )

Definition at line 461 of file bnxt_dbg.h.

Referenced by bnxt_rx_process().

◆ dbg_alloc_rx_iob

#define dbg_alloc_rx_iob ( iob,
id,
cid )

Definition at line 462 of file bnxt_dbg.h.

Referenced by bnxt_alloc_rx_iob().

◆ dbg_rx_cid

#define dbg_rx_cid ( idx,
cid )

Definition at line 463 of file bnxt_dbg.h.

Referenced by bnxt_post_rx_buffers().

◆ dbg_alloc_rx_iob_fail

#define dbg_alloc_rx_iob_fail ( iob_idx,
cons_id )

Definition at line 464 of file bnxt_dbg.h.

Referenced by bnxt_post_rx_buffers().

◆ dbg_rxp

#define dbg_rxp ( iob,
rx_len,
drop )

Definition at line 465 of file bnxt_dbg.h.

Referenced by bnxt_rx_process().

◆ dbg_rx_stat

#define dbg_rx_stat ( bp)

Definition at line 466 of file bnxt_dbg.h.

Referenced by bnxt_rx_process().

◆ dump_cq

#define dump_cq ( cq,
id,
toggle )

Definition at line 508 of file bnxt_dbg.h.

Referenced by bnxt_service_cq().

◆ dump_nq

#define dump_nq ( nq,
id )

Definition at line 509 of file bnxt_dbg.h.

Referenced by bnxt_service_nq().

◆ dbg_tx_avail

#define dbg_tx_avail ( bp,
a,
u )

Definition at line 563 of file bnxt_dbg.h.

Referenced by bnxt_tx_avail().

◆ dbg_tx_vlan

#define dbg_tx_vlan ( bp,
src,
plen,
len )

Definition at line 564 of file bnxt_dbg.h.

Referenced by bnxt_tx_adjust_pkt().

◆ dbg_tx_pad

#define dbg_tx_pad ( plen,
len )

Definition at line 565 of file bnxt_dbg.h.

◆ dump_tx_stat

#define dump_tx_stat ( bp)

Definition at line 566 of file bnxt_dbg.h.

Referenced by bnxt_tx_complete().

◆ dump_tx_pkt

#define dump_tx_pkt ( pkt,
len,
idx )

Definition at line 567 of file bnxt_dbg.h.

Referenced by bnxt_tx().

◆ dump_tx_bd

#define dump_tx_bd ( prod_bd,
len,
idx )

Definition at line 568 of file bnxt_dbg.h.

◆ dbg_tx_done

#define dbg_tx_done ( pkt,
len,
idx )

Definition at line 569 of file bnxt_dbg.h.

Referenced by bnxt_tx_complete().

◆ dump_evt

#define dump_evt ( cq,
ty,
id,
ring )

Definition at line 660 of file bnxt_dbg.h.

Referenced by bnxt_service_cq(), and bnxt_service_nq().

◆ dbg_link_status

#define dbg_link_status ( bp)

◆ dbg_link_info

#define dbg_link_info ( bp)

Definition at line 662 of file bnxt_dbg.h.

Referenced by bnxt_link_speed_chg_evt(), bnxt_link_speed_evt(), and bnxt_port_phy_chg_evt().

◆ dbg_link_state

#define dbg_link_state ( bp,
tmo )

Definition at line 663 of file bnxt_dbg.h.

Referenced by bnxt_get_phy_link().