ena_sysctl.c (0052f3b5802d45950453a19d7a38df3be1f95fa8) ena_sysctl.c (4727bda6f2e975a24ba6ec7a7a77cf73bf169edb)
1/*-
2 * BSD LICENSE
3 *
4 * Copyright (c) 2015-2017 Amazon.com, Inc. or its affiliates.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

195 &rx_stats->refil_partial, "Partial refilled mbufs");
196 SYSCTL_ADD_COUNTER_U64(ctx, rx_list, OID_AUTO,
197 "bad_csum", CTLFLAG_RD,
198 &rx_stats->bad_csum, "Bad RX checksum");
199 SYSCTL_ADD_COUNTER_U64(ctx, rx_list, OID_AUTO,
200 "mbuf_alloc_fail", CTLFLAG_RD,
201 &rx_stats->mbuf_alloc_fail, "Failed mbuf allocs");
202 SYSCTL_ADD_COUNTER_U64(ctx, rx_list, OID_AUTO,
1/*-
2 * BSD LICENSE
3 *
4 * Copyright (c) 2015-2017 Amazon.com, Inc. or its affiliates.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

195 &rx_stats->refil_partial, "Partial refilled mbufs");
196 SYSCTL_ADD_COUNTER_U64(ctx, rx_list, OID_AUTO,
197 "bad_csum", CTLFLAG_RD,
198 &rx_stats->bad_csum, "Bad RX checksum");
199 SYSCTL_ADD_COUNTER_U64(ctx, rx_list, OID_AUTO,
200 "mbuf_alloc_fail", CTLFLAG_RD,
201 &rx_stats->mbuf_alloc_fail, "Failed mbuf allocs");
202 SYSCTL_ADD_COUNTER_U64(ctx, rx_list, OID_AUTO,
203 "mjum_alloc_fail", CTLFLAG_RD,
204 &rx_stats->mjum_alloc_fail, "Failed jumbo mbuf allocs");
205 SYSCTL_ADD_COUNTER_U64(ctx, rx_list, OID_AUTO,
203 "dma_mapping_err", CTLFLAG_RD,
204 &rx_stats->dma_mapping_err, "DMA mapping errors");
205 SYSCTL_ADD_COUNTER_U64(ctx, rx_list, OID_AUTO,
206 "bad_desc_num", CTLFLAG_RD,
207 &rx_stats->bad_desc_num, "Bad descriptor count");
208 SYSCTL_ADD_COUNTER_U64(ctx, rx_list, OID_AUTO,
209 "bad_req_id", CTLFLAG_RD,
210 &rx_stats->bad_req_id, "Bad request id count");

--- 38 unchanged lines hidden ---
206 "dma_mapping_err", CTLFLAG_RD,
207 &rx_stats->dma_mapping_err, "DMA mapping errors");
208 SYSCTL_ADD_COUNTER_U64(ctx, rx_list, OID_AUTO,
209 "bad_desc_num", CTLFLAG_RD,
210 &rx_stats->bad_desc_num, "Bad descriptor count");
211 SYSCTL_ADD_COUNTER_U64(ctx, rx_list, OID_AUTO,
212 "bad_req_id", CTLFLAG_RD,
213 &rx_stats->bad_req_id, "Bad request id count");

--- 38 unchanged lines hidden ---