Deleted Added
full compact
t4_sge.c (281253) t4_sge.c (281264)
1/*-
2 * Copyright (c) 2011 Chelsio Communications, Inc.
3 * All rights reserved.
4 * Written by: Navdeep Parhar <np@FreeBSD.org>
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 */
27
28#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2011 Chelsio Communications, Inc.
3 * All rights reserved.
4 * Written by: Navdeep Parhar <np@FreeBSD.org>
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 */
27
28#include <sys/cdefs.h>
29__FBSDID("$FreeBSD: stable/10/sys/dev/cxgbe/t4_sge.c 281253 2015-04-08 01:43:29Z np $");
29__FBSDID("$FreeBSD: stable/10/sys/dev/cxgbe/t4_sge.c 281264 2015-04-08 05:02:21Z np $");
30
31#include "opt_inet.h"
32#include "opt_inet6.h"
33
34#include <sys/types.h>
35#include <sys/mbuf.h>
36#include <sys/socket.h>
37#include <sys/kernel.h>

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

1239 free_rxq(pi, rxq);
1240 }
1241#ifdef TCP_OFFLOAD
1242 for_each_ofld_rxq(pi, i, ofld_rxq) {
1243 if (ofld_rxq->iq.flags & IQ_INTR)
1244 free_ofld_rxq(pi, ofld_rxq);
1245 }
1246#endif
30
31#include "opt_inet.h"
32#include "opt_inet6.h"
33
34#include <sys/types.h>
35#include <sys/mbuf.h>
36#include <sys/socket.h>
37#include <sys/kernel.h>

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

1239 free_rxq(pi, rxq);
1240 }
1241#ifdef TCP_OFFLOAD
1242 for_each_ofld_rxq(pi, i, ofld_rxq) {
1243 if (ofld_rxq->iq.flags & IQ_INTR)
1244 free_ofld_rxq(pi, ofld_rxq);
1245 }
1246#endif
1247#ifdef DEV_NETMAP
1248 CXGBE_UNIMPLEMENTED(__func__);
1249#endif
1250
1251 return (0);
1252}
1253
1254/*
1255 * Deals with errors and the firmware event queue. All data rx queues forward
1256 * their interrupt to the firmware event queue.
1257 */

--- 3331 unchanged lines hidden ---
1247
1248 return (0);
1249}
1250
1251/*
1252 * Deals with errors and the firmware event queue. All data rx queues forward
1253 * their interrupt to the firmware event queue.
1254 */

--- 3331 unchanged lines hidden ---