Lines Matching defs:dpaa2_ni_softc
450 struct dpaa2_ni_softc { struct
451 device_t dev;
452 struct resource *res[DPAA2_NI_MAX_RESOURCES];
453 uint16_t api_major;
454 uint16_t api_minor;
455 uint64_t rx_hash_fields;
456 uint16_t tx_data_off;
457 uint16_t tx_qdid;
458 uint32_t link_options;
459 int link_state;
461 uint16_t buf_align;
462 uint16_t buf_sz;
464 uint64_t rx_anomaly_frames;
465 uint64_t rx_single_buf_frames;
466 uint64_t rx_sg_buf_frames;
467 uint64_t rx_enq_rej_frames;
468 uint64_t rx_ieoi_err_frames;
469 uint64_t tx_single_buf_frames;
470 uint64_t tx_sg_frames;
472 struct dpaa2_ni_attr attr;
474 struct ifnet *ifp;
475 uint32_t if_flags;
476 struct mtx lock;
477 device_t miibus;
478 struct mii_data *mii;
479 bool fixed_link;
480 struct ifmedia fixed_ifmedia;
481 int media_status;
483 bus_dma_tag_t rxd_dmat; /* for Rx distribution key */
484 bus_dma_tag_t qos_dmat; /* for QoS table key */
486 struct dpaa2_buf qos_kcfg; /* QoS table key config */
487 struct dpaa2_buf rxd_kcfg; /* Rx distribution key config */
489 uint32_t chan_n;
490 struct dpaa2_channel *channels[DPAA2_MAX_CHANNELS];
491 struct dpaa2_ni_fq rxe_queue; /* one per DPNI */
493 struct dpaa2_atomic buf_num;
494 struct dpaa2_atomic buf_free; /* for sysctl(9) only */
496 int irq_rid[DPAA2_NI_MSI_COUNT];
497 struct resource *irq_res;
498 void *intr;
500 struct taskqueue *bp_taskq;
502 struct callout mii_callout;
504 struct {
509 } mac; /* Info about connected DPMAC (if exists) */