Deleted Added
full compact
if_igb.c (293854) if_igb.c (294327)
1/******************************************************************************
2
3 Copyright (c) 2001-2015, Intel Corporation
4 All rights reserved.
5
6 Redistribution and use in source and binary forms, with or without
7 modification, are permitted provided that the following conditions are met:
8

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

25 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 POSSIBILITY OF SUCH DAMAGE.
31
32******************************************************************************/
1/******************************************************************************
2
3 Copyright (c) 2001-2015, Intel Corporation
4 All rights reserved.
5
6 Redistribution and use in source and binary forms, with or without
7 modification, are permitted provided that the following conditions are met:
8

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

25 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 POSSIBILITY OF SUCH DAMAGE.
31
32******************************************************************************/
33/*$FreeBSD: head/sys/dev/e1000/if_igb.c 293854 2016-01-13 21:47:27Z marius $*/
33/*$FreeBSD: head/sys/dev/e1000/if_igb.c 294327 2016-01-19 15:33:28Z hselasky $*/
34
35
36#include "opt_inet.h"
37#include "opt_inet6.h"
38#include "opt_rss.h"
39
40#ifdef HAVE_KERNEL_OPTION_HEADERS
41#include "opt_device_polling.h"

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

5909 igb_sysctl_reg_handler, "IU",
5910 "Receive Descriptor Tail");
5911 SYSCTL_ADD_QUAD(ctx, queue_list, OID_AUTO, "rx_packets",
5912 CTLFLAG_RD, &rxr->rx_packets,
5913 "Queue Packets Received");
5914 SYSCTL_ADD_QUAD(ctx, queue_list, OID_AUTO, "rx_bytes",
5915 CTLFLAG_RD, &rxr->rx_bytes,
5916 "Queue Bytes Received");
34
35
36#include "opt_inet.h"
37#include "opt_inet6.h"
38#include "opt_rss.h"
39
40#ifdef HAVE_KERNEL_OPTION_HEADERS
41#include "opt_device_polling.h"

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

5909 igb_sysctl_reg_handler, "IU",
5910 "Receive Descriptor Tail");
5911 SYSCTL_ADD_QUAD(ctx, queue_list, OID_AUTO, "rx_packets",
5912 CTLFLAG_RD, &rxr->rx_packets,
5913 "Queue Packets Received");
5914 SYSCTL_ADD_QUAD(ctx, queue_list, OID_AUTO, "rx_bytes",
5915 CTLFLAG_RD, &rxr->rx_bytes,
5916 "Queue Bytes Received");
5917 SYSCTL_ADD_UINT(ctx, queue_list, OID_AUTO, "lro_queued",
5917 SYSCTL_ADD_U64(ctx, queue_list, OID_AUTO, "lro_queued",
5918 CTLFLAG_RD, &lro->lro_queued, 0,
5919 "LRO Queued");
5918 CTLFLAG_RD, &lro->lro_queued, 0,
5919 "LRO Queued");
5920 SYSCTL_ADD_UINT(ctx, queue_list, OID_AUTO, "lro_flushed",
5920 SYSCTL_ADD_U64(ctx, queue_list, OID_AUTO, "lro_flushed",
5921 CTLFLAG_RD, &lro->lro_flushed, 0,
5922 "LRO Flushed");
5923 }
5924
5925 /* MAC stats get their own sub node */
5926
5927 stat_node = SYSCTL_ADD_NODE(ctx, child, OID_AUTO, "mac_stats",
5928 CTLFLAG_RD, NULL, "MAC Statistics");

--- 465 unchanged lines hidden ---
5921 CTLFLAG_RD, &lro->lro_flushed, 0,
5922 "LRO Flushed");
5923 }
5924
5925 /* MAC stats get their own sub node */
5926
5927 stat_node = SYSCTL_ADD_NODE(ctx, child, OID_AUTO, "mac_stats",
5928 CTLFLAG_RD, NULL, "MAC Statistics");

--- 465 unchanged lines hidden ---