git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/bnxt: fix Rx queue state on start
[dpdk.git]
/
drivers
/
net
/
bnxt
/
bnxt_irq.h
diff --git
a/drivers/net/bnxt/bnxt_irq.h
b/drivers/net/bnxt/bnxt_irq.h
index
460a97a
..
53d9198
100644
(file)
--- a/
drivers/net/bnxt/bnxt_irq.h
+++ b/
drivers/net/bnxt/bnxt_irq.h
@@
-1,17
+1,14
@@
/* SPDX-License-Identifier: BSD-3-Clause
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-20
18
Broadcom
+ * Copyright(c) 2014-20
21
Broadcom
* All rights reserved.
*/
#ifndef _BNXT_IRQ_H_
#define _BNXT_IRQ_H_
* All rights reserved.
*/
#ifndef _BNXT_IRQ_H_
#define _BNXT_IRQ_H_
-#define BNXT_MISC_VEC_ID RTE_INTR_VEC_ZERO_OFFSET
-#define BNXT_RX_VEC_START RTE_INTR_VEC_RXTX_OFFSET
-
struct bnxt_irq {
rte_intr_callback_fn handler;
struct bnxt_irq {
rte_intr_callback_fn handler;
- unsigned int vector;
+ unsigned int vector
_idx
;
uint8_t requested;
char name[RTE_ETH_NAME_MAX_LEN + 2];
};
uint8_t requested;
char name[RTE_ETH_NAME_MAX_LEN + 2];
};
@@
-22,5
+19,6
@@
void bnxt_disable_int(struct bnxt *bp);
void bnxt_enable_int(struct bnxt *bp);
int bnxt_setup_int(struct bnxt *bp);
int bnxt_request_int(struct bnxt *bp);
void bnxt_enable_int(struct bnxt *bp);
int bnxt_setup_int(struct bnxt *bp);
int bnxt_request_int(struct bnxt *bp);
+void bnxt_int_handler(void *param);
#endif
#endif