Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/liquidio/lio_network.h
| Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Lines | #define LIO_DEFAULT_STATS_INTERVAL 10000 | ||||
| struct lio_stailq_head *ghead; | struct lio_stailq_head *ghead; | ||||
| void **glists_virt_base; | void **glists_virt_base; | ||||
| vm_paddr_t *glists_dma_base; | vm_paddr_t *glists_dma_base; | ||||
| uint32_t glist_entry_size; | uint32_t glist_entry_size; | ||||
| /* Pointer to the octeon device structure. */ | /* Pointer to the octeon device structure. */ | ||||
| struct octeon_device *oct_dev; | struct octeon_device *oct_dev; | ||||
| struct ifnet *ifp; | if_t ifp; | ||||
| struct ifmedia ifmedia; | struct ifmedia ifmedia; | ||||
| int if_flags; | int if_flags; | ||||
| /* Link information sent by the core application for this interface. */ | /* Link information sent by the core application for this interface. */ | ||||
| struct octeon_link_info linfo; | struct octeon_link_info linfo; | ||||
| /* counter of link changes */ | /* counter of link changes */ | ||||
| uint64_t link_changes; | uint64_t link_changes; | ||||
| Show All 27 Lines | |||||
| #define LIO_MAX_CORES 12 | #define LIO_MAX_CORES 12 | ||||
| /* | /* | ||||
| * \brief Enable or disable feature | * \brief Enable or disable feature | ||||
| * @param ifp pointer to network device | * @param ifp pointer to network device | ||||
| * @param cmd Command that just requires acknowledgment | * @param cmd Command that just requires acknowledgment | ||||
| * @param param1 Parameter to command | * @param param1 Parameter to command | ||||
| */ | */ | ||||
| int lio_set_feature(struct ifnet *ifp, int cmd, uint16_t param1); | int lio_set_feature(if_t ifp, int cmd, uint16_t param1); | ||||
| /* | /* | ||||
| * \brief Link control command completion callback | * \brief Link control command completion callback | ||||
| * @param nctrl_ptr pointer to control packet structure | * @param nctrl_ptr pointer to control packet structure | ||||
| * | * | ||||
| * This routine is called by the callback function when a ctrl pkt sent to | * This routine is called by the callback function when a ctrl pkt sent to | ||||
| * core app completes. The nctrl_ptr contains a copy of the command type | * core app completes. The nctrl_ptr contains a copy of the command type | ||||
| * and data sent to the core app. This routine is only called if the ctrl | * and data sent to the core app. This routine is only called if the ctrl | ||||
| ▲ Show 20 Lines • Show All 143 Lines • Show Last 20 Lines | |||||