nic.h (e5451c8f8330e03ad3cfa16048b4daf961af434f) nic.h (4c0b6eaf373a5323f03a3a20c42fc435715b073d)
1/*
2 * Copyright (C) 2015 Cavium, Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of version 2 of the GNU General Public License
6 * as published by the Free Software Foundation.
7 */
8

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

111#define NIC_PF_INTR_ID_ECC1_DBE 3
112#define NIC_PF_INTR_ID_ECC2_SBE 4
113#define NIC_PF_INTR_ID_ECC2_DBE 5
114#define NIC_PF_INTR_ID_ECC3_SBE 6
115#define NIC_PF_INTR_ID_ECC3_DBE 7
116#define NIC_PF_INTR_ID_MBOX0 8
117#define NIC_PF_INTR_ID_MBOX1 9
118
1/*
2 * Copyright (C) 2015 Cavium, Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of version 2 of the GNU General Public License
6 * as published by the Free Software Foundation.
7 */
8

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

111#define NIC_PF_INTR_ID_ECC1_DBE 3
112#define NIC_PF_INTR_ID_ECC2_SBE 4
113#define NIC_PF_INTR_ID_ECC2_DBE 5
114#define NIC_PF_INTR_ID_ECC3_SBE 6
115#define NIC_PF_INTR_ID_ECC3_DBE 7
116#define NIC_PF_INTR_ID_MBOX0 8
117#define NIC_PF_INTR_ID_MBOX1 9
118
119/* Minimum FIFO level before all packets for the CQ are dropped
120 *
121 * This value ensures that once a packet has been "accepted"
122 * for reception it will not get dropped due to non-availability
123 * of CQ descriptor. An errata in HW mandates this value to be
124 * atleast 0x100.
125 */
126#define NICPF_CQM_MIN_DROP_LEVEL 0x100
127
119/* Global timer for CQ timer thresh interrupts
120 * Calculated for SCLK of 700Mhz
121 * value written should be a 1/16th of what is expected
122 *
123 * 1 tick per 0.025usec
124 */
125#define NICPF_CLK_PER_INT_TICK 1
126

--- 383 unchanged lines hidden ---
128/* Global timer for CQ timer thresh interrupts
129 * Calculated for SCLK of 700Mhz
130 * value written should be a 1/16th of what is expected
131 *
132 * 1 tick per 0.025usec
133 */
134#define NICPF_CLK_PER_INT_TICK 1
135

--- 383 unchanged lines hidden ---