ql_isr.c (d1d015864103b253b3fcb2f72a0da5b0cfeb31b6) | ql_isr.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 * --- 142 unchanged lines hidden (view full) --- 151 if (sgc->chksum_status == Q8_STAT_DESC_STATUS_CHKSUM_OK) { 152 mpf->m_pkthdr.csum_flags = CSUM_IP_CHECKED | CSUM_IP_VALID | 153 CSUM_DATA_VALID | CSUM_PSEUDO_HDR; 154 mpf->m_pkthdr.csum_data = 0xFFFF; 155 } else { 156 mpf->m_pkthdr.csum_flags = 0; 157 } 158 | 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 * --- 142 unchanged lines hidden (view full) --- 151 if (sgc->chksum_status == Q8_STAT_DESC_STATUS_CHKSUM_OK) { 152 mpf->m_pkthdr.csum_flags = CSUM_IP_CHECKED | CSUM_IP_VALID | 153 CSUM_DATA_VALID | CSUM_PSEUDO_HDR; 154 mpf->m_pkthdr.csum_data = 0xFFFF; 155 } else { 156 mpf->m_pkthdr.csum_flags = 0; 157 } 158 |
159 ifp->if_ipackets++; | 159 if_inc_counter(ifp, IFCOUNTER_IPACKETS, 1); |
160 161 mpf->m_pkthdr.flowid = sgc->rss_hash; 162 mpf->m_flags |= M_FLOWID; 163 164 (*ifp->if_input)(ifp, mpf); 165 166 if (sdsp->rx_free > ha->std_replenish) 167 qla_replenish_normal_rx(ha, sdsp, r_idx); --- 153 unchanged lines hidden (view full) --- 321 322 mpf->m_pkthdr.csum_flags = CSUM_IP_CHECKED | CSUM_IP_VALID | 323 CSUM_DATA_VALID | CSUM_PSEUDO_HDR; 324 mpf->m_pkthdr.csum_data = 0xFFFF; 325 326 mpf->m_pkthdr.flowid = sgc->rss_hash; 327 mpf->m_flags |= M_FLOWID; 328 | 160 161 mpf->m_pkthdr.flowid = sgc->rss_hash; 162 mpf->m_flags |= M_FLOWID; 163 164 (*ifp->if_input)(ifp, mpf); 165 166 if (sdsp->rx_free > ha->std_replenish) 167 qla_replenish_normal_rx(ha, sdsp, r_idx); --- 153 unchanged lines hidden (view full) --- 321 322 mpf->m_pkthdr.csum_flags = CSUM_IP_CHECKED | CSUM_IP_VALID | 323 CSUM_DATA_VALID | CSUM_PSEUDO_HDR; 324 mpf->m_pkthdr.csum_data = 0xFFFF; 325 326 mpf->m_pkthdr.flowid = sgc->rss_hash; 327 mpf->m_flags |= M_FLOWID; 328 |
329 ifp->if_ipackets++; | 329 if_inc_counter(ifp, IFCOUNTER_IPACKETS, 1); |
330 331 (*ifp->if_input)(ifp, mpf); 332 333 if (sdsp->rx_free > ha->std_replenish) 334 qla_replenish_normal_rx(ha, sdsp, r_idx); 335 336 return (0); 337} --- 546 unchanged lines hidden --- | 330 331 (*ifp->if_input)(ifp, mpf); 332 333 if (sdsp->rx_free > ha->std_replenish) 334 qla_replenish_normal_rx(ha, sdsp, r_idx); 335 336 return (0); 337} --- 546 unchanged lines hidden --- |