Deleted Added
full compact
bxe_stats.h (292638) bxe_stats.h (297873)
1/*-
2 * Copyright (c) 2007-2014 QLogic Corporation. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

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

23 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
24 * THE POSSIBILITY OF SUCH DAMAGE.
25 */
26
27#ifndef BXE_STATS_H
28#define BXE_STATS_H
29
30#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2007-2014 QLogic Corporation. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

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

23 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
24 * THE POSSIBILITY OF SUCH DAMAGE.
25 */
26
27#ifndef BXE_STATS_H
28#define BXE_STATS_H
29
30#include <sys/cdefs.h>
31__FBSDID("$FreeBSD: head/sys/dev/bxe/bxe_stats.h 292638 2015-12-23 01:31:32Z davidcs $");
31__FBSDID("$FreeBSD: head/sys/dev/bxe/bxe_stats.h 297873 2016-04-12 21:00:38Z davidcs $");
32
33#include <sys/types.h>
34
35struct nig_stats {
36 uint32_t brb_discard;
37 uint32_t brb_packet;
38 uint32_t brb_truncate;
39 uint32_t flow_ctrl_discard;

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

258 uint32_t mbuf_rx_sge_alloc_failed;
259 uint32_t mbuf_rx_sge_mapping_failed;
260
261 /* track the number of allocated mbufs */
262 uint32_t mbuf_alloc_tx;
263 uint32_t mbuf_alloc_rx;
264 uint32_t mbuf_alloc_sge;
265 uint32_t mbuf_alloc_tpa;
32
33#include <sys/types.h>
34
35struct nig_stats {
36 uint32_t brb_discard;
37 uint32_t brb_packet;
38 uint32_t brb_truncate;
39 uint32_t flow_ctrl_discard;

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

258 uint32_t mbuf_rx_sge_alloc_failed;
259 uint32_t mbuf_rx_sge_mapping_failed;
260
261 /* track the number of allocated mbufs */
262 uint32_t mbuf_alloc_tx;
263 uint32_t mbuf_alloc_rx;
264 uint32_t mbuf_alloc_sge;
265 uint32_t mbuf_alloc_tpa;
266
267 /* num. of times tx queue full occured */
268 uint32_t tx_queue_full_return;
266};
267
268
269struct bxe_eth_q_stats {
270 uint32_t total_unicast_bytes_received_hi;
271 uint32_t total_unicast_bytes_received_lo;
272 uint32_t total_broadcast_bytes_received_hi;
273 uint32_t total_broadcast_bytes_received_lo;

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

361 uint32_t mbuf_rx_sge_alloc_failed;
362 uint32_t mbuf_rx_sge_mapping_failed;
363
364 /* track the number of allocated mbufs */
365 uint32_t mbuf_alloc_tx;
366 uint32_t mbuf_alloc_rx;
367 uint32_t mbuf_alloc_sge;
368 uint32_t mbuf_alloc_tpa;
269};
270
271
272struct bxe_eth_q_stats {
273 uint32_t total_unicast_bytes_received_hi;
274 uint32_t total_unicast_bytes_received_lo;
275 uint32_t total_broadcast_bytes_received_hi;
276 uint32_t total_broadcast_bytes_received_lo;

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

364 uint32_t mbuf_rx_sge_alloc_failed;
365 uint32_t mbuf_rx_sge_mapping_failed;
366
367 /* track the number of allocated mbufs */
368 uint32_t mbuf_alloc_tx;
369 uint32_t mbuf_alloc_rx;
370 uint32_t mbuf_alloc_sge;
371 uint32_t mbuf_alloc_tpa;
372
373 /* num. of times tx queue full occured */
374 uint32_t tx_queue_full_return;
369};
370
371struct bxe_eth_stats_old {
372 uint32_t rx_stat_dot3statsframestoolong_hi;
373 uint32_t rx_stat_dot3statsframestoolong_lo;
374};
375
376struct bxe_eth_q_stats_old {

--- 314 unchanged lines hidden ---
375};
376
377struct bxe_eth_stats_old {
378 uint32_t rx_stat_dot3statsframestoolong_hi;
379 uint32_t rx_stat_dot3statsframestoolong_lo;
380};
381
382struct bxe_eth_q_stats_old {

--- 314 unchanged lines hidden ---