id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
octeon_mbox_process_cmd(9) | NAME octeon_mbox_process_cmd -
SYNOPSIS int octeon_mbox_process_cmd (struct octeon_mbox *mbox , struct octeon_mbox_cmd *mbox_cmd );
ARGUMENTS mbox Pointer mailbox
mbox_cmd Pointer to command received
DESCRIPTION Process the cmd received in mbox
SEE ALSO Kernel file ./drivers/net/ethernet/cavium/li... |
octeon_mbox_process_message(9) | NAME octeon_mbox_process_message -
SYNOPSIS int octeon_mbox_process_message (struct octeon_mbox *mbox );
ARGUMENTS mbox mailbox
DESCRIPTION Process the received mbox message.
SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c octeon_mbox_read(9), octeon_mbox_write(9), octeon_mbox_pr... |
octeon_mbox_read(9) | NAME octeon_mbox_read -
SYNOPSIS int octeon_mbox_read (struct octeon_mbox *mbox );
ARGUMENTS mbox Pointer mailbox
DESCRIPTION Reads the 8-bytes of data from the mbox register Writes back the acknowldgement inidcating completion of read
SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/octeon_mailbo... |
octeon_mbox_write(9) | NAME octeon_mbox_write -
SYNOPSIS int octeon_mbox_write (struct octeon_device *oct , struct octeon_mbox_cmd *mbox_cmd );
ARGUMENTS oct Pointer Octeon Device
mbox_cmd Cmd to send to mailbox.
DESCRIPTION Populates the queue specific mbox structure with cmd information. Write the cmd to mbox registe... |
octeon_pci_flr(9) | NAME octeon_pci_flr - PCI FLR for each Octeon device.
SYNOPSIS void octeon_pci_flr (struct octeon_device *oct );
ARGUMENTS oct octeon device
SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_vf_main.c pcierror_quiesce_device(9), cleanup_aer_uncorrect_error_status(9), stop_pci_io(9), liquidi... |
octeon_pci_os_setup(9) | NAME octeon_pci_os_setup - PCI initialization for each Octeon device.
SYNOPSIS int octeon_pci_os_setup (struct octeon_device *oct );
ARGUMENTS oct octeon device
SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_vf_main.c pcierror_quiesce_device(9), cleanup_aer_uncorrect_error_status(9), sto... |
octeon_restart(9) | NAME octeon_restart - Reboot Octeon
SYNOPSIS void octeon_restart (char *command );
ARGUMENTS command Command to pass to the bootloader. Currently ignored.
SEE ALSO Kernel file ./arch/mips/cavium-octeon/setup.c octeon_is_simulation(9), octeon_is_pci_host(9), octeon_get_clock_rate(9), octeon_write_lcd(9), octeon_... |
octeon_setup_droq(9) | NAME octeon_setup_droq - Setup output queue
SYNOPSIS int octeon_setup_droq (struct octeon_device *oct , int q_no , int num_descs , int desc_size , void *app_ctx );
ARGUMENTS oct octeon device
q_no which queue
num_descs how many descriptors
desc_size size of each descriptor
... |
octeon_setup_interrupt(9) | NAME octeon_setup_interrupt - Setup interrupt for octeon device
SYNOPSIS int octeon_setup_interrupt (struct octeon_device *oct , u32 num_ioqs );
ARGUMENTS oct octeon device
num_ioqs number of queues
DESCRIPTION Enable interrupt in Octeon device as given in the PCI interrupt mask.
SEE ALSO Kernel ... |
octeon_unmap_urb_for_dma(9) | NAME octeon_unmap_urb_for_dma - Octeon-specific unmap_urb_for_dma()
SYNOPSIS void octeon_unmap_urb_for_dma (struct usb_hcd *hcd , struct urb *urb );
ARGUMENTS hcd USB HCD structure.
urb URB.
SEE ALSO Kernel file ./drivers/usb/host/octeon-hcd.c enum cvmx_usb_speed(9), enum cvmx_usb_trans... |
octeon_wdt_cleanup(9) | NAME octeon_wdt_cleanup - Module / driver shutdown
SYNOPSIS void octeon_wdt_cleanup (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./drivers/watchdog/octeon-wdt-main.c octeon_wdt_poke_irq(9), octeon_wdt_write_string(9), octeon_wdt_write_hex(9), octeon_wdt_nmi_stage3(9), octeon_wdt_init(9)
April 20... |
octeon_wdt_init(9) | NAME octeon_wdt_init - Module/ driver initialization.
SYNOPSIS int octeon_wdt_init (void );
ARGUMENTS void no arguments
DESCRIPTION Returns Zero on success
SEE ALSO Kernel file ./drivers/watchdog/octeon-wdt-main.c octeon_wdt_poke_irq(9), octeon_wdt_write_string(9), octeon_wdt_write_hex(9), octeon_wdt_nmi_sta... |
octeon_wdt_nmi_stage3(9) | NAME octeon_wdt_nmi_stage3 -
SYNOPSIS void octeon_wdt_nmi_stage3 (u64 reg[32] );
ARGUMENTS reg Pointer to register state before the NMI
DESCRIPTION NMI stage 3 handler. NMIs are handled in the following manner: 1) The first NMI handler enables CVMSEG and transfers from the bootbus region into normal memor... |
octeon_wdt_poke_irq(9) | NAME octeon_wdt_poke_irq - Poke the watchdog when an interrupt is received
SYNOPSIS irqreturn_t octeon_wdt_poke_irq (int cpl , void *dev_id );
ARGUMENTS cpl
dev_id
DESCRIPTION Returns
SEE ALSO Kernel file ./drivers/watchdog/octeon-wdt-main.c octeon_wdt_write_string(9), octeon_wdt_write_hex(9), octeon_wdt_nm... |
octeon_wdt_write_hex(9) | NAME octeon_wdt_write_hex - Write a hex number out of the uart
SYNOPSIS void octeon_wdt_write_hex (u64 value , int digits );
ARGUMENTS value Number to display
digits Number of digits to print (1 to 16)
SEE ALSO Kernel file ./drivers/watchdog/octeon-wdt-main.c octeon_wdt_poke_irq(9), octeon_wdt_wri... |
octeon_wdt_write_string(9) | NAME octeon_wdt_write_string - Write a string to the uart
SYNOPSIS void octeon_wdt_write_string (const char *str );
ARGUMENTS str String to write
SEE ALSO Kernel file ./drivers/watchdog/octeon-wdt-main.c octeon_wdt_poke_irq(9), octeon_wdt_write_hex(9), octeon_wdt_nmi_stage3(9), octeon_wdt_init(9), octeon_wdt... |
octeon_write_lcd(9) | NAME octeon_write_lcd - Write to the LCD display connected to the bootbus.
SYNOPSIS void octeon_write_lcd (const char *s );
ARGUMENTS s String to write
DESCRIPTION This display exists on most Cavium evaluation boards. If it doesn't exist, then this function doesn't do anything.
SEE ALSO Kernel file ./ar... |
octep_alloc_ioq_vectors(9) | NAME octep_alloc_ioq_vectors - Allocate Tx/Rx Queue interrupt info.
SYNOPSIS int octep_alloc_ioq_vectors (struct octep_device *oct );
ARGUMENTS oct Octeon device private data structure.
DESCRIPTION Allocate resources to hold per Tx/Rx queue interrupt info. This is the information passed to interrupt handle... |
octep_clean_iqs(9) | NAME octep_clean_iqs - Clean Tx queues to shutdown the device.
SYNOPSIS void octep_clean_iqs (struct octep_device *oct );
ARGUMENTS oct Octeon device private data structure.
DESCRIPTION Free the buffers in Tx queue descriptors pending completion and reset queue indices
SEE ALSO Kernel file ./drivers/net/eth... |
octep_clean_irqs(9) | NAME octep_clean_irqs - free all interrupts and its resources.
SYNOPSIS void octep_clean_irqs (struct octep_device *oct );
ARGUMENTS oct Octeon device private data structure.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/octep_main.c octep_alloc_ioq_vectors(9), octep_free_ioq_vectors(9)... |
octep_ctrl_mbox_task(9) | NAME octep_ctrl_mbox_task - work queue task to handle ctrl mbox messages.
SYNOPSIS void octep_ctrl_mbox_task (struct work_struct *work );
ARGUMENTS work pointer to ctrl mbox work_struct
DESCRIPTION Poll ctrl mbox message queue and handle control messages from firmware.
SEE ALSO Kernel file ./drivers/net/et... |
octep_ctrl_net_dev_remove(9) | NAME octep_ctrl_net_dev_remove - Indicate to firmware that a device unload has happened.
SYNOPSIS int octep_ctrl_net_dev_remove (struct octep_device *oct , int vfid );
ARGUMENTS oct non-null pointer to struct octep_device.
vfid Index of virtual function.
DESCRIPTION return value: 0 on success,... |
octep_ctrl_net_get_if_stats(9) | NAME octep_ctrl_net_get_if_stats - Get interface statistics from firmware.
SYNOPSIS int octep_ctrl_net_get_if_stats (struct octep_device *oct , int vfid , struct octep_iface_rx_stats *rx_stats , struct octep_iface_tx_stats *tx_stats );
ARGUMENTS oct non-null pointer to struct octep_device.
vfid ... |
octep_ctrl_net_get_info(9) | NAME octep_ctrl_net_get_info - Get info from firmware.
SYNOPSIS int octep_ctrl_net_get_info (struct octep_device *oct , int vfid , struct octep_fw_info *info );
ARGUMENTS oct non-null pointer to struct octep_device.
vfid Index of virtual function.
info non-null pointer to struct ... |
octep_ctrl_net_get_link_info(9) | NAME octep_ctrl_net_get_link_info - Get link info from firmware.
SYNOPSIS int octep_ctrl_net_get_link_info (struct octep_device *oct , int vfid , struct octep_iface_link_info *link_info );
ARGUMENTS oct non-null pointer to struct octep_device.
vfid Index of virtual function.
link_info ... |
octep_ctrl_net_get_link_status(9) | NAME octep_ctrl_net_get_link_status - Get link status from firmware.
SYNOPSIS int octep_ctrl_net_get_link_status (struct octep_device *oct , int vfid );
ARGUMENTS oct non-null pointer to struct octep_device.
vfid Index of virtual function.
DESCRIPTION return value: link status 0=down, 1=up.
S... |
octep_ctrl_net_get_mac_addr(9) | NAME octep_ctrl_net_get_mac_addr - Get mac address from firmware.
SYNOPSIS int octep_ctrl_net_get_mac_addr (struct octep_device *oct , int vfid , u8 *addr );
ARGUMENTS oct non-null pointer to struct octep_device.
vfid Index of virtual function.
addr non-null pointer to mac addres... |
octep_ctrl_net_get_mtu(9) | NAME octep_ctrl_net_get_mtu - Get max MTU from firmware.
SYNOPSIS int octep_ctrl_net_get_mtu (struct octep_device *oct , int vfid );
ARGUMENTS oct non-null pointer to struct octep_device.
vfid Index of virtual function.
DESCRIPTION return value: mtu on success, -errno on failure.
SEE ALSO Ker... |
octep_ctrl_net_init(9) | NAME octep_ctrl_net_init - Initialize data for ctrl net.
SYNOPSIS int octep_ctrl_net_init (struct octep_device *oct );
ARGUMENTS oct non-null pointer to struct octep_device.
DESCRIPTION return value: 0 on success, -errno on error.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/octep_ctr... |
octep_ctrl_net_recv_fw_messages(9) | NAME octep_ctrl_net_recv_fw_messages - Poll for firmware messages and process them.
SYNOPSIS void octep_ctrl_net_recv_fw_messages (struct octep_device *oct );
ARGUMENTS oct non-null pointer to struct octep_device.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/octep_ctrl_net.h oc... |
octep_ctrl_net_set_link_info(9) | NAME octep_ctrl_net_set_link_info - Set link info in firmware.
SYNOPSIS int octep_ctrl_net_set_link_info (struct octep_device *oct , int vfid , struct octep_iface_link_info *link_info , bool wait_for_response );
ARGUMENTS oct non-null pointer to struct octep_device.
vfid Index of virtual functi... |
octep_ctrl_net_set_link_status(9) | NAME octep_ctrl_net_set_link_status - Set link status in firmware.
SYNOPSIS int octep_ctrl_net_set_link_status (struct octep_device *oct , int vfid , bool up , bool wait_for_response );
ARGUMENTS oct non-null pointer to struct octep_device.
vfid Index of virtual function.
up bo... |
octep_ctrl_net_set_mac_addr(9) | NAME octep_ctrl_net_set_mac_addr - Set mac address in firmware.
SYNOPSIS int octep_ctrl_net_set_mac_addr (struct octep_device *oct , int vfid , u8 *addr , bool wait_for_response );
ARGUMENTS oct non-null pointer to struct octep_device.
vfid Index of virtual function.
addr non-nul... |
octep_ctrl_net_set_mtu(9) | NAME octep_ctrl_net_set_mtu - Set mtu in firmware.
SYNOPSIS int octep_ctrl_net_set_mtu (struct octep_device *oct , int vfid , int mtu , bool wait_for_response );
ARGUMENTS oct non-null pointer to struct octep_device.
vfid Index of virtual function.
mtu mtu.
wait_for_resp... |
octep_ctrl_net_set_offloads(9) | NAME octep_ctrl_net_set_offloads - Set offloads in firmware.
SYNOPSIS int octep_ctrl_net_set_offloads (struct octep_device *oct , int vfid , struct octep_ctrl_net_offloads *offloads , bool wait_for_response );
ARGUMENTS oct non-null pointer to struct octep_device.
vfid Index of virtual function... |
octep_ctrl_net_set_rx_state(9) | NAME octep_ctrl_net_set_rx_state - Set rx state in firmware.
SYNOPSIS int octep_ctrl_net_set_rx_state (struct octep_device *oct , int vfid , bool up , bool wait_for_response );
ARGUMENTS oct non-null pointer to struct octep_device.
vfid Index of virtual function.
up boolean sta... |
octep_ctrl_net_uninit(9) | NAME octep_ctrl_net_uninit - Uninitialize data for ctrl net.
SYNOPSIS int octep_ctrl_net_uninit (struct octep_device *oct );
ARGUMENTS oct non-null pointer to struct octep_device.
DESCRIPTION return value: 0 on success, -errno on error.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep... |
octep_device_cleanup(9) | NAME octep_device_cleanup - Cleanup Octeon Device.
SYNOPSIS void octep_device_cleanup (struct octep_device *oct );
ARGUMENTS oct Octeon device private data structure.
DESCRIPTION Cleanup Octeon device allocated resources.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/octep_main.c octep_all... |
octep_device_setup(9) | NAME octep_device_setup - Setup Octeon Device.
SYNOPSIS int octep_device_setup (struct octep_device *oct );
ARGUMENTS oct Octeon device private data structure.
DESCRIPTION Setup Octeon device hardware operations, configuration, etc ...
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/octep_ma... |
octep_device_setup_cn93_pf(9) | NAME octep_device_setup_cn93_pf - Setup Octeon device.
SYNOPSIS void octep_device_setup_cn93_pf (struct octep_device *oct );
ARGUMENTS oct Octeon device private data structure.
DESCRIPTION - initialize hardware operations. - get target side pcie port number for the device. - setup window access to hardware... |
octep_device_setup_cnxk_pf(9) | NAME octep_device_setup_cnxk_pf - Setup Octeon device.
SYNOPSIS void octep_device_setup_cnxk_pf (struct octep_device *oct );
ARGUMENTS oct Octeon device private data structure.
DESCRIPTION - initialize hardware operations. - get target side pcie port number for the device. - setup window access to hardware... |
octep_disable_msix(9) | NAME octep_disable_msix - disable MSI-x interrupts.
SYNOPSIS void octep_disable_msix (struct octep_device *oct );
ARGUMENTS oct Octeon device private data structure.
DESCRIPTION Disable MSI-x on the Octeon device.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/octep_main.c octep_allo... |
octep_dma_intr_handler(9) | NAME octep_dma_intr_handler - common handler for dpi dma related interrupts.
SYNOPSIS irqreturn_t octep_dma_intr_handler (int irq , void *data );
ARGUMENTS irq Interrupt number.
data interrupt data.
DESCRIPTION this is common handler for dpi dma related interrupts.
SEE ALSO Kernel file ./dr... |
octep_dma_vf_intr_handler(9) | NAME octep_dma_vf_intr_handler - common handler for dpi dma transaction error interrupts for VFs.
SYNOPSIS irqreturn_t octep_dma_vf_intr_handler (int irq , void *data );
ARGUMENTS irq Interrupt number.
data interrupt data.
DESCRIPTION this is common handler for dpi dma transaction error interr... |
octep_enable_ioq_irq(9) | NAME octep_enable_ioq_irq - Enable MSI-x interrupt of a Tx/Rx queue.
SYNOPSIS void octep_enable_ioq_irq (struct octep_iq *iq , struct octep_oq *oq );
ARGUMENTS iq Octeon Tx queue data structure.
oq Octeon Rx queue data structure.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_... |
octep_enable_msix_range(9) | NAME octep_enable_msix_range - enable MSI-x interrupts.
SYNOPSIS int octep_enable_msix_range (struct octep_device *oct );
ARGUMENTS oct Octeon device private data structure.
DESCRIPTION Allocate and enable all MSI-x interrupts (queue and non-queue interrupts) for the Octeon device.
RETURN 0, on successfully... |
octep_exit_module(9) | NAME octep_exit_module - Module exit routine.
SYNOPSIS void octep_exit_module (void );
ARGUMENTS void no arguments
DESCRIPTION unregister the driver with PCI subsystem and cleanup common resources.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/octep_main.c octep_alloc_ioq_vectors(9), octep_... |
octep_free_ioq_vectors(9) | NAME octep_free_ioq_vectors - Free Tx/Rx Queue interrupt vector info.
SYNOPSIS void octep_free_ioq_vectors (struct octep_device *oct );
ARGUMENTS oct Octeon device private data structure.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/octep_main.c octep_alloc_ioq_vectors(9), octep_enable_msi... |
octep_free_iq(9) | NAME octep_free_iq - Free Tx queue resources.
SYNOPSIS void octep_free_iq (struct octep_iq *iq );
ARGUMENTS iq Octeon Tx queue data structure.
DESCRIPTION Free all the resources allocated for a Tx queue.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/octep_tx.c octep_iq_process_completions(9... |
octep_free_iqs(9) | NAME octep_free_iqs - Free resources of all Tx queues.
SYNOPSIS void octep_free_iqs (struct octep_device *oct );
ARGUMENTS oct Octeon device private data structure.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/octep_tx.c octep_iq_process_completions(9), octep_iq_free_pending(9), octep_clean_... |
octep_free_irqs(9) | NAME octep_free_irqs - free all registered interrupts.
SYNOPSIS void octep_free_irqs (struct octep_device *oct );
ARGUMENTS oct Octeon device private data structure.
DESCRIPTION Free all queue and non-queue interrupts of the Octeon device.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/octe... |
octep_free_oq(9) | NAME octep_free_oq - Free Rx queue resources.
SYNOPSIS int octep_free_oq (struct octep_oq *oq );
ARGUMENTS oq Octeon Rx queue data structure.
DESCRIPTION Free all resources of a Rx queue.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/octep_rx.c octep_oq_fill_ring_buffers(9), octep_o... |
octep_free_oqs(9) | NAME octep_free_oqs - Free resources of all Rx queues.
SYNOPSIS void octep_free_oqs (struct octep_device *oct );
ARGUMENTS oct Octeon device private data structure.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/octep_rx.c octep_oq_fill_ring_buffers(9), octep_oq_refill(9), octep_s... |
octep_get_stats64(9) | NAME octep_get_stats64 - Get Octeon network device statistics.
SYNOPSIS void octep_get_stats64 (struct net_device *netdev , struct rtnl_link_stats64 *stats );
ARGUMENTS netdev kernel network device.
stats pointer to stats structure to be filled in.
SEE ALSO Kernel file ./drivers/net/ethernet/mar... |
octep_hb_timeout_task(9) | NAME octep_hb_timeout_task - work queue task to check firmware heartbeat.
SYNOPSIS void octep_hb_timeout_task (struct work_struct *work );
ARGUMENTS work pointer to hb work_struct
DESCRIPTION Check for heartbeat miss count. Uninitialize oct device if miss count exceeds configured max heartbeat miss count.
SE... |
octep_init_module(9) | NAME octep_init_module - Module initialiation.
SYNOPSIS int octep_init_module (void );
ARGUMENTS void no arguments
DESCRIPTION create common resource for the driver and register PCI driver.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/octep_main.c octep_alloc_ioq_vectors(9), octep_free_ioq... |
octep_intr_poll_task(9) | NAME octep_intr_poll_task - work queue task to process non-ioq interrupts.
SYNOPSIS void octep_intr_poll_task (struct work_struct *work );
ARGUMENTS work pointer to mbox work_struct
DESCRIPTION Process non-ioq interrupts to handle control mailbox, pfvf mailbox.
SEE ALSO Kernel file ./drivers/net/ethernet... |
octep_ioq_intr_handler(9) | NAME octep_ioq_intr_handler - handler for all Tx/Rx queue interrupts.
SYNOPSIS irqreturn_t octep_ioq_intr_handler (int irq , void *data );
ARGUMENTS irq Interrupt number.
data interrupt data contains pointers to Tx/Rx queue private data and correspong NAPI context.
DESCRIPTION this is common h... |
octep_iq_free_pending(9) | NAME octep_iq_free_pending - Free Tx buffers for pending completions.
SYNOPSIS void octep_iq_free_pending (struct octep_iq *iq );
ARGUMENTS iq Octeon Tx queue data structure.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/octep_tx.c octep_iq_process_completions(9), octep_clean_iqs(9), octep_s... |
octep_iq_full_check(9) | NAME octep_iq_full_check - check if a Tx queue is full.
SYNOPSIS int octep_iq_full_check (struct octep_iq *iq );
ARGUMENTS iq Octeon Tx queue data structure.
RETURN 0, if the Tx queue is not full. 1, if the Tx queue is full.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/octep_main.c octe... |
octep_iq_process_completions(9) | NAME octep_iq_process_completions - Process Tx queue completions.
SYNOPSIS int octep_iq_process_completions (struct octep_iq *iq , u16 budget );
ARGUMENTS iq Octeon Tx queue data structure.
budget max number of completions to be processed in one invocation.
SEE ALSO Kernel file ./drivers/net/et... |
octep_ire_intr_handler(9) | NAME octep_ire_intr_handler - common handler for input ring error interrupts.
SYNOPSIS irqreturn_t octep_ire_intr_handler (int irq , void *data );
ARGUMENTS irq Interrupt number.
data interrupt data.
DESCRIPTION this is common handler for input ring error interrupts.
SEE ALSO Kernel file ./... |
octep_mbox_intr_handler(9) | NAME octep_mbox_intr_handler - common handler for pfvf mbox interrupts.
SYNOPSIS irqreturn_t octep_mbox_intr_handler (int irq , void *data );
ARGUMENTS irq Interrupt number.
data interrupt data.
DESCRIPTION this is common handler for pfvf mbox interrupts.
SEE ALSO Kernel file ./drivers/net/... |
octep_misc_intr_handler(9) | NAME octep_misc_intr_handler - common handler for mac related interrupts.
SYNOPSIS irqreturn_t octep_misc_intr_handler (int irq , void *data );
ARGUMENTS irq Interrupt number.
data interrupt data.
DESCRIPTION this is common handler for mac related interrupts.
SEE ALSO Kernel file ./drivers/... |
octep_napi_add(9) | NAME octep_napi_add - Add NAPI poll for all Tx/Rx queues.
SYNOPSIS void octep_napi_add (struct octep_device *oct );
ARGUMENTS oct Octeon device private data structure.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/octep_main.c octep_alloc_ioq_vectors(9), octep_free_ioq_vectors(9), octep_ena... |
octep_napi_delete(9) | NAME octep_napi_delete - delete NAPI poll callback for all Tx/Rx queues.
SYNOPSIS void octep_napi_delete (struct octep_device *oct );
ARGUMENTS oct Octeon device private data structure.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/octep_main.c octep_alloc_ioq_vectors(9), octep_free_ioq_vec... |
octep_napi_disable(9) | NAME octep_napi_disable - disable NAPI for all Tx/Rx queues.
SYNOPSIS void octep_napi_disable (struct octep_device *oct );
ARGUMENTS oct Octeon device private data structure.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/octep_main.c octep_alloc_ioq_vectors(9), octep_free_ioq_vectors(9), oc... |
octep_napi_enable(9) | NAME octep_napi_enable - enable NAPI for all Tx/Rx queues.
SYNOPSIS void octep_napi_enable (struct octep_device *oct );
ARGUMENTS oct Octeon device private data structure.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/octep_main.c octep_alloc_ioq_vectors(9), octep_free_ioq_vectors(9), octep... |
octep_napi_poll(9) | NAME octep_napi_poll - NAPI poll function for Tx/Rx.
SYNOPSIS int octep_napi_poll (struct napi_struct *napi , int budget );
ARGUMENTS napi pointer to napi context.
budget max number of packets to be processed in single invocation.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/oc... |
octep_oei_intr_handler(9) | NAME octep_oei_intr_handler - common handler for output endpoint interrupts.
SYNOPSIS irqreturn_t octep_oei_intr_handler (int irq , void *data );
ARGUMENTS irq Interrupt number.
data interrupt data.
DESCRIPTION this is common handler for all output endpoint interrupts.
SEE ALSO Kernel file ... |
octep_open(9) | NAME octep_open - start the octeon network device.
SYNOPSIS int octep_open (struct net_device *netdev );
ARGUMENTS netdev pointer to kernel network device.
DESCRIPTION setup Tx/Rx queues, interrupts and enable hardware operation of Tx/Rx queues and interrupts..
RETURN 0, on successfully setting up device and b... |
octep_oq_check_hw_for_pkts(9) | NAME octep_oq_check_hw_for_pkts - Check for new Rx packets.
SYNOPSIS int octep_oq_check_hw_for_pkts (struct octep_device *oct , struct octep_oq *oq );
ARGUMENTS oct Octeon device private data structure.
oq Octeon Rx queue data structure.
RETURN packets received after previous check.
SEE ALS... |
octep_oq_dbell_init(9) | NAME octep_oq_dbell_init - Initialize Rx queue doorbell.
SYNOPSIS void octep_oq_dbell_init (struct octep_device *oct );
ARGUMENTS oct Octeon device private data structure.
DESCRIPTION Write number of descriptors to Rx queue doorbell register.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/oct... |
octep_oq_drop_rx(9) | NAME octep_oq_drop_rx - Free the resources associated with a packet.
SYNOPSIS void octep_oq_drop_rx (struct octep_oq *oq , struct octep_rx_buffer *buff_info , u32 *read_idx , u32 *desc_used );
ARGUMENTS oq Octeon Rx queue data structure.
buff_info Current packet buffer info.
read_idx Cur... |
octep_oq_fill_ring_buffers(9) | NAME octep_oq_fill_ring_buffers - fill initial receive buffers for Rx ring.
SYNOPSIS int octep_oq_fill_ring_buffers (struct octep_oq *oq );
ARGUMENTS oq Octeon Rx queue data structure.
RETURN 0, if successfully filled receive buffers for all descriptors. -1, if failed to allocate a buffer or failed to map ... |
octep_oq_free_ring_buffers(9) | NAME octep_oq_free_ring_buffers - Free ring buffers.
SYNOPSIS void octep_oq_free_ring_buffers (struct octep_oq *oq );
ARGUMENTS oq Octeon Rx queue data structure.
DESCRIPTION Free receive buffers in unused Rx queue descriptors.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/octep_rx.c oct... |
octep_oq_next_pkt(9) | NAME octep_oq_next_pkt - Move to the next packet in Rx queue.
SYNOPSIS void octep_oq_next_pkt (struct octep_oq *oq , struct octep_rx_buffer *buff_info , u32 *read_idx , u32 *desc_used );
ARGUMENTS oq Octeon Rx queue data structure.
buff_info Current packet buffer info.
read_idx Current p... |
octep_oq_process_rx(9) | NAME octep_oq_process_rx - Process Rx queue.
SYNOPSIS int octep_oq_process_rx (struct octep_oq *oq , int budget );
ARGUMENTS oq Octeon Rx queue data structure.
budget max number of packets can be processed in one invocation.
DESCRIPTION Check for newly received packets and process them. Keeps ... |
octep_oq_refill(9) | NAME octep_oq_refill - refill buffers for used Rx ring descriptors.
SYNOPSIS int octep_oq_refill (struct octep_device *oct , struct octep_oq *oq );
ARGUMENTS oct Octeon device private data structure.
oq Octeon Rx queue data structure.
RETURN number of descriptors successfully refilled with r... |
octep_ore_intr_handler(9) | NAME octep_ore_intr_handler - common handler for output ring error interrupts.
SYNOPSIS irqreturn_t octep_ore_intr_handler (int irq , void *data );
ARGUMENTS irq Interrupt number.
data interrupt data.
DESCRIPTION this is common handler for output ring error interrupts.
SEE ALSO Kernel file ... |
octep_pp_vf_intr_handler(9) | NAME octep_pp_vf_intr_handler - common handler for pp transaction error interrupts for VFs.
SYNOPSIS irqreturn_t octep_pp_vf_intr_handler (int irq , void *data );
ARGUMENTS irq Interrupt number.
data interrupt data.
DESCRIPTION this is common handler for pp transaction error interrupts for VFs... |
octep_probe(9) | NAME octep_probe - Octeon PCI device probe handler.
SYNOPSIS int octep_probe (struct pci_dev *pdev , const struct pci_device_id *ent );
ARGUMENTS pdev PCI device structure.
ent entry in Octeon PCI device ID table.
DESCRIPTION Initializes and enables the Octeon PCI device for network operations... |
octep_remove(9) | NAME octep_remove - Remove Octeon PCI device from driver control.
SYNOPSIS void octep_remove (struct pci_dev *pdev );
ARGUMENTS pdev PCI device structure of the Octeon device.
DESCRIPTION Cleanup all resources allocated for the Octeon device. Unregister from network device and disable the PCI device.
SEE AL... |
octep_request_irqs(9) | NAME octep_request_irqs - Register interrupt handlers.
SYNOPSIS int octep_request_irqs (struct octep_device *oct );
ARGUMENTS oct Octeon device private data structure.
DESCRIPTION Register handlers for all queue and non-queue interrupts.
RETURN 0, on successful registration of all interrupt handlers. -1, o... |
octep_rsvd_intr_handler(9) | NAME octep_rsvd_intr_handler - common handler for reserved interrupts (future use).
SYNOPSIS irqreturn_t octep_rsvd_intr_handler (int irq , void *data );
ARGUMENTS irq Interrupt number.
data interrupt data.
DESCRIPTION this is common handler for all reserved interrupts.
SEE ALSO Kernel file ... |
octep_setup_iq(9) | NAME octep_setup_iq - Setup a Tx queue.
SYNOPSIS int octep_setup_iq (struct octep_device *oct , int q_no );
ARGUMENTS oct Octeon device private data structure.
q_no Tx queue number to be setup.
DESCRIPTION Allocate resources for a Tx queue.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/... |
octep_setup_iqs(9) | NAME octep_setup_iqs - setup resources for all Tx queues.
SYNOPSIS int octep_setup_iqs (struct octep_device *oct );
ARGUMENTS oct Octeon device private data structure.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/octep_tx.c octep_iq_process_completions(9), octep_iq_free_pending(9), octep_cle... |
octep_setup_irqs(9) | NAME octep_setup_irqs - setup interrupts for the Octeon device.
SYNOPSIS int octep_setup_irqs (struct octep_device *oct );
ARGUMENTS oct Octeon device private data structure.
DESCRIPTION Allocate data structures to hold per interrupt information, allocate/enable MSI-x interrupt and register interrupt handler... |
octep_setup_oq(9) | NAME octep_setup_oq - Setup a Rx queue.
SYNOPSIS int octep_setup_oq (struct octep_device *oct , int q_no );
ARGUMENTS oct Octeon device private data structure.
q_no Rx queue number to be setup.
DESCRIPTION Allocate resources for a Rx queue.
SEE ALSO Kernel file ./drivers/net/ethernet/marv... |
octep_setup_oqs(9) | NAME octep_setup_oqs - setup resources for all Rx queues.
SYNOPSIS int octep_setup_oqs (struct octep_device *oct );
ARGUMENTS oct Octeon device private data structure.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/octep_rx.c octep_oq_fill_ring_buffers(9), octep_oq_refill(9), octep_s... |
octep_start_xmit(9) | NAME octep_start_xmit - Enqueue packet to Octoen hardware Tx Queue.
SYNOPSIS netdev_tx_t octep_start_xmit (struct sk_buff *skb , struct net_device *netdev );
ARGUMENTS skb packet skbuff pointer.
netdev kernel network device.
RETURN NETDEV_TX_BUSY, if Tx Queue is full. NETDEV_TX_OK, if successfu... |
octep_stop(9) | NAME octep_stop - stop the octeon network device.
SYNOPSIS int octep_stop (struct net_device *netdev );
ARGUMENTS netdev pointer to kernel network device.
DESCRIPTION stop the device Tx/Rx operations, bring down the link and free up all resources allocated for Tx/Rx queues and interrupts.
SEE ALSO Kernel file... |
octep_tx_timeout(9) | NAME octep_tx_timeout - Handle Tx Queue timeout.
SYNOPSIS void octep_tx_timeout (struct net_device *netdev , unsigned int txqueue );
ARGUMENTS netdev pointer to kernel network device.
txqueue Timed out Tx queue number.
DESCRIPTION Schedule a work to handle Tx queue timeout.
SEE ALSO Kernel file .... |
octep_tx_timeout_task(9) | NAME octep_tx_timeout_task - work queue task to Handle Tx queue timeout.
SYNOPSIS void octep_tx_timeout_task (struct work_struct *work );
ARGUMENTS work pointer to Tx queue timeout work_struct
DESCRIPTION Stop and start the device so that it frees up all queue resources and restarts the queues, that potential... |
octep_update_pkt(9) | NAME octep_update_pkt - Update IQ/OQ IN/OUT_CNT registers.
SYNOPSIS void octep_update_pkt (struct octep_iq *iq , struct octep_oq *oq );
ARGUMENTS iq Octeon Tx queue data structure.
oq Octeon Rx queue data structure.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep/octep_main.... |
octep_vf_alloc_ioq_vectors(9) | NAME octep_vf_alloc_ioq_vectors - Allocate Tx/Rx Queue interrupt info.
SYNOPSIS int octep_vf_alloc_ioq_vectors (struct octep_vf_device *oct );
ARGUMENTS oct Octeon device private data structure.
DESCRIPTION Allocate resources to hold per Tx/Rx queue interrupt info. This is the information passed to interru... |
octep_vf_clean_iqs(9) | NAME octep_vf_clean_iqs - Clean Tx queues to shutdown the device.
SYNOPSIS void octep_vf_clean_iqs (struct octep_vf_device *oct );
ARGUMENTS oct Octeon device private data structure.
DESCRIPTION Free the buffers in Tx queue descriptors pending completion and reset queue indices
SEE ALSO Kernel file ./driver... |
octep_vf_clean_irqs(9) | NAME octep_vf_clean_irqs - free all interrupts and its resources.
SYNOPSIS void octep_vf_clean_irqs (struct octep_vf_device *oct );
ARGUMENTS oct Octeon device private data structure.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.c octep_vf_alloc_ioq_vectors(9), octep_vf_fr... |
octep_vf_device_cleanup(9) | NAME octep_vf_device_cleanup - Cleanup Octeon Device.
SYNOPSIS void octep_vf_device_cleanup (struct octep_vf_device *oct );
ARGUMENTS oct Octeon device private data structure.
DESCRIPTION Cleanup Octeon device allocated resources.
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_m... |
octep_vf_device_setup(9) | NAME octep_vf_device_setup - Setup Octeon Device.
SYNOPSIS int octep_vf_device_setup (struct octep_vf_device *oct );
ARGUMENTS oct Octeon device private data structure.
DESCRIPTION Setup Octeon device hardware operations, configuration, etc ...
SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.