Deleted Added
full compact
bxe_stats.h (265411) bxe_stats.h (271782)
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 265411 2014-05-06 02:32:27Z davidcs $");
31__FBSDID("$FreeBSD: head/sys/dev/bxe/bxe_stats.h 271782 2014-09-18 15:56:14Z glebius $");
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;

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

670 SUB_EXTEND_64(qstats->t##_hi, qstats->t##_lo, diff); \
671 } while (0)
672
673struct bxe_softc;
674void bxe_stats_init(struct bxe_softc *sc);
675void bxe_stats_handle(struct bxe_softc *sc, enum bxe_stats_event event);
676void bxe_save_statistics(struct bxe_softc *sc);
677void bxe_afex_collect_stats(struct bxe_softc *sc, void *void_afex_stats, uint32_t stats_type);
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;

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

670 SUB_EXTEND_64(qstats->t##_hi, qstats->t##_lo, diff); \
671 } while (0)
672
673struct bxe_softc;
674void bxe_stats_init(struct bxe_softc *sc);
675void bxe_stats_handle(struct bxe_softc *sc, enum bxe_stats_event event);
676void bxe_save_statistics(struct bxe_softc *sc);
677void bxe_afex_collect_stats(struct bxe_softc *sc, void *void_afex_stats, uint32_t stats_type);
678uint64_t bxe_get_counter(if_t, ift_counter);
678
679#endif /* BXE_STATS_H */
680
679
680#endif /* BXE_STATS_H */
681