Print this page
5042 stop using deprecated atomic functions

*** 371,382 **** "LSO packet: TX Descriptor ring is full: " "channel %d", tx_ring_p->tdc)); goto nxge_start_fail_lso; } else { ! (void) cas32((uint32_t *)&tx_ring_p->queueing, ! 0, 1); tdc_stats->tx_no_desc++; if (isLDOMservice(nxgep)) { tx_ring_p->tx_ring_busy = B_FALSE; if (tx_ring_p->tx_ring_offline) { --- 371,382 ---- "LSO packet: TX Descriptor ring is full: " "channel %d", tx_ring_p->tdc)); goto nxge_start_fail_lso; } else { ! (void) atomic_cas_32( ! (uint32_t *)&tx_ring_p->queueing, 0, 1); tdc_stats->tx_no_desc++; if (isLDOMservice(nxgep)) { tx_ring_p->tx_ring_busy = B_FALSE; if (tx_ring_p->tx_ring_offline) {