summaryrefslogtreecommitdiffstats
path: root/sys/dev/oce/oce_if.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/oce/oce_if.h')
-rw-r--r--sys/dev/oce/oce_if.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/dev/oce/oce_if.h b/sys/dev/oce/oce_if.h
index 87d57b4..3c9c728 100644
--- a/sys/dev/oce/oce_if.h
+++ b/sys/dev/oce/oce_if.h
@@ -882,8 +882,8 @@ typedef struct oce_softc {
uint8_t hw_error;
uint16_t qnq_debug_event;
uint16_t qnqid;
- uint16_t pvid;
- uint16_t max_vlans;
+ uint32_t pvid;
+ uint32_t max_vlans;
} OCE_SOFTC, *POCE_SOFTC;
@@ -1055,7 +1055,7 @@ int oce_mbox_cq_create(struct oce_cq *cq, uint32_t ncoalesce,
int oce_mbox_read_transrecv_data(POCE_SOFTC sc, uint32_t page_num);
void oce_mbox_eqd_modify_periodic(POCE_SOFTC sc, struct oce_set_eqd *set_eqd,
int num);
-int oce_get_profile_config(POCE_SOFTC sc);
+int oce_get_profile_config(POCE_SOFTC sc, uint32_t max_rss);
int oce_get_func_config(POCE_SOFTC sc);
void mbx_common_req_hdr_init(struct mbx_hdr *hdr,
uint8_t dom,
@@ -1099,6 +1099,9 @@ extern uint32_t oce_max_rsp_handled; /* max responses */
#define OCE_ONE_PORT_EXT_LOOPBACK 0x2
#define OCE_NO_LOOPBACK 0xff
+#undef IFM_40G_SR4
+#define IFM_40G_SR4 28
+
#define atomic_inc_32(x) atomic_add_32(x, 1)
#define atomic_dec_32(x) atomic_subtract_32(x, 1)
OpenPOWER on IntegriCloud