id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
nfp_net_info(9) | NAME nfp_net_info - Print general info about the NIC
SYNOPSIS void nfp_net_info (struct nfp_net *nn );
ARGUMENTS nn NFP Net device to reconfigure
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfp_net_common.c nfp_net_get_fw_version(9), nfp_net_reconfig_post(9), __nfp_net_reconfig(9), nfp_n... |
nfp_net_init(9) | NAME nfp_net_init - Initialise/finalise the nfp_net structure
SYNOPSIS int nfp_net_init (struct nfp_net *nn );
ARGUMENTS nn NFP Net device structure
RETURN 0 on success or negative errno on error.
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfp_net_common.c nfp_net_get_fw_version(9), nfp_... |
nfp_net_irq_exn(9) | NAME nfp_net_irq_exn - Interrupt service routine for exceptions
SYNOPSIS irqreturn_t nfp_net_irq_exn (int irq , void *data );
ARGUMENTS irq Interrupt
data Opaque data structure
RETURN Indicate if the interrupt has been handled.
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfp_n... |
nfp_net_irq_lsc(9) | NAME nfp_net_irq_lsc - Interrupt service routine for link state changes
SYNOPSIS irqreturn_t nfp_net_irq_lsc (int irq , void *data );
ARGUMENTS irq Interrupt
data Opaque data structure
RETURN Indicate if the interrupt has been handled.
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/n... |
nfp_net_irq_rxtx(9) | NAME nfp_net_irq_rxtx - Interrupt service routine for RX/TX rings.
SYNOPSIS irqreturn_t nfp_net_irq_rxtx (int irq , void *data );
ARGUMENTS irq Interrupt
data Opaque data structure
RETURN Indicate if the interrupt has been handled.
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/n... |
nfp_net_irq_unmask(9) | NAME nfp_net_irq_unmask - Unmask automasked interrupt
SYNOPSIS void nfp_net_irq_unmask (struct nfp_net *nn , unsigned int entry_nr );
ARGUMENTS nn NFP Network structure
entry_nr MSI-X table entry
DESCRIPTION Clear the ICR for the IRQ entry.
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/n... |
nfp_net_irqmod_init(9) | NAME nfp_net_irqmod_init - Set the initial IRQ moderation parameters
SYNOPSIS void nfp_net_irqmod_init (struct nfp_net *nn );
ARGUMENTS nn NFP Net device to reconfigure
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfp_net_common.c nfp_net_get_fw_version(9), nfp_net_reconfig_post(9), __nfp_... |
nfp_net_irqs_alloc(9) | NAME nfp_net_irqs_alloc - allocates MSI-X irqs
SYNOPSIS unsigned int nfp_net_irqs_alloc (struct pci_dev *pdev , struct msix_entry *irq_entries , unsigned int min_irqs , unsigned int wanted_irqs );
ARGUMENTS pdev PCI device structure
irq_entries Array to be initialized and used to hold the irq entries
... |
nfp_net_irqs_assign(9) | NAME nfp_net_irqs_assign - Assign interrupts allocated externally to netdev
SYNOPSIS void nfp_net_irqs_assign (struct nfp_net *nn , struct msix_entry *irq_entries , unsigned int n );
ARGUMENTS nn NFP Network structure
irq_entries Table of allocated interrupts
n Size of irq_entries (... |
nfp_net_irqs_disable(9) | NAME nfp_net_irqs_disable - Disable interrupts
SYNOPSIS void nfp_net_irqs_disable (struct pci_dev *pdev );
ARGUMENTS pdev PCI device structure
DESCRIPTION Undoes what nfp_net_irqs_alloc does.
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfp_net_common.c nfp_net_get_fw_version(9), nfp_net_rec... |
nfp_net_mbox_reconfig(9) | NAME nfp_net_mbox_reconfig - Reconfigure the firmware via the mailbox
SYNOPSIS int nfp_net_mbox_reconfig (struct nfp_net *nn , u32 mbox_cmd );
ARGUMENTS nn NFP Net device to reconfigure
mbox_cmd The value for the mailbox command
DESCRIPTION Helper function for mailbox updates
RETURN Negative err... |
nfp_net_netdev_close(9) | NAME nfp_net_netdev_close - Called when the device is downed
SYNOPSIS int nfp_net_netdev_close (struct net_device *netdev );
ARGUMENTS netdev netdev structure
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfp_net_common.c nfp_net_get_fw_version(9), nfp_net_reconfig_post(9), __nfp_net_reconfig(9... |
nfp_net_open_stack(9) | NAME nfp_net_open_stack - Start the device from stack's perspective
SYNOPSIS void nfp_net_open_stack (struct nfp_net *nn );
ARGUMENTS nn NFP Net device to reconfigure
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfp_net_common.c nfp_net_get_fw_version(9), nfp_net_reconfig_post(9), __nfp_ne... |
nfp_net_read_link_status(9) | NAME nfp_net_read_link_status - Reread link status from control BAR
SYNOPSIS void nfp_net_read_link_status (struct nfp_net *nn );
ARGUMENTS nn NFP Network structure
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfp_net_common.c nfp_net_get_fw_version(9), nfp_net_reconfig_post(9), __nfp_net_r... |
nfp_net_reconfig_post(9) | NAME nfp_net_reconfig_post - Post async reconfig request
SYNOPSIS void nfp_net_reconfig_post (struct nfp_net *nn , u32 update );
ARGUMENTS nn NFP Net device to reconfigure
update The value for the update field in the BAR config
DESCRIPTION Record FW reconfiguration request. Reconfiguration wil... |
nfp_net_rss_init(9) | NAME nfp_net_rss_init - Set the initial RSS parameters
SYNOPSIS void nfp_net_rss_init (struct nfp_net *nn );
ARGUMENTS nn NFP Net device to reconfigure
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfp_net_common.c nfp_net_get_fw_version(9), nfp_net_reconfig_post(9), __nfp_net_reconfig(9), ... |
nfp_net_rss_key_sz(9) | NAME nfp_net_rss_key_sz - Get current size of the RSS key
SYNOPSIS unsigned int nfp_net_rss_key_sz (struct nfp_net *nn );
ARGUMENTS nn NFP Net device instance
RETURN size of the RSS key for currently selected hash function.
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfp_net_common.c nfp_n... |
nfp_net_rss_write_itbl(9) | NAME nfp_net_rss_write_itbl - Write RSS indirection table to device
SYNOPSIS void nfp_net_rss_write_itbl (struct nfp_net *nn );
ARGUMENTS nn NFP Net device to reconfigure
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfp_net_common.c nfp_net_get_fw_version(9), nfp_net_reconfig_post(9), __nf... |
nfp_net_rss_write_key(9) | NAME nfp_net_rss_write_key - Write RSS hash key to device
SYNOPSIS void nfp_net_rss_write_key (struct nfp_net *nn );
ARGUMENTS nn NFP Net device to reconfigure
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfp_net_common.c nfp_net_get_fw_version(9), nfp_net_reconfig_post(9), __nfp_net_recon... |
nfp_net_rx_alloc_one(9) | NAME nfp_net_rx_alloc_one - Allocate and map page frag for RX
SYNOPSIS void * nfp_net_rx_alloc_one (struct nfp_net_dp *dp , dma_addr_t *dma_addr );
ARGUMENTS dp NFP Net data path struct
dma_addr Pointer to storage for DMA address (output param)
DESCRIPTION This function will allcate a new page fr... |
nfp_net_rx_ring_alloc(9) | NAME nfp_net_rx_ring_alloc - Allocate resource for a RX ring
SYNOPSIS int nfp_net_rx_ring_alloc (struct nfp_net_dp *dp , struct nfp_net_rx_ring *rx_ring );
ARGUMENTS dp NFP Net data path struct
rx_ring RX ring to allocate
RETURN 0 on success, negative errno otherwise.
SEE ALSO Kernel file ./d... |
nfp_net_rx_ring_bufs_alloc(9) | NAME nfp_net_rx_ring_bufs_alloc - Fill RX ring with buffers (don't give to FW)
SYNOPSIS int nfp_net_rx_ring_bufs_alloc (struct nfp_net_dp *dp , struct nfp_net_rx_ring *rx_ring );
ARGUMENTS dp NFP Net data path struct
rx_ring RX ring to remove buffers from
SEE ALSO Kernel file ./drivers/net/eth... |
nfp_net_rx_ring_bufs_free(9) | NAME nfp_net_rx_ring_bufs_free - Free any buffers currently on the RX ring
SYNOPSIS void nfp_net_rx_ring_bufs_free (struct nfp_net_dp *dp , struct nfp_net_rx_ring *rx_ring );
ARGUMENTS dp NFP Net data path struct
rx_ring RX ring to remove buffers from
DESCRIPTION Assumes that the device is stopp... |
nfp_net_rx_ring_free(9) | NAME nfp_net_rx_ring_free - Free resources allocated to a RX ring
SYNOPSIS void nfp_net_rx_ring_free (struct nfp_net_rx_ring *rx_ring );
ARGUMENTS rx_ring RX ring to free
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfp_net_dp.c nfp_net_rx_alloc_one(9), nfp_net_tx_ring_init(9), nfp_net_rx_ring_i... |
nfp_net_rx_ring_init(9) | NAME nfp_net_rx_ring_init - Fill in the boilerplate for a RX ring
SYNOPSIS void nfp_net_rx_ring_init (struct nfp_net_rx_ring *rx_ring , struct nfp_net_r_vector *r_vec , unsigned int idx );
ARGUMENTS rx_ring RX ring structure
r_vec IRQ vector servicing this ring
idx Ring index
SEE AL... |
nfp_net_rx_ring_reset(9) | NAME nfp_net_rx_ring_reset - Reflect in SW state of freelist after disable
SYNOPSIS void nfp_net_rx_ring_reset (struct nfp_net_rx_ring *rx_ring );
ARGUMENTS rx_ring RX ring structure
DESCRIPTION Assumes that the device is stopped, must be idempotent.
SEE ALSO Kernel file ./drivers/net/ethernet/netronome... |
nfp_net_set_config_and_enable(9) | NAME nfp_net_set_config_and_enable - Write control BAR and enable NFP
SYNOPSIS int nfp_net_set_config_and_enable (struct nfp_net *nn );
ARGUMENTS nn NFP Net device to reconfigure
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfp_net_common.c nfp_net_get_fw_version(9), nfp_net_reconfig_post(9... |
nfp_net_tx_full(9) | NAME nfp_net_tx_full - check if the TX ring is full
SYNOPSIS int nfp_net_tx_full (struct nfp_net_tx_ring *tx_ring , int dcnt );
ARGUMENTS tx_ring TX ring to check
dcnt Number of descriptors that need to be enqueued (must be >= 1)
DESCRIPTION This function checks, based on the *host copy* of read/w... |
nfp_net_tx_ring_init(9) | NAME nfp_net_tx_ring_init - Fill in the boilerplate for a TX ring
SYNOPSIS void nfp_net_tx_ring_init (struct nfp_net_tx_ring *tx_ring , struct nfp_net_dp *dp , struct nfp_net_r_vector *r_vec , unsigned int idx , bool is_xdp );
ARGUMENTS tx_ring TX ring structure
dp NFP Net data path struct
... |
nfp_net_vecs_init(9) | NAME nfp_net_vecs_init - Assign IRQs and setup rvecs.
SYNOPSIS void nfp_net_vecs_init (struct nfp_net *nn );
ARGUMENTS nn NFP Network structure
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfp_net_common.c nfp_net_get_fw_version(9), nfp_net_reconfig_post(9), __nfp_net_reconfig(9), nfp_net... |
nfp_net_write_mac_addr(9) | NAME nfp_net_write_mac_addr - Write mac address to the device control BAR
SYNOPSIS void nfp_net_write_mac_addr (struct nfp_net *nn , const u8 *addr );
ARGUMENTS nn NFP Net device to reconfigure
addr MAC address to write
DESCRIPTION Writes the MAC address from the netdev to the device control ... |
nfp_nfd3_poll(9) | NAME nfp_nfd3_poll - napi poll function
SYNOPSIS int nfp_nfd3_poll (struct napi_struct *napi , int budget );
ARGUMENTS napi NAPI structure
budget NAPI budget
RETURN number of packets polled.
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfd3/dp.c nfp_nfd3_tx_ring_stop(9), nfp_nf... |
nfp_nfd3_rx(9) | NAME nfp_nfd3_rx - receive up to @budget packets on @rx_ring
SYNOPSIS int nfp_nfd3_rx (struct nfp_net_rx_ring *rx_ring , int budget );
ARGUMENTS rx_ring RX ring to receive from
budget NAPI budget
DESCRIPTION Note, this function is separated out from the napi poll function to more cleanly separate pa... |
nfp_nfd3_rx_csum(9) | NAME nfp_nfd3_rx_csum - set SKB checksum field based on RX descriptor flags
SYNOPSIS void nfp_nfd3_rx_csum (const struct nfp_net_dp *dp , struct nfp_net_r_vector *r_vec , const struct nfp_net_rx_desc *rxd , const struct nfp_meta_parsed *meta , struct sk_buff *skb );
ARGUMENTS dp NFP Net data path struct
... |
nfp_nfd3_rx_csum_has_errors(9) | NAME nfp_nfd3_rx_csum_has_errors - group check if rxd has any csum errors
SYNOPSIS int nfp_nfd3_rx_csum_has_errors (u16 flags );
ARGUMENTS flags RX descriptor flags field in CPU byte order
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfd3/dp.c nfp_nfd3_tx_ring_stop(9), nfp_nfd3_tx_tso(9), nfp_nfd... |
nfp_nfd3_rx_give_one(9) | NAME nfp_nfd3_rx_give_one - Put mapped skb on the software and hardware rings
SYNOPSIS void nfp_nfd3_rx_give_one (const struct nfp_net_dp *dp , struct nfp_net_rx_ring *rx_ring , void *frag , dma_addr_t dma_addr );
ARGUMENTS dp NFP Net data path struct
rx_ring RX ring structure
frag ... |
nfp_nfd3_rx_ring_fill_freelist(9) | NAME nfp_nfd3_rx_ring_fill_freelist - Give buffers from the ring to FW
SYNOPSIS void nfp_nfd3_rx_ring_fill_freelist (struct nfp_net_dp *dp , struct nfp_net_rx_ring *rx_ring );
ARGUMENTS dp NFP Net data path struct
rx_ring RX ring to fill
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nf... |
nfp_nfd3_tx(9) | NAME nfp_nfd3_tx - Main transmit entry point
SYNOPSIS netdev_tx_t nfp_nfd3_tx (struct sk_buff *skb , struct net_device *netdev );
ARGUMENTS skb SKB to transmit
netdev netdev structure
RETURN NETDEV_TX_OK on success.
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfd3/dp.c nfp_n... |
nfp_nfd3_tx_complete(9) | NAME nfp_nfd3_tx_complete - Handled completed TX packets
SYNOPSIS void nfp_nfd3_tx_complete (struct nfp_net_tx_ring *tx_ring , int budget );
ARGUMENTS tx_ring TX ring structure
budget NAPI budget (only used as bool to determine if in NAPI context)
SEE ALSO Kernel file ./drivers/net/ethernet/ne... |
nfp_nfd3_tx_csum(9) | NAME nfp_nfd3_tx_csum - Set TX CSUM offload flags in TX descriptor
SYNOPSIS void nfp_nfd3_tx_csum (struct nfp_net_dp *dp , struct nfp_net_r_vector *r_vec , struct nfp_nfd3_tx_buf *txbuf , struct nfp_nfd3_tx_desc *txd , struct sk_buff *skb );
ARGUMENTS dp NFP Net data path struct
r_vec per-ring ... |
nfp_nfd3_tx_ring_alloc(9) | NAME nfp_nfd3_tx_ring_alloc - Allocate resource for a TX ring
SYNOPSIS int nfp_nfd3_tx_ring_alloc (struct nfp_net_dp *dp , struct nfp_net_tx_ring *tx_ring );
ARGUMENTS dp NFP Net data path struct
tx_ring TX Ring structure to allocate
RETURN 0 on success, negative errno otherwise.
SEE ALSO Kerne... |
nfp_nfd3_tx_ring_free(9) | NAME nfp_nfd3_tx_ring_free - Free resources allocated to a TX ring
SYNOPSIS void nfp_nfd3_tx_ring_free (struct nfp_net_tx_ring *tx_ring );
ARGUMENTS tx_ring TX ring to free
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfd3/rings.c nfp_nfd3_tx_ring_reset(9), nfp_nfd3_tx_ring_alloc(9)
April 2026 ... |
nfp_nfd3_tx_ring_reset(9) | NAME nfp_nfd3_tx_ring_reset - Free any untransmitted buffers and reset pointers
SYNOPSIS void nfp_nfd3_tx_ring_reset (struct nfp_net_dp *dp , struct nfp_net_tx_ring *tx_ring );
ARGUMENTS dp NFP Net data path struct
tx_ring TX ring structure
DESCRIPTION Assumes that the device is stopped, must be... |
nfp_nfd3_tx_ring_stop(9) | NAME nfp_nfd3_tx_ring_stop - stop tx ring
SYNOPSIS void nfp_nfd3_tx_ring_stop (struct netdev_queue *nd_q , struct nfp_net_tx_ring *tx_ring );
ARGUMENTS nd_q netdev queue
tx_ring driver tx queue structure
DESCRIPTION Safely stop TX ring. Remember that while we are running .start_xmit someone else ... |
nfp_nfd3_tx_tso(9) | NAME nfp_nfd3_tx_tso - Set up Tx descriptor for LSO
SYNOPSIS void nfp_nfd3_tx_tso (struct nfp_net_r_vector *r_vec , struct nfp_nfd3_tx_buf *txbuf , struct nfp_nfd3_tx_desc *txd , struct sk_buff *skb , u32 md_bytes );
ARGUMENTS r_vec per-ring structure
txbuf Pointer to driver soft TX descriptor
... |
nfp_nfdk_poll(9) | NAME nfp_nfdk_poll - napi poll function
SYNOPSIS int nfp_nfdk_poll (struct napi_struct *napi , int budget );
ARGUMENTS napi NAPI structure
budget NAPI budget
RETURN number of packets polled.
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfdk/dp.c nfp_nfdk_tx(9), nfp_nfdk_tx_comp... |
nfp_nfdk_rx(9) | NAME nfp_nfdk_rx - receive up to @budget packets on @rx_ring
SYNOPSIS int nfp_nfdk_rx (struct nfp_net_rx_ring *rx_ring , int budget );
ARGUMENTS rx_ring RX ring to receive from
budget NAPI budget
DESCRIPTION Note, this function is separated out from the napi poll function to more cleanly separate pa... |
nfp_nfdk_rx_csum(9) | NAME nfp_nfdk_rx_csum - set SKB checksum field based on RX descriptor flags
SYNOPSIS void nfp_nfdk_rx_csum (struct nfp_net_dp *dp , struct nfp_net_r_vector *r_vec , struct nfp_net_rx_desc *rxd , struct nfp_meta_parsed *meta , struct sk_buff *skb );
ARGUMENTS dp NFP Net data path struct
r_vec pe... |
nfp_nfdk_rx_csum_has_errors(9) | NAME nfp_nfdk_rx_csum_has_errors - group check if rxd has any csum errors
SYNOPSIS int nfp_nfdk_rx_csum_has_errors (u16 flags );
ARGUMENTS flags RX descriptor flags field in CPU byte order
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfdk/dp.c nfp_nfdk_tx(9), nfp_nfdk_tx_complete(9), nfp_nfdk_rx_g... |
nfp_nfdk_rx_give_one(9) | NAME nfp_nfdk_rx_give_one - Put mapped skb on the software and hardware rings
SYNOPSIS void nfp_nfdk_rx_give_one (const struct nfp_net_dp *dp , struct nfp_net_rx_ring *rx_ring , void *frag , dma_addr_t dma_addr );
ARGUMENTS dp NFP Net data path struct
rx_ring RX ring structure
frag ... |
nfp_nfdk_rx_ring_fill_freelist(9) | NAME nfp_nfdk_rx_ring_fill_freelist - Give buffers from the ring to FW
SYNOPSIS void nfp_nfdk_rx_ring_fill_freelist (struct nfp_net_dp *dp , struct nfp_net_rx_ring *rx_ring );
ARGUMENTS dp NFP Net data path struct
rx_ring RX ring to fill
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/... |
nfp_nfdk_tx(9) | NAME nfp_nfdk_tx - Main transmit entry point
SYNOPSIS netdev_tx_t nfp_nfdk_tx (struct sk_buff *skb , struct net_device *netdev );
ARGUMENTS skb SKB to transmit
netdev netdev structure
RETURN NETDEV_TX_OK on success.
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfdk/dp.c nfp_nfd... |
nfp_nfdk_tx_complete(9) | NAME nfp_nfdk_tx_complete - Handled completed TX packets
SYNOPSIS void nfp_nfdk_tx_complete (struct nfp_net_tx_ring *tx_ring , int budget );
ARGUMENTS tx_ring TX ring structure
budget NAPI budget (only used as bool to determine if in NAPI context)
SEE ALSO Kernel file ./drivers/net/ethernet/netronom... |
nfp_nffw_info_close(9) | NAME nfp_nffw_info_close - Release the lock on the NFFW table and free state
SYNOPSIS void nfp_nffw_info_close (struct nfp_nffw_info *state );
ARGUMENTS state NFP FW info state
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c nfp_nffw_info_open(9), nfp_nffw_info_fwid_first(9), nfp_n... |
nfp_nffw_info_fwid_first(9) | NAME nfp_nffw_info_fwid_first - Return the first firmware ID in the NFFW
SYNOPSIS struct nffw_fwinfo * nfp_nffw_info_fwid_first (struct nfp_nffw_info *state );
ARGUMENTS state NFP FW info state
RETURN First NFFW firmware info, NULL on failure
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfpcore/n... |
nfp_nffw_info_mip_first(9) | NAME nfp_nffw_info_mip_first - Retrieve the location of the first FW's MIP
SYNOPSIS int nfp_nffw_info_mip_first (struct nfp_nffw_info *state , u32 *cpp_id , u64 *off );
ARGUMENTS state NFP FW info state
cpp_id Pointer to the CPP ID of the MIP
off Pointer to the CPP Address of the MI... |
nfp_nffw_info_open(9) | NAME nfp_nffw_info_open - Acquire the lock on the NFFW table
SYNOPSIS struct nfp_nffw_info * nfp_nffw_info_open (struct nfp_cpp *cpp );
ARGUMENTS cpp NFP CPP handle
RETURN pointer to nfp_nffw_info object or ERR_PTR
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.c nfp_nffw_info_cl... |
nfp_nsp_close(9) | NAME nfp_nsp_close - Clean up and unlock the NSP resource.
SYNOPSIS void nfp_nsp_close (struct nfp_nsp *state );
ARGUMENTS state NFP SP state
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c struct nfp_nsp_command_arg(9), struct nfp_nsp_command_buf_arg(9), nfp_nsp_open(9), __nfp_nsp_... |
nfp_nsp_open(9) | NAME nfp_nsp_open - Prepare for communication and lock the NSP resource.
SYNOPSIS struct nfp_nsp * nfp_nsp_open (struct nfp_cpp *cpp );
ARGUMENTS cpp NFP CPP Handle
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c struct nfp_nsp_command_arg(9), struct nfp_nsp_command_buf_arg(9), nf... |
nfp_port_configure(9) | NAME nfp_port_configure - helper to set the interface configured bit
SYNOPSIS int nfp_port_configure (struct net_device *netdev , bool configed );
ARGUMENTS netdev net_device instance
configed Desired state
DESCRIPTION Helper to set the ifup/ifdown state on the PHY only if there is a physical interfa... |
nfp_qcp_rd_ptr_add(9) | NAME nfp_qcp_rd_ptr_add - Add the value to the read pointer of a queue
SYNOPSIS void nfp_qcp_rd_ptr_add (u8 __iomem *q , u32 val );
ARGUMENTS q Base address for queue structure
val Value to add to the queue pointer
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfp_net.h struc... |
nfp_qcp_rd_ptr_read(9) | NAME nfp_qcp_rd_ptr_read - Read the current read pointer value for a queue
SYNOPSIS u32 nfp_qcp_rd_ptr_read (u8 __iomem *q );
ARGUMENTS q Base address for queue structure
RETURN Value read.
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfp_net.h struct nfp_net_tx_ring(9), struct nfp_net_rx_... |
nfp_qcp_wr_ptr_add(9) | NAME nfp_qcp_wr_ptr_add - Add the value to the write pointer of a queue
SYNOPSIS void nfp_qcp_wr_ptr_add (u8 __iomem *q , u32 val );
ARGUMENTS q Base address for queue structure
val Value to add to the queue pointer
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfp_net.h stru... |
nfp_qcp_wr_ptr_read(9) | NAME nfp_qcp_wr_ptr_read - Read the current write pointer value for a queue
SYNOPSIS u32 nfp_qcp_wr_ptr_read (u8 __iomem *q );
ARGUMENTS q Base address for queue structure
RETURN Value read.
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfp_net.h struct nfp_net_tx_ring(9), struct nfp_net_rx... |
nfp_resource_acquire(9) | NAME nfp_resource_acquire - Acquire a resource handle
SYNOPSIS struct nfp_resource * nfp_resource_acquire (struct nfp_cpp *cpp , const char *name );
ARGUMENTS cpp NFP CPP handle
name Name of the resource
NOTE This function locks the acquired resource
RETURN NFP Resource handle, or ERR_PTR
SE... |
nfp_resource_address(9) | NAME nfp_resource_address - Return the address of a resource handle
SYNOPSIS u64 nfp_resource_address (struct nfp_resource *res );
ARGUMENTS res NFP Resource handle
RETURN Address of the resource
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c struct nfp_resource_entry(9),... |
nfp_resource_cpp_id(9) | NAME nfp_resource_cpp_id - Return the cpp_id of a resource handle
SYNOPSIS u32 nfp_resource_cpp_id (struct nfp_resource *res );
ARGUMENTS res NFP Resource handle
RETURN NFP CPP ID
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c struct nfp_resource_entry(9), nfp_resource_acq... |
nfp_resource_name(9) | NAME nfp_resource_name - Return the name of a resource handle
SYNOPSIS const char * nfp_resource_name (struct nfp_resource *res );
ARGUMENTS res NFP Resource handle
RETURN const char pointer to the name of the resource
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c struc... |
nfp_resource_release(9) | NAME nfp_resource_release - Release a NFP Resource handle
SYNOPSIS void nfp_resource_release (struct nfp_resource *res );
ARGUMENTS res NFP Resource handle
NOTE This function implictly unlocks the resource handle
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c struct nfp_r... |
nfp_resource_size(9) | NAME nfp_resource_size - Return the size in bytes of a resource handle
SYNOPSIS u64 nfp_resource_size (struct nfp_resource *res );
ARGUMENTS res NFP Resource handle
RETURN Size of the resource in bytes
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c struct nfp_resource_ent... |
nfp_resource_table_init(9) | NAME nfp_resource_table_init - Run initial checks on the resource table
SYNOPSIS int nfp_resource_table_init (struct nfp_cpp *cpp );
ARGUMENTS cpp NFP CPP handle
DESCRIPTION Start-of-day init procedure for resource table. Must be called before any local resource table users may exist.
RETURN 0 on success, ... |
nfp_resource_wait(9) | NAME nfp_resource_wait - Wait for resource to appear
SYNOPSIS int nfp_resource_wait (struct nfp_cpp *cpp , const char *name , unsigned int secs );
ARGUMENTS cpp NFP CPP handle
name Name of the resource
secs Number of seconds to wait
DESCRIPTION Wait for resource to appear in the... |
nfp_rtsym_count(9) | NAME nfp_rtsym_count - Get the number of RTSYM descriptors
SYNOPSIS int nfp_rtsym_count (struct nfp_rtsym_table *rtbl );
ARGUMENTS rtbl NFP RTsym table
RETURN Number of RTSYM descriptors
SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c nfp_rtsym_get(9), nfp_rtsym_lookup(9), nfp_r... |
nfp_rtsym_get(9) | NAME nfp_rtsym_get - Get the Nth RTSYM descriptor
SYNOPSIS const struct nfp_rtsym * nfp_rtsym_get (struct nfp_rtsym_table *rtbl , int idx );
ARGUMENTS rtbl NFP RTsym table
idx Index (0-based) of the RTSYM descriptor
RETURN const pointer to a struct nfp_rtsym descriptor, or NULL
SEE ALSO Kerne... |
nfp_rtsym_lookup(9) | NAME nfp_rtsym_lookup - Return the RTSYM descriptor for a symbol name
SYNOPSIS const struct nfp_rtsym * nfp_rtsym_lookup (struct nfp_rtsym_table *rtbl , const char *name );
ARGUMENTS rtbl NFP RTsym table
name Symbol name
RETURN const pointer to a struct nfp_rtsym descriptor, or NULL
SEE ALSO K... |
nfp_rtsym_read_le(9) | NAME nfp_rtsym_read_le - Read a simple unsigned scalar value from symbol
SYNOPSIS u64 nfp_rtsym_read_le (struct nfp_rtsym_table *rtbl , const char *name , int *error );
ARGUMENTS rtbl NFP RTsym table
name Symbol name
error Poniter to error code (optional)
DESCRIPTION Lookup a symb... |
nfp_rtsym_write_le(9) | NAME nfp_rtsym_write_le - Write an unsigned scalar value to a symbol
SYNOPSIS int nfp_rtsym_write_le (struct nfp_rtsym_table *rtbl , const char *name , u64 value );
ARGUMENTS rtbl NFP RTsym table
name Symbol name
value Value to write
DESCRIPTION Lookup a symbol and write a value t... |
nfp_xpb_readl(9) | NAME nfp_xpb_readl - Read a u32 word from a XPB location
SYNOPSIS int nfp_xpb_readl (struct nfp_cpp *cpp , u32 xpb_addr , u32 *value );
ARGUMENTS cpp CPP device handle
xpb_addr Address for operation
value Pointer to read buffer
RETURN 0 on success, or -ERRNO
SEE ALSO Kernel file ./d... |
nfp_xpb_writel(9) | NAME nfp_xpb_writel - Write a u32 word to a XPB location
SYNOPSIS int nfp_xpb_writel (struct nfp_cpp *cpp , u32 xpb_addr , u32 value );
ARGUMENTS cpp CPP device handle
xpb_addr Address for operation
value Value to write
RETURN 0 on success, or -ERRNO
SEE ALSO Kernel file ./drivers/n... |
nfp_xpb_writelm(9) | NAME nfp_xpb_writelm - Modify bits of a 32-bit value from the XPB bus
SYNOPSIS int nfp_xpb_writelm (struct nfp_cpp *cpp , u32 xpb_tgt , u32 mask , u32 value );
ARGUMENTS cpp NFP CPP device handle
xpb_tgt XPB target and address
mask mask of bits to alter
value value to ... |
nfs2_decode_dirent(9) | NAME nfs2_decode_dirent - Decode a single NFSv2 directory entry stored in the local page cache.
SYNOPSIS int nfs2_decode_dirent (struct xdr_stream *xdr , struct nfs_entry *entry , bool plus );
ARGUMENTS xdr XDR stream where entry resides
entry buffer to fill in with entry data
plus ... |
nfs3_decode_dirent(9) | NAME nfs3_decode_dirent - Decode a single NFSv3 directory entry stored in the local page cache
SYNOPSIS int nfs3_decode_dirent (struct xdr_stream *xdr , struct nfs_entry *entry , bool plus );
ARGUMENTS xdr XDR stream where entry resides
entry buffer to fill in with entry data
plus ... |
nfs3svc_encode_cookie3(9) | NAME nfs3svc_encode_cookie3 - Encode a directory offset cookie
SYNOPSIS void nfs3svc_encode_cookie3 (struct nfsd3_readdirres *resp , u64 offset );
ARGUMENTS resp readdir result context
offset offset cookie to encode
DESCRIPTION The buffer space for the offset cookie has already been reserved by s... |
nfs3svc_encode_entry3(9) | NAME nfs3svc_encode_entry3 - encode one NFSv3 READDIR entry
SYNOPSIS int nfs3svc_encode_entry3 (void *data , const char *name , int namlen , loff_t offset , u64 ino , unsigned int d_type );
ARGUMENTS data directory context
name name of the object to be encoded
namlen length of that ... |
nfs3svc_encode_entryplus3(9) | NAME nfs3svc_encode_entryplus3 - encode one NFSv3 READDIRPLUS entry
SYNOPSIS int nfs3svc_encode_entryplus3 (void *data , const char *name , int namlen , loff_t offset , u64 ino , unsigned int d_type );
ARGUMENTS data directory context
name name of the object to be encoded
namlen len... |
nfs40_discover_server_trunking(9) | NAME nfs40_discover_server_trunking - Detect server IP address trunking (mv0)
SYNOPSIS int nfs40_discover_server_trunking (struct nfs_client *clp , struct nfs_client **result , const struct cred *cred );
ARGUMENTS clp nfs_client under test
result OUT: found nfs_client, or clp
cred ... |
nfs40_init_client(9) | NAME nfs40_init_client - nfs_client initialization tasks for NFSv4.0
SYNOPSIS int nfs40_init_client (struct nfs_client *clp );
ARGUMENTS clp nfs_client to initialize
DESCRIPTION Returns zero on success, or a negative errno if some error occurred.
SEE ALSO Kernel file ./fs/nfs/nfs40client.c nfs40_walk_client... |
nfs40_walk_client_list(9) | NAME nfs40_walk_client_list - Find server that recognizes a client ID
SYNOPSIS int nfs40_walk_client_list (struct nfs_client *new , struct nfs_client **result , const struct cred *cred );
ARGUMENTS new nfs_client with client ID to test
result OUT: found nfs_client, or new
cred cred... |
nfs41_check_expired_locks(9) | NAME nfs41_check_expired_locks - possibly free a lock stateid
SYNOPSIS int nfs41_check_expired_locks (struct nfs4_state *state );
ARGUMENTS state NFSv4 state for an inode
DESCRIPTION Returns NFS_OK if recovery for this stateid is now finished. Otherwise a negative NFS4ERR value is returned.
SEE ALSO Kernel ... |
nfs41_check_open_stateid(9) | NAME nfs41_check_open_stateid - possibly free an open stateid
SYNOPSIS int nfs41_check_open_stateid (struct nfs4_state *state );
ARGUMENTS state NFSv4 state for an inode
DESCRIPTION Returns NFS_OK if recovery for this stateid is now finished. Otherwise a negative NFS4ERR value is returned.
SEE ALSO Kernel f... |
nfs41_discover_server_trunking(9) | NAME nfs41_discover_server_trunking - Detect server IP address trunking (mv1)
SYNOPSIS int nfs41_discover_server_trunking (struct nfs_client *clp , struct nfs_client **result , const struct cred *cred );
ARGUMENTS clp nfs_client under test
result OUT: found nfs_client, or clp
cred ... |
nfs41_free_stateid(9) | NAME nfs41_free_stateid - perform a FREE_STATEID operation
SYNOPSIS int nfs41_free_stateid (struct nfs_server *server , nfs4_stateid *stateid , const struct cred *cred , bool privileged );
ARGUMENTS server server / transport on which to perform the operation
stateid state ID to release
cred ... |
nfs41_init_client(9) | NAME nfs41_init_client - nfs_client initialization tasks for NFSv4.1+
SYNOPSIS int nfs41_init_client (struct nfs_client *clp );
ARGUMENTS clp nfs_client to initialize
DESCRIPTION Returns zero on success, or a negative errno if some error occurred.
SEE ALSO Kernel file ./fs/nfs/nfs4client.c nfs4_find_ds_clie... |
nfs41_test_stateid(9) | NAME nfs41_test_stateid - perform a TEST_STATEID operation
SYNOPSIS int nfs41_test_stateid (struct nfs_server *server , const nfs4_stateid *stateid , const struct cred *cred );
ARGUMENTS server server / transport on which to perform the operation
stateid state ID to test
cred credentia... |
nfs41_walk_client_list(9) | NAME nfs41_walk_client_list - Find nfs_client that matches a client/server owner
SYNOPSIS int nfs41_walk_client_list (struct nfs_client *new , struct nfs_client **result , const struct cred *cred );
ARGUMENTS new nfs_client with client ID to test
result OUT: found nfs_client, or new
cred ... |
nfs42_copy_dest_done(9) | NAME nfs42_copy_dest_done - perform inode cache updates after clone/copy offload
SYNOPSIS void nfs42_copy_dest_done (struct file *file , loff_t pos , loff_t len , loff_t oldsize );
ARGUMENTS file pointer to destination file
pos destination offset
len copy length
oldsize ... |
nfs42_proc_offload_status(9) | NAME nfs42_proc_offload_status - Poll completion status of an async copy operation
SYNOPSIS int nfs42_proc_offload_status (struct file *dst , nfs4_stateid *stateid , u64 *copied );
ARGUMENTS dst handle of file being copied into
stateid copy stateid (from async COPY result)
copied OUT:... |
nfs42_ssc_register(9) | NAME nfs42_ssc_register - install the NFS_V4 client ops in the nfs_ssc_client_tbl
SYNOPSIS void nfs42_ssc_register (const struct nfs4_ssc_client_ops *ops );
ARGUMENTS ops NFS_V4 ops to be installed
DESCRIPTION Return values: None
SEE ALSO Kernel file ./fs/nfs_common/nfs_ssc.c nfs42_ssc_unregister(9), nfs_ss... |
nfs42_ssc_register_ops(9) | NAME nfs42_ssc_register_ops - Wrapper to register NFS_V4 ops in nfs_common
SYNOPSIS void nfs42_ssc_register_ops (void );
ARGUMENTS void no arguments
DESCRIPTION Return values: None
SEE ALSO Kernel file ./fs/nfs/nfs4file.c nfs42_ssc_unregister_ops(9)
April 2026 ... |
nfs42_ssc_unregister(9) | NAME nfs42_ssc_unregister - uninstall the NFS_V4 client ops from the nfs_ssc_client_tbl
SYNOPSIS void nfs42_ssc_unregister (const struct nfs4_ssc_client_ops *ops );
ARGUMENTS ops ops to be uninstalled
DESCRIPTION Return values: None
SEE ALSO Kernel file ./fs/nfs_common/nfs_ssc.c nfs42_ssc_register(9), nfs_s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.