Deleted Added
full compact
ql_isr.c (251605) ql_isr.c (271849)
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 *

--- 17 unchanged lines hidden (view full) ---

26 */
27
28/*
29 * File: ql_isr.c
30 * Author : David C Somayajulu, Qlogic Corporation, Aliso Viejo, CA 92656.
31 */
32
33#include <sys/cdefs.h>
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 *

--- 17 unchanged lines hidden (view full) ---

26 */
27
28/*
29 * File: ql_isr.c
30 * Author : David C Somayajulu, Qlogic Corporation, Aliso Viejo, CA 92656.
31 */
32
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/sys/dev/qlxgbe/ql_isr.c 251605 2013-06-10 17:12:22Z davidcs $");
34__FBSDID("$FreeBSD: head/sys/dev/qlxgbe/ql_isr.c 271849 2014-09-19 03:51:26Z glebius $");
35
36
37#include "ql_os.h"
38#include "ql_hw.h"
39#include "ql_def.h"
40#include "ql_inline.h"
41#include "ql_ver.h"
42#include "ql_glbl.h"

--- 108 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
35
36
37#include "ql_os.h"
38#include "ql_hw.h"
39#include "ql_def.h"
40#include "ql_inline.h"
41#include "ql_ver.h"
42#include "ql_glbl.h"

--- 108 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 ---