Lines Matching defs:oce_softc

790 typedef struct oce_softc {  struct
791 device_t dev;
792 OCE_LOCK dev_lock;
794 uint32_t flags;
796 uint32_t pcie_link_speed;
797 uint32_t pcie_link_width;
799 uint8_t fn; /* PCI function number */
801 struct resource *devcfg_res;
802 bus_space_tag_t devcfg_btag;
803 bus_space_handle_t devcfg_bhandle;
804 void *devcfg_vhandle;
806 struct resource *csr_res;
807 bus_space_tag_t csr_btag;
808 bus_space_handle_t csr_bhandle;
809 void *csr_vhandle;
811 struct resource *db_res;
812 bus_space_tag_t db_btag;
813 bus_space_handle_t db_bhandle;
814 void *db_vhandle;
816 OCE_INTR_INFO intrs[OCE_MAX_EQ];
817 int intr_count;
818 int roce_intr_count;
820 if_t ifp;
822 struct ifmedia media;
823 uint8_t link_status;
824 uint8_t link_speed;
825 uint8_t duplex;
826 uint32_t qos_link_speed;
827 uint32_t speed;
828 uint32_t enable_hwlro;
830 char fw_version[32];
831 struct mac_address_format macaddr;
833 OCE_DMA_MEM bsmbx;
834 OCE_LOCK bmbx_lock;
836 uint32_t config_number;
837 uint32_t asic_revision;
838 uint32_t port_id;
839 uint32_t function_mode;
840 uint32_t function_caps;
841 uint32_t max_tx_rings;
842 uint32_t max_rx_rings;
844 struct oce_wq *wq[OCE_MAX_WQ]; /* TX work queues */
845 struct oce_rq *rq[OCE_MAX_RQ]; /* RX work queues */
846 struct oce_cq *cq[OCE_MAX_CQ]; /* Completion queues */
847 struct oce_eq *eq[OCE_MAX_EQ]; /* Event queues */
848 struct oce_mq *mq; /* Mailbox queue */
850 uint32_t neqs;
851 uint32_t ncqs;
852 uint32_t nrqs;
853 uint32_t nwqs;
854 uint32_t nrssqs;
856 uint32_t tx_ring_size;
857 uint32_t rx_ring_size;
858 uint32_t rq_frag_size;
860 uint32_t if_id; /* interface ID */
861 uint32_t nifs; /* number of adapter interfaces, 0 or 1 */
862 uint32_t pmac_id; /* PMAC id */
864 uint32_t if_cap_flags;
866 uint32_t flow_control;
890 struct oce_softc *next; argument