.. | .. |
---|
64 | 64 | #define BNXT_EN_FLAG_ROCE_CAP (BNXT_EN_FLAG_ROCEV1_CAP | \ |
---|
65 | 65 | BNXT_EN_FLAG_ROCEV2_CAP) |
---|
66 | 66 | #define BNXT_EN_FLAG_MSIX_REQUESTED 0x4 |
---|
| 67 | + #define BNXT_EN_FLAG_ULP_STOPPED 0x8 |
---|
67 | 68 | const struct bnxt_en_ops *en_ops; |
---|
68 | 69 | struct bnxt_ulp ulp_tbl[BNXT_MAX_ULP]; |
---|
| 70 | + int l2_db_size; /* Doorbell BAR size in |
---|
| 71 | + * bytes mapped by L2 |
---|
| 72 | + * driver. |
---|
| 73 | + */ |
---|
| 74 | + int l2_db_size_nc; /* Doorbell BAR size in |
---|
| 75 | + * bytes mapped as non- |
---|
| 76 | + * cacheable. |
---|
| 77 | + */ |
---|
69 | 78 | }; |
---|
70 | 79 | |
---|
71 | 80 | struct bnxt_en_ops { |
---|
.. | .. |
---|
90 | 99 | |
---|
91 | 100 | int bnxt_get_ulp_msix_num(struct bnxt *bp); |
---|
92 | 101 | int bnxt_get_ulp_msix_base(struct bnxt *bp); |
---|
| 102 | +int bnxt_get_ulp_stat_ctxs(struct bnxt *bp); |
---|
93 | 103 | void bnxt_ulp_stop(struct bnxt *bp); |
---|
94 | | -void bnxt_ulp_start(struct bnxt *bp); |
---|
| 104 | +void bnxt_ulp_start(struct bnxt *bp, int err); |
---|
95 | 105 | void bnxt_ulp_sriov_cfg(struct bnxt *bp, int num_vfs); |
---|
96 | 106 | void bnxt_ulp_shutdown(struct bnxt *bp); |
---|
97 | 107 | void bnxt_ulp_irq_stop(struct bnxt *bp); |
---|