XGE_TRACE
xge_debug_osdep(XGE_TRACE, "XGE_ATTACH cmd %d", cmd);
xge_debug_osdep(XGE_TRACE,
xge_debug_osdep(XGE_TRACE, "XGE_DETACH cmd %d", cmd);
xge_hal_driver_debug_level_set(XGE_TRACE);
xge_debug_osdep(XGE_TRACE, "%s: Requested: %d, Granted: %d",
xge_debug_osdep(XGE_TRACE,
xge_debug_osdep(XGE_TRACE, "Channel-Tx%d"
xge_debug_osdep(XGE_TRACE, "Channel-Rx%d: "
xge_debug_ll(XGE_TRACE,
xge_debug_ll(XGE_TRACE, "%s", "xgell_rx_ring_maddr_init");
xge_debug_ll(XGE_TRACE, "%s", "xgell_addmac");
xge_debug_ll(XGE_TRACE, "%s", "xgell_remmac");
xge_debug_ll(XGE_TRACE, "%s", "xgell_maddr_set");
xge_debug_ll(XGE_TRACE,
xge_debug_ll(XGE_TRACE, "RX ring [%d] is opened successfully",
xge_debug_ll(XGE_TRACE, "%s",
xge_debug_ll(XGE_TRACE, "%s%d: M_START", XGELL_IFNAME,
xge_debug_ll(XGE_TRACE, "%s", "MAC_STOP");
xge_debug_ll(XGE_TRACE, "%s", "returning back to MAC Layer...");
xge_debug_ll(XGE_TRACE, "M_MULTICAST add %d", add);
xge_debug_ll(XGE_TRACE, "%s", "MAC_PROMISC_SET");
xge_debug_ll(XGE_TRACE, "%s", "MAC_STATS_GET");
xge_debug_ll(XGE_TRACE, "trying to register etherenet device %s%d...",
xge_debug_ll(XGE_TRACE, "freeing device %s%d",
xge_debug_ll(XGE_TRACE, "MAC_IOCTL cmd 0x%x", cmd);
xge_debug_ll(XGE_TRACE, "unknown cmd 0x%x", cmd);
xge_debug_ll(XGE_TRACE, "%s", "got ndd get ioctl");
xge_debug_ll(XGE_TRACE, "%s", "got ndd set ioctl");
xge_debug_ll(XGE_TRACE, "xgell_m_getcapab: %x", cap);
xge_debug_ll(XGE_TRACE, "bar0: new value %s:%lX", value, bar0_offset);
xge_debug_ll(XGE_TRACE, "etherenet device %s%d registered",
xge_debug_ll(XGE_TRACE, "etherenet device %s%d unregistered",
xge_debug_ll(XGE_TRACE, "xgell_rx_1b_callback on ring %d", ring->index);
xge_debug_ll(XGE_TRACE, "xgell_rx_poll on ring %d", ring->index);
xge_debug_ll(XGE_TRACE, "%s%d: tx: dtr 0x%"PRIx64
xge_debug_ll(XGE_TRACE, "%s%d: queue %d: err on xmit,"
xge_debug_ll(XGE_TRACE, "%s%d: queue %d: error in xmit,"
if (((level >= XGE_TRACE && ((module & XGE_DEBUG_TRACE_MASK) == module)) || \
if (((level >= XGE_TRACE && ((module & XGE_DEBUG_TRACE_MASK) == module)) || \
xge_debug_queue(XGE_TRACE,
xge_debug_queue(XGE_TRACE,
xge_debug_queue(XGE_TRACE, "queue 0x"XGE_OS_LLXFMT":%d is growing",
xge_debug_queue(XGE_TRACE, "item "XGE_OS_LLXFMT"(%d) flushed",
xge_debug_queue(XGE_TRACE,
xge_debug_queue(XGE_TRACE,
xge_debug_queue(XGE_TRACE,
xge_debug_channel(XGE_TRACE, "channel %d:%d:%d is empty!",
xge_debug_channel(XGE_TRACE, "dtrh 0x"XGE_OS_LLXFMT" restored for "
xge_debug_channel(XGE_TRACE, "channel %d:%d:%d, restored "
xge_debug_channel(XGE_TRACE, "dtrh 0x"XGE_OS_LLXFMT" freed, "
xge_debug_channel(XGE_TRACE, "dtrh 0x"XGE_OS_LLXFMT" allocated, "
xge_debug_channel(XGE_TRACE,
xge_debug_ring(XGE_TRACE, "Creating lro session.");
xge_debug_ring(XGE_TRACE, "Max LRO frame len exceeded:"
xge_debug_ring(XGE_TRACE, "Max sg count exceeded:"
xge_debug_ring(XGE_TRACE, "Entered accumu lro. ");
xge_debug_ring(XGE_TRACE, "ret from get_lro:%d ",ret);
xge_debug_ring(XGE_TRACE, "Dump Ip:" );
xge_debug_ring(XGE_TRACE, "Dump Tcp:" );
xge_debug_ring(XGE_TRACE, "tcphdr not fastpth %02x %02x", tcp->doff_res, tcp->ctrl);
xge_debug_ring(XGE_TRACE, "ip_length:%d ip:"XGE_OS_LLXFMT
xge_debug_device(XGE_TRACE, "TTI[%d] configured: tti_data1_mem 0x"
xge_debug_device(XGE_TRACE,
xge_debug_device(XGE_TRACE, "%s", "XAUI interface configured");
xge_debug_device(XGE_TRACE, "%s",
xge_debug_device(XGE_TRACE, "using custom HW swapper 0x"XGE_OS_LLXFMT,
xge_debug_device(XGE_TRACE, "%s", "using little endian set");
xge_debug_device(XGE_TRACE, "%s", "be/le swapper enabled");
xge_debug_ll(XGE_TRACE, "the index value is %d ", index);
xge_debug_device(XGE_TRACE, "RTH configured, bucket_size %d",
xge_debug_device(XGE_TRACE,
xge_debug_device(XGE_TRACE, "PCI info: mode %d width "
xge_debug_device(XGE_TRACE, "PCI info: mode %d", *pci_mode);
xge_debug_device(XGE_TRACE,
xge_debug_device(XGE_TRACE, "%s",
xge_debug_device(XGE_TRACE, "calling link up..");
xge_debug_device(XGE_TRACE, "%s",
xge_debug_device(XGE_TRACE,
xge_debug_device(XGE_TRACE,
xge_debug_device(XGE_TRACE, "calling link down..");
xge_debug_device(XGE_TRACE, "%s", "optimizing for PCI mode");
xge_debug_device(XGE_TRACE, "%s", "optimizing for PCI-X 266/250 modes");
xge_debug_device(XGE_TRACE, "%s", "PRC is not QUIESCENT!");
xge_debug_device(XGE_TRACE, "device 0x"XGE_OS_LLXFMT" is quiescent",
xge_debug_device(XGE_TRACE, "%s",
xge_debug_device(XGE_TRACE, "%s",
xge_debug_device(XGE_TRACE,
xge_debug_device(XGE_TRACE,
xge_debug_device(XGE_TRACE,
xge_debug_device(XGE_TRACE, "mac_cfg 0x"XGE_OS_LLXFMT": broadcast %s",
xge_debug_device(XGE_TRACE, "mac_cfg 0x"XGE_OS_LLXFMT": broadcast %s",
xge_debug_device(XGE_TRACE, "%s","link state cleared");
xge_debug_device(XGE_TRACE, "%s", "link state cleared");
xge_debug_device(XGE_TRACE,
xge_debug_device(XGE_TRACE, "%s", "shared splits configured");
xge_debug_device(XGE_TRACE, "%s",
xge_debug_device(XGE_TRACE, "%s", "turn off laser, cleanup hardware");
xge_debug_device(XGE_TRACE, "%s", "PRC is not QUIESCENT!");
xge_debug_device(XGE_TRACE, "%s (%d)", "resetting the device", reset_cnt);
xge_debug_device(XGE_TRACE, "%s", "TDMA is not ready!");
xge_debug_device(XGE_TRACE, "%s", "RDMA is not ready!");
xge_debug_device(XGE_TRACE, "%s", "PFC is not ready!");
xge_debug_device(XGE_TRACE, "%s", "TMAC BUF is not empty!");
xge_debug_device(XGE_TRACE, "%s", "PIC is not QUIESCENT!");
xge_debug_device(XGE_TRACE, "%s", "MC_DRAM is not ready!");
xge_debug_device(XGE_TRACE, "%s", "MC_QUEUES is not ready!");
xge_debug_device(XGE_TRACE, "%s", "M_PLL is not locked!");
xge_debug_device(XGE_TRACE, "%s", "P_PLL is not locked!");
xge_debug_device(XGE_TRACE,
xge_debug_device(XGE_TRACE, "%s", "interrupts are enabled");
xge_debug_device(XGE_TRACE, "%s", "interrupts are disabled");
xge_debug_device(XGE_TRACE,
xge_debug_device(XGE_TRACE,
xge_debug_device(XGE_TRACE, "%s",
xge_debug_device(XGE_TRACE, "new MTU %d applied",
xge_debug_device(XGE_TRACE, "device 0x"XGE_OS_LLXFMT" is initializing",
xge_debug_device(XGE_TRACE, "%s", "pause frames configured");
xge_debug_device(XGE_TRACE,
xge_debug_device(XGE_TRACE,
xge_debug_device(XGE_TRACE, "device "XGE_OS_LLXFMT" is terminating",
xge_debug_device(XGE_TRACE, "sched_timer 0x"XGE_OS_LLXFMT": %s",
xge_debug_device(XGE_TRACE,
xge_debug_osdep(XGE_TRACE, "MSI Data: 0x%4x, Ring: %d,"
xge_debug_osdep(XGE_TRACE, "MSI Data: 0x%4x, Fifo: %d,"
xge_debug_device(XGE_TRACE,
xge_debug_queue(XGE_TRACE,
xge_debug_queue(XGE_TRACE,
xge_debug_device(XGE_TRACE, "the Section value is %d ", section);
xge_debug_device(XGE_TRACE, "general_int_mask updated "
xge_debug_device(XGE_TRACE, "TTI[%d] timer enabled to %d, ci %s",
xge_debug_fifo(XGE_TRACE, "posted txdl 0x"XGE_OS_LLXFMT" ctrl 0x"XGE_OS_LLXFMT" "
xge_debug_fifo(XGE_TRACE,
xge_debug_fifo(XGE_TRACE,
xge_debug_fifo(XGE_TRACE,
xge_debug_fifo(XGE_TRACE, "dtr_reserve_many called for frags %d",
xge_debug_fifo(XGE_TRACE, "allocated linked dtrh %p"
xge_debug_fifo(XGE_TRACE,
xge_debug_fifo(XGE_TRACE,
xge_debug_fifo(XGE_TRACE,
xge_debug_fifo(XGE_TRACE,
xge_debug_fifo(XGE_TRACE,
xge_debug_fifo(XGE_TRACE, "DTR before reversing index:%d"
xge_debug_fifo(XGE_TRACE, "DTR after reversing index:%d"
xge_debug_fifo(XGE_TRACE,
xge_debug_fifo(XGE_TRACE, "fifo partition_0 at: "
xge_debug_fifo(XGE_TRACE, "%s", "fifo channels initialized");
xge_debug_osdep(XGE_TRACE, "Incorrect XPAK Alarm "
xge_debug_osdep(XGE_TRACE, "ERR: MDIO slave access failed - "
xge_debug_osdep(XGE_TRACE, "Incorrect value at PMA address 0x0000 - ");
xge_debug_osdep(XGE_TRACE, "Returned: %llx- Expected: 0x2040",
xge_debug_osdep(XGE_TRACE, "Read Test level 1 fails");
xge_debug_osdep(XGE_TRACE, "Read Test level 2 fails");
xge_debug_osdep(XGE_TRACE, "Read Test level 3 fails");
xge_debug_osdep(XGE_TRACE, "Read Test level 4 fails");
xge_debug_mm(XGE_TRACE,
xge_debug_mm(XGE_TRACE, "allocating %d memblocks, "
xge_debug_mm(XGE_TRACE,
xge_debug_ring(XGE_TRACE, "xge_hal_ring_dtr_1b_set: rxdp %p control_2 %p buffer0_ptr %p",
xge_debug_ring(XGE_TRACE, "xge_hal_ring_dtr_pre_post: rxd 0x"XGE_OS_LLXFMT" posted %d post_qid %d",
xge_debug_ring(XGE_TRACE, "xge_hal_ring_dtr_post_post: rxdp %p control_1 %p",
xge_debug_ring(XGE_TRACE, "xge_hal_ring_dtr_post_post_wmb: rxdp %p control_1 %p rxds_with_host %d",
xge_debug_ring(XGE_TRACE,
xge_debug_ring(XGE_TRACE, "block%d:0x"XGE_OS_LLXFMT" => block%d:0x"XGE_OS_LLXFMT,
xge_debug_ring(XGE_TRACE, "ring%d PRC DMA addr 0x"XGE_OS_LLXFMT" initialized",
xge_debug_ring(XGE_TRACE, "ring%d enabled in buffer_mode %d",
xge_debug_ring(XGE_TRACE, "Rings priority configured to 0x"XGE_OS_LLXFMT,
xge_debug_ring(XGE_TRACE, "DRAM configured to 0x"XGE_OS_LLXFMT,
xge_debug_ring(XGE_TRACE, "QoS steering configured to 0x"XGE_OS_LLXFMT,
xge_debug_ring(XGE_TRACE, "default mc_rldram_mrs_herc 0x"XGE_OS_LLXFMT,
xge_debug_ring(XGE_TRACE, "%s", "ring channels initialized");
xge_debug_stats(XGE_TRACE, "stats disabled at 0x"XGE_OS_LLXFMT,
xge_debug_stats(XGE_TRACE, "stats enabled at 0x"XGE_OS_LLXFMT,