ql_hw.c (3b8f08459569bf0faa21473e5cec2491e95c9349) | ql_hw.c (c8dfaf382fa6df9dc6fd1e1c3356e0c8bf607e6a) |
---|---|
1/* 2 * Copyright (c) 2013-2014 Qlogic Corporation 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * --- 2552 unchanged lines hidden (view full) --- 2561 2562 hw_tx_cntxt->txr_comp++; 2563 if (hw_tx_cntxt->txr_comp == NUM_TX_DESCRIPTORS) 2564 hw_tx_cntxt->txr_comp = 0; 2565 2566 comp_count++; 2567 2568 if (txb->m_head) { | 1/* 2 * Copyright (c) 2013-2014 Qlogic Corporation 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * --- 2552 unchanged lines hidden (view full) --- 2561 2562 hw_tx_cntxt->txr_comp++; 2563 if (hw_tx_cntxt->txr_comp == NUM_TX_DESCRIPTORS) 2564 hw_tx_cntxt->txr_comp = 0; 2565 2566 comp_count++; 2567 2568 if (txb->m_head) { |
2569 ha->ifp->if_opackets++; | 2569 if_inc_counter(ha->ifp, IFCOUNTER_OPACKETS, 1); |
2570 2571 bus_dmamap_sync(ha->tx_tag, txb->map, 2572 BUS_DMASYNC_POSTWRITE); 2573 bus_dmamap_unload(ha->tx_tag, txb->map); 2574 m_freem(txb->m_head); 2575 2576 txb->m_head = NULL; 2577 } --- 281 unchanged lines hidden --- | 2570 2571 bus_dmamap_sync(ha->tx_tag, txb->map, 2572 BUS_DMASYNC_POSTWRITE); 2573 bus_dmamap_unload(ha->tx_tag, txb->map); 2574 m_freem(txb->m_head); 2575 2576 txb->m_head = NULL; 2577 } --- 281 unchanged lines hidden --- |