id
stringlengths
4
63
text
stringlengths
153
8.81M
wsrep_sst_rsync_wan(1)
NAME wsrep_sst_rsync_wan - rsync_wan (rsync with delta transfers)-based state snapshot transfer DESCRIPTION Use: rsync_wan-based state snapshot transfer. For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/ MariaDB 11.4 ...
wstandend.3x(3)
NAME attr_get, wattr_get, attr_set, wattr_set, attr_off, wattr_off, attr_on, wattr_on, attroff, wattroff, attron, wattron, attrset, wattrset, chgat, wchgat, mvchgat, mvwchgat, color_set, wcolor_set, standend, wstandend, standout, wstandout - manipulate attributes of character cells in curses windows SYNOPSIS #include ...
wstandout.3x(3)
NAME attr_get, wattr_get, attr_set, wattr_set, attr_off, wattr_off, attr_on, wattr_on, attroff, wattroff, attron, wattron, attrset, wattrset, chgat, wchgat, mvchgat, mvwchgat, color_set, wcolor_set, standend, wstandend, standout, wstandout - manipulate attributes of character cells in curses windows SYNOPSIS #include ...
wsyncdown.3x(3)
NAME newwin, delwin, mvwin, subwin, derwin, mvderwin, dupwin, wsyncup, syncok, wcursyncup, wsyncdown - create and manipulate curses windows SYNOPSIS #include <ncursesw/curses.h> WINDOW *newwin( int nlines, int ncols, int begin_y, int begin_x); int delwin(WINDOW *win); in...
wsyncup.3x(3)
NAME newwin, delwin, mvwin, subwin, derwin, mvderwin, dupwin, wsyncup, syncok, wcursyncup, wsyncdown - create and manipulate curses windows SYNOPSIS #include <ncursesw/curses.h> WINDOW *newwin( int nlines, int ncols, int begin_y, int begin_x); int delwin(WINDOW *win); in...
wtimeout.3x(3)
NAME cbreak, echo, halfdelay, intrflush, is_cbreak, is_echo, is_nl, is_raw, keypad, meta, nl, nocbreak, nodelay, noecho, nonl, noqiflush, noraw, notimeout, qiflush, raw, timeout, wtimeout, typeahead - get and set curses terminal input op‐ tions SYNOPSIS #include <ncursesw/curses.h> int cbreak(void); ...
wtmp(5)
NAME utmp, wtmp - login records SYNOPSIS #include <utmp.h> DESCRIPTION The utmp file allows one to discover information about who is currently using the system. There may be more users currently using the system, because not all programs use utmp logging. Warning: utmp must not be writable by the user class...
wtouchln.3x(3)
NAME touchwin, touchline, untouchwin, wtouchln, is_linetouched, is_wintouched - control terminal output refresh in a curses window SYNOPSIS #include <ncursesw/curses.h> int touchline(WINDOW *win, int start, int count); int touchwin(WINDOW *win); int wtouchln(WINDOW *win, int y, int n, int change...
wunctrl.3x(3)
NAME delay_output, filter, flushinp, getwin, key_name, keyname, nofilter, putwin, unctrl, use_env, use_tioctl, wunctrl - miscellaneous curses utility routines SYNOPSIS #include <ncursesw/curses.h> const char *unctrl(chtype ch); wchar_t *wunctrl(cchar_t *wch); const char *keyname(int c); c...
wunctrl_sp.3x(3)
NAME curs_sp_funcs - curses screen-pointer extension SYNOPSIS #include <ncursesw/curses.h> int alloc_pair_sp(SCREEN* sp, int fg, int bg); int assume_default_colors_sp(SCREEN* sp, int fg, int bg); int baudrate_sp(SCREEN* sp); int beep_sp(SCREEN* sp); bool can_change_color_sp(SCREEN* ...
wvline.3x(3)
NAME border, wborder, box, hline, whline, vline, wvline, mvhline, mvwhline, mvvline, mvwvline - draw borders and lines in a curses window of characters SYNOPSIS #include <ncursesw/curses.h> int border(chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br); ...
wvline_set.3x(3)
NAME border_set, wborder_set, box_set, hline_set, whline_set, mvhline_set, mvwhline_set, vline_set, wvline_set, mvvline_set, mvwvline_set - draw borders and lines in a curses window of wide characters SYNOPSIS #include <ncursesw/curses.h> int border_set( const cchar_t *ls, const cchar_t *rs, ...
ww_acquire_done(9)
NAME ww_acquire_done - marks the end of the acquire phase SYNOPSIS void ww_acquire_done (struct ww_acquire_ctx *ctx ); ARGUMENTS ctx the acquire context DESCRIPTION Marks the end of the acquire phase, any further w/w mutex lock calls using this context are forbidden. Calling this function is optional, it...
ww_acquire_fini(9)
NAME ww_acquire_fini - releases a w/w acquire context SYNOPSIS void ww_acquire_fini (struct ww_acquire_ctx *ctx ); ARGUMENTS ctx the acquire context to free DESCRIPTION Releases a w/w acquire context. This must be called _after_ all acquired w/w mutexes have been released with ww_mutex_unlock. SEE ALSO Kern...
ww_acquire_init(9)
NAME ww_acquire_init - initialize a w/w acquire context SYNOPSIS void ww_acquire_init (struct ww_acquire_ctx *ctx , struct ww_class *ww_class ); ARGUMENTS ctx w/w acquire context to initialize ww_class w/w class of the context DESCRIPTION Initializes an context to acquire multiple mutexes of the ...
ww_mutex_init(9)
NAME ww_mutex_init - initialize the w/w mutex SYNOPSIS void ww_mutex_init (struct ww_mutex *lock , struct ww_class *ww_class ); ARGUMENTS lock the mutex to be initialized ww_class the w/w class the mutex should belong to DESCRIPTION Initialize the w/w mutex to unlocked state and associate it with t...
ww_mutex_is_locked(9)
NAME ww_mutex_is_locked - is the w/w mutex locked SYNOPSIS bool ww_mutex_is_locked (struct ww_mutex *lock ); ARGUMENTS lock the mutex to be queried DESCRIPTION Returns 1 if the mutex is locked, 0 if unlocked. SEE ALSO Kernel file ./include/linux/ww_mutex.h ww_mutex_init(9), ww_acquire_init(9), ww_acquire_d...
ww_mutex_lock(9)
NAME ww_mutex_lock - acquire the w/w mutex SYNOPSIS int ww_mutex_lock (struct ww_mutex *lock , struct ww_acquire_ctx *ctx ); ARGUMENTS lock the mutex to be acquired ctx w/w acquire context, or NULL to acquire only a single lock. DESCRIPTION Lock the w/w mutex exclusively for this task. Dead...
ww_mutex_lock_interruptible(9)
NAME ww_mutex_lock_interruptible - acquire the w/w mutex, interruptible SYNOPSIS int ww_mutex_lock_interruptible (struct ww_mutex *lock , struct ww_acquire_ctx *ctx ); ARGUMENTS lock the mutex to be acquired ctx w/w acquire context DESCRIPTION Lock the w/w mutex exclusively for this task. De...
ww_mutex_lock_slow(9)
NAME ww_mutex_lock_slow - slowpath acquiring of the w/w mutex SYNOPSIS void ww_mutex_lock_slow (struct ww_mutex *lock , struct ww_acquire_ctx *ctx ); ARGUMENTS lock the mutex to be acquired ctx w/w acquire context DESCRIPTION Acquires a w/w mutex with the given context after a die case. This ...
ww_mutex_lock_slow_interruptible(9)
NAME ww_mutex_lock_slow_interruptible - slowpath acquiring of the w/w mutex, interruptible SYNOPSIS int ww_mutex_lock_slow_interruptible (struct ww_mutex *lock , struct ww_acquire_ctx *ctx ); ARGUMENTS lock the mutex to be acquired ctx w/w acquire context DESCRIPTION Acquires a w/w mutex wi...
ww_mutex_trylock(9)
NAME ww_mutex_trylock - tries to acquire the w/w mutex with optional acquire context SYNOPSIS int ww_mutex_trylock (struct ww_mutex *ww , struct ww_acquire_ctx *ww_ctx ); ARGUMENTS ww mutex to lock ww_ctx optional w/w acquire context DESCRIPTION Trylocks a mutex with the optional acquire contex...
ww_mutex_unlock(9)
NAME ww_mutex_unlock - release the w/w mutex SYNOPSIS void ww_mutex_unlock (struct ww_mutex *lock ); ARGUMENTS lock the mutex to be released DESCRIPTION Unlock a mutex that has been locked by this task previously with any of the ww_mutex_lock* functions (with or without an acquire context). It is forbidden...
wwan_create_port(9)
NAME wwan_create_port - Add a new WWAN port SYNOPSIS struct wwan_port * wwan_create_port (struct device *parent , enum wwan_port_type type , const struct wwan_port_ops *ops , struct wwan_port_caps *caps , void *drvdata ); ARGUMENTS parent Device to use as parent and shared by all WWAN ports type W...
wwan_port_get_drvdata(9)
NAME wwan_port_get_drvdata - Retrieve driver data from a WWAN port SYNOPSIS void * wwan_port_get_drvdata (struct wwan_port *port ); ARGUMENTS port Related WWAN port SEE ALSO Kernel file ./include/linux/wwan.h enum wwan_port_type(9), wwan_create_port(9), wwan_remove_port(9), wwan_port_rx(9), wwan_port_txoff(9)...
wwan_port_rx(9)
NAME wwan_port_rx - Receive data from the WWAN port SYNOPSIS void wwan_port_rx (struct wwan_port *port , struct sk_buff *skb ); ARGUMENTS port WWAN port for which data is received skb Pointer to the rx buffer DESCRIPTION A port driver calls this function upon data reception (MBIM, AT...). SEE...
wwan_port_txoff(9)
NAME wwan_port_txoff - Stop TX on WWAN port SYNOPSIS void wwan_port_txoff (struct wwan_port *port ); ARGUMENTS port WWAN port for which TX must be stopped DESCRIPTION Used for TX flow control, a port driver calls this function to indicate TX is temporary unavailable (e.g. due to ring buffer fullness). SEE AL...
wwan_port_txon(9)
NAME wwan_port_txon - Restart TX on WWAN port SYNOPSIS void wwan_port_txon (struct wwan_port *port ); ARGUMENTS port WWAN port for which TX must be restarted DESCRIPTION Used for TX flow control, a port driver calls this function to indicate TX is available again. SEE ALSO Kernel file ./include/linux/wwan.h ...
wwan_register_ops(9)
NAME wwan_register_ops - register WWAN device ops SYNOPSIS int wwan_register_ops (struct device *parent , const struct wwan_ops *ops , void *ctxt , u32 def_link_id ); ARGUMENTS parent Device to use as parent and shared by all WWAN ports and created netdevs ops operations to register ctxt ...
wwan_remove_port(9)
NAME wwan_remove_port - Remove a WWAN port SYNOPSIS void wwan_remove_port (struct wwan_port *port ); ARGUMENTS port WWAN port to remove DESCRIPTION Remove a previously created port. SEE ALSO Kernel file ./include/linux/wwan.h enum wwan_port_type(9), wwan_create_port(9), wwan_port_rx(9), wwan_port_txoff(9), w...
wwan_unregister_ops(9)
NAME wwan_unregister_ops - remove WWAN device ops SYNOPSIS void wwan_unregister_ops (struct device *parent ); ARGUMENTS parent Device to use as parent and shared by all WWAN ports and created netdevs SEE ALSO Kernel file ./drivers/net/wwan/wwan_core.c struct wwan_device(9), struct wwan_port(9), wwan_register_op...
wx_acquire_msix_vectors(9)
NAME wx_acquire_msix_vectors - acquire MSI-X vectors SYNOPSIS int wx_acquire_msix_vectors (struct wx *wx ); ARGUMENTS wx board private structure DESCRIPTION Attempts to acquire a suitable range of MSI-X vector interrupts. Will return a negative error code if unable to acquire MSI-X vectors for any reason. ...
wx_acquire_sw_sync(9)
NAME wx_acquire_sw_sync - Acquire SW semaphore SYNOPSIS int wx_acquire_sw_sync (struct wx *wx , u32 mask ); ARGUMENTS wx pointer to hardware structure mask Mask to specify which semaphore to acquire DESCRIPTION Acquires the SW semaphore for the specified function (CSR, PHY0, PHY1, EEPROM, Fla...
wx_alloc_q_vector(9)
NAME wx_alloc_q_vector - Allocate memory for a single interrupt vector SYNOPSIS int wx_alloc_q_vector (struct wx *wx , unsigned int v_count , unsigned int v_idx , unsigned int txr_count , unsigned int txr_idx , unsigned int rxr_count , unsigned int rxr_idx ); ARGUMENTS wx board private structure to initializ...
wx_alloc_q_vectors(9)
NAME wx_alloc_q_vectors - Allocate memory for interrupt vectors SYNOPSIS int wx_alloc_q_vectors (struct wx *wx ); ARGUMENTS wx board private structure to initialize DESCRIPTION We allocate one q_vector per queue interrupt. If allocation fails we return -ENOMEM. SEE ALSO Kernel file ./drivers/net/etherne...
wx_alloc_rx_buffers(9)
NAME wx_alloc_rx_buffers - Replace used receive buffers SYNOPSIS void wx_alloc_rx_buffers (struct wx_ring *rx_ring , u16 cleaned_count ); ARGUMENTS rx_ring ring to place buffers on cleaned_count number of buffers to replace SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx...
wx_cache_ring_rss(9)
NAME wx_cache_ring_rss - Descriptor ring to register mapping for RSS SYNOPSIS void wx_cache_ring_rss (struct wx *wx ); ARGUMENTS wx board private structure to initialize DESCRIPTION Cache the descriptor ring offsets for RSS, ATR, FCoE, and SR-IOV. SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/lib...
wx_change_mtu(9)
NAME wx_change_mtu - Change the Maximum Transfer Unit SYNOPSIS int wx_change_mtu (struct net_device *netdev , int new_mtu ); ARGUMENTS netdev network interface device structure new_mtu new value for maximum frame size DESCRIPTION Returns 0 on success, negative on failure SEE ALSO Kernel file ./dr...
wx_check_for_ack_pf(9)
NAME wx_check_for_ack_pf - checks to see if the VF has acked SYNOPSIS int wx_check_for_ack_pf (struct wx *wx , u16 vf ); ARGUMENTS wx pointer to the HW structure vf the VF index RETURN return 0 if the VF has set the status bit or else -EBUSY SEE ALSO Kernel file ./drivers/net/ethernet/wan...
wx_check_for_ack_vf(9)
NAME wx_check_for_ack_vf - checks to see if the PF has ACK'd SYNOPSIS int wx_check_for_ack_vf (struct wx *wx ); ARGUMENTS wx pointer to the HW structure RETURN return 0 if the PF has set the status bit or else -EBUSY SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_mbx.c wx_obtain_mbx_lock_pf(...
wx_check_for_msg_pf(9)
NAME wx_check_for_msg_pf - checks to see if the VF has sent mail SYNOPSIS int wx_check_for_msg_pf (struct wx *wx , u16 vf ); ARGUMENTS wx pointer to the HW structure vf the VF index RETURN return 0 if the VF has got req bit or else -EBUSY SEE ALSO Kernel file ./drivers/net/ethernet/wangxu...
wx_check_for_msg_vf(9)
NAME wx_check_for_msg_vf - checks to see if the PF has sent mail SYNOPSIS int wx_check_for_msg_vf (struct wx *wx ); ARGUMENTS wx pointer to the HW structure RETURN return 0 if the PF has got req bit or else -EBUSY SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_mbx.c wx_obtain_mbx_lock_pf(9),...
wx_check_for_rst_pf(9)
NAME wx_check_for_rst_pf - checks to see if the VF has reset SYNOPSIS int wx_check_for_rst_pf (struct wx *wx , u16 vf ); ARGUMENTS wx pointer to the HW structure vf the VF index RETURN return 0 on success and -EBUSY on failure SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_m...
wx_check_for_rst_vf(9)
NAME wx_check_for_rst_vf - checks to see if the PF has reset SYNOPSIS int wx_check_for_rst_vf (struct wx *wx ); ARGUMENTS wx pointer to the HW structure RETURN return 0 if the PF has set the reset done and -EBUSY on failure SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_mbx.c wx_obtain_mbx_l...
wx_clean_all_rx_rings(9)
NAME wx_clean_all_rx_rings - Free Rx Buffers for all queues SYNOPSIS void wx_clean_all_rx_rings (struct wx *wx ); ARGUMENTS wx board private structure SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_lib.c wx_alloc_rx_buffers(9), wx_is_non_eop(9), wx_cleanup_headers(9), wx_rx_checksum(9), wx_p...
wx_clean_all_tx_rings(9)
NAME wx_clean_all_tx_rings - Free Tx Buffers for all queues SYNOPSIS void wx_clean_all_tx_rings (struct wx *wx ); ARGUMENTS wx board private structure SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_lib.c wx_alloc_rx_buffers(9), wx_is_non_eop(9), wx_cleanup_headers(9), wx_rx_checksum(9), wx_p...
wx_clean_rx_irq(9)
NAME wx_clean_rx_irq - Clean completed descriptors from Rx ring - bounce buf SYNOPSIS int wx_clean_rx_irq (struct wx_q_vector *q_vector , struct wx_ring *rx_ring , int budget ); ARGUMENTS q_vector structure containing interrupt and ring information rx_ring rx descriptor ring to transact packets on ...
wx_clean_rx_ring(9)
NAME wx_clean_rx_ring - Free Rx Buffers per Queue SYNOPSIS void wx_clean_rx_ring (struct wx_ring *rx_ring ); ARGUMENTS rx_ring ring to free buffers from SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_lib.c wx_alloc_rx_buffers(9), wx_is_non_eop(9), wx_cleanup_headers(9), wx_rx_checksum(9), wx_proc...
wx_clean_tx_irq(9)
NAME wx_clean_tx_irq - Reclaim resources after transmit completes SYNOPSIS bool wx_clean_tx_irq (struct wx_q_vector *q_vector , struct wx_ring *tx_ring , int napi_budget ); ARGUMENTS q_vector structure containing interrupt and ring information tx_ring tx ring to clean napi_budget Used to determ...
wx_clean_tx_ring(9)
NAME wx_clean_tx_ring - Free Tx Buffers SYNOPSIS void wx_clean_tx_ring (struct wx_ring *tx_ring ); ARGUMENTS tx_ring ring to be cleaned SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_lib.c wx_alloc_rx_buffers(9), wx_is_non_eop(9), wx_cleanup_headers(9), wx_rx_checksum(9), wx_process_skb_fields(9)...
wx_cleanup_headers(9)
NAME wx_cleanup_headers - Correct corrupted or empty headers SYNOPSIS bool wx_cleanup_headers (struct wx_ring *rx_ring , union wx_rx_desc *rx_desc , struct sk_buff *skb ); ARGUMENTS rx_ring rx descriptor ring packet is being transacted on rx_desc pointer to the EOP Rx descriptor skb po...
wx_clear_hw_cntrs(9)
NAME wx_clear_hw_cntrs - Generic clear hardware counters SYNOPSIS void wx_clear_hw_cntrs (struct wx *wx ); ARGUMENTS wx board private structure DESCRIPTION Clears all hardware statistics counters by reading them from the hardware Statistics counters are clear on read. SEE ALSO Kernel file ./drivers/net/e...
wx_clear_interrupt_scheme(9)
NAME wx_clear_interrupt_scheme - Clear the current interrupt scheme settings SYNOPSIS void wx_clear_interrupt_scheme (struct wx *wx ); ARGUMENTS wx board private structure to clear interrupt scheme on DESCRIPTION We go through and clear interrupt specific resources and reset the structure to pre-load condit...
wx_clear_rar(9)
NAME wx_clear_rar - Remove Rx address register SYNOPSIS int wx_clear_rar (struct wx *wx , u32 index ); ARGUMENTS wx pointer to hardware structure index Receive address register to write DESCRIPTION Clears an ethernet address from a receive address register. SEE ALSO Kernel file ./drivers/ne...
wx_clear_vfta(9)
NAME wx_clear_vfta - Clear VLAN filter table SYNOPSIS void wx_clear_vfta (struct wx *wx ); ARGUMENTS wx pointer to hardware structure DESCRIPTION Clears the VLAN filer table, and the VMDq index associated with the filter SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_hw.c wx_irq_disable(9),...
wx_clear_vmdq(9)
NAME wx_clear_vmdq - Disassociate a VMDq pool index from a rx address SYNOPSIS int wx_clear_vmdq (struct wx *wx , u32 rar , u32 __maybe_unused vmdq ); ARGUMENTS wx pointer to hardware struct rar receive address register index to disassociate vmdq VMDq pool index to remove from ...
wx_configure_rx(9)
NAME wx_configure_rx - Configure Receive Unit after Reset SYNOPSIS void wx_configure_rx (struct wx *wx ); ARGUMENTS wx pointer to private structure DESCRIPTION Configure the Rx unit of the MAC after a reset. SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_hw.c wx_irq_disable(9), wx_mng_prese...
wx_configure_rx_vf(9)
NAME wx_configure_rx_vf - Configure Receive Unit after Reset SYNOPSIS void wx_configure_rx_vf (struct wx *wx ); ARGUMENTS wx board private structure DESCRIPTION Configure the Rx unit of the MAC after a reset. SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_vf_common.c April 2026 ...
wx_configure_tx(9)
NAME wx_configure_tx - Configure Transmit Unit after Reset SYNOPSIS void wx_configure_tx (struct wx *wx ); ARGUMENTS wx pointer to private structure DESCRIPTION Configure the Tx unit of the MAC after a reset. SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_hw.c wx_irq_disable(9), wx_mng_pres...
wx_configure_tx_ring_vf(9)
NAME wx_configure_tx_ring_vf - Configure Tx ring after Reset SYNOPSIS void wx_configure_tx_ring_vf (struct wx *wx , struct wx_ring *ring ); ARGUMENTS wx board private structure ring structure containing ring specific data DESCRIPTION Configure the Tx descriptor ring after a reset. SEE ALSO K...
wx_configure_tx_vf(9)
NAME wx_configure_tx_vf - Configure Transmit Unit after Reset SYNOPSIS void wx_configure_tx_vf (struct wx *wx ); ARGUMENTS wx board private structure DESCRIPTION Configure the Tx unit of the MAC after a reset. SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_vf_lib.c wx_configure_tx_ring_vf(9) ...
wx_configure_vectors(9)
NAME wx_configure_vectors - Configure vectors for hardware SYNOPSIS void wx_configure_vectors (struct wx *wx ); ARGUMENTS wx board private structure DESCRIPTION wx_configure_vectors sets up the hardware to properly generate MSI-X/MSI/INTx interrupts. SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/li...
wx_disable_pcie_master(9)
NAME wx_disable_pcie_master - Disable PCI-express master access SYNOPSIS int wx_disable_pcie_master (struct wx *wx ); ARGUMENTS wx pointer to hardware structure DESCRIPTION Disables PCI-Express master access and verifies there are no pending requests. SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/l...
wx_disable_sec_rx_path(9)
NAME wx_disable_sec_rx_path - Stops the receive data path SYNOPSIS int wx_disable_sec_rx_path (struct wx *wx ); ARGUMENTS wx pointer to private structure DESCRIPTION Stops the receive data path and waits for the HW to internally empty the Rx security block SEE ALSO Kernel file ./drivers/net/ethernet/wang...
wx_enable_sec_rx_path(9)
NAME wx_enable_sec_rx_path - Enables the receive data path SYNOPSIS void wx_enable_sec_rx_path (struct wx *wx ); ARGUMENTS wx pointer to private structure DESCRIPTION Enables the receive data path. SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_hw.c wx_irq_disable(9), wx_mng_present(9), wx_...
wx_find_vlvf_slot(9)
NAME wx_find_vlvf_slot - find the vlanid or the first empty slot SYNOPSIS int wx_find_vlvf_slot (struct wx *wx , u32 vlan ); ARGUMENTS wx pointer to hardware structure vlan VLAN id to write to VLAN filter DESCRIPTION return the VLVF index where this VLAN id should be placed SEE ALSO Kernel ...
wx_free_all_rx_resources(9)
NAME wx_free_all_rx_resources - Free Rx Resources for All Queues SYNOPSIS void wx_free_all_rx_resources (struct wx *wx ); ARGUMENTS wx pointer to hardware structure DESCRIPTION Free all receive software resources SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_lib.c wx_alloc_rx_buffers(9), w...
wx_free_all_tx_resources(9)
NAME wx_free_all_tx_resources - Free Tx Resources for All Queues SYNOPSIS void wx_free_all_tx_resources (struct wx *wx ); ARGUMENTS wx pointer to hardware structure DESCRIPTION Free all transmit software resources SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_lib.c wx_alloc_rx_buffers(...
wx_free_isb_resources(9)
NAME wx_free_isb_resources - allocate all queues Rx resources SYNOPSIS void wx_free_isb_resources (struct wx *wx ); ARGUMENTS wx board private structure DESCRIPTION Return 0 on success, negative on failure SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_lib.c wx_alloc_rx_buffers(9), wx_is_no...
wx_free_q_vector(9)
NAME wx_free_q_vector - Free memory allocated for specific interrupt vector SYNOPSIS void wx_free_q_vector (struct wx *wx , int v_idx ); ARGUMENTS wx board private structure to initialize v_idx Index of vector to be freed DESCRIPTION This function frees the memory allocated to the q_vector. I...
wx_free_q_vectors(9)
NAME wx_free_q_vectors - Free memory allocated for interrupt vectors SYNOPSIS void wx_free_q_vectors (struct wx *wx ); ARGUMENTS wx board private structure to initialize DESCRIPTION This function frees the memory allocated to the q_vectors. In addition if NAPI is enabled it will delete any references to th...
wx_free_rx_resources(9)
NAME wx_free_rx_resources - Free Rx Resources SYNOPSIS void wx_free_rx_resources (struct wx_ring *rx_ring ); ARGUMENTS rx_ring ring to clean the resources from DESCRIPTION Free all receive software resources SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_lib.c wx_alloc_rx_buffers(9), wx_is_non_e...
wx_free_tx_resources(9)
NAME wx_free_tx_resources - Free Tx Resources per Queue SYNOPSIS void wx_free_tx_resources (struct wx_ring *tx_ring ); ARGUMENTS tx_ring Tx descriptor ring for a specific queue DESCRIPTION Free all transmit software resources SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_lib.c wx_alloc_rx_buffe...
wx_get_link_state_vf(9)
NAME wx_get_link_state_vf - Get VF link state from PF SYNOPSIS int wx_get_link_state_vf (struct wx *wx , u16 *link_state ); ARGUMENTS wx pointer to the HW structure link_state link state storage RETURN return state of the operation error or success. SEE ALSO Kernel file ./drivers/net/ethernet/w...
wx_get_mac_addr(9)
NAME wx_get_mac_addr - Generic get MAC address SYNOPSIS void wx_get_mac_addr (struct wx *wx , u8 *mac_addr ); ARGUMENTS wx pointer to hardware structure mac_addr Adapter MAC address DESCRIPTION Reads the adapter's MAC address from first Receive Address Register (RAR0) A reset of the adapter must ...
wx_get_pcie_msix_counts(9)
NAME wx_get_pcie_msix_counts - Gets MSI-X vector count SYNOPSIS int wx_get_pcie_msix_counts (struct wx *wx , u16 *msix_count , u16 max_msix_count ); ARGUMENTS wx pointer to hardware structure msix_count number of MSI interrupts that can be obtained max_msix_count number of...
wx_get_stats64(9)
NAME wx_get_stats64 - Get System Network Statistics SYNOPSIS void wx_get_stats64 (struct net_device *netdev , struct rtnl_link_stats64 *stats ); ARGUMENTS netdev network interface device structure stats storage space for 64bit statistics SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/...
wx_host_interface_command(9)
NAME wx_host_interface_command - Issue command to manageability block SYNOPSIS int wx_host_interface_command (struct wx *wx , u32 *buffer , u32 length , u32 timeout , bool return_data ); ARGUMENTS wx pointer to the HW structure buffer contains the command to write and where the return status wil...
wx_hpbthresh(9)
NAME wx_hpbthresh - calculate high water mark for flow control SYNOPSIS int wx_hpbthresh (struct wx *wx ); ARGUMENTS wx board private structure to calculate for SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_hw.c wx_irq_disable(9), wx_mng_present(9), wx_release_sw_sync(9), wx_acquire_sw_sync...
wx_init_eeprom_params(9)
NAME wx_init_eeprom_params - Initialize EEPROM params SYNOPSIS void wx_init_eeprom_params (struct wx *wx ); ARGUMENTS wx pointer to hardware structure DESCRIPTION Initializes the EEPROM parameters wx_eeprom_info within the wx_hw struct in order to set up EEPROM access. SEE ALSO Kernel file ./drivers/net/...
wx_init_hw_vf(9)
NAME wx_init_hw_vf - virtual function hardware initialization SYNOPSIS void wx_init_hw_vf (struct wx *wx ); ARGUMENTS wx pointer to hardware structure DESCRIPTION Initialize the mac address SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_vf.c wx_reset_hw_vf(9), wx_stop_adapter_vf(9), wx_set...
wx_init_rss_key(9)
NAME wx_init_rss_key - Initialize wx RSS key SYNOPSIS int wx_init_rss_key (struct wx *wx ); ARGUMENTS wx device handle DESCRIPTION Allocates and initializes the RSS key if it is not allocated. SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_hw.c wx_irq_disable(9), wx_mng_present(9), wx_relea...
wx_init_rx_addrs(9)
NAME wx_init_rx_addrs - Initializes receive address filters. SYNOPSIS void wx_init_rx_addrs (struct wx *wx ); ARGUMENTS wx pointer to hardware structure DESCRIPTION Places the MAC address in receive address register 0 and clears the rest of the receive address registers. Clears the multicast table. Assumes ...
wx_init_uta_tables(9)
NAME wx_init_uta_tables - Initialize the Unicast Table Array SYNOPSIS void wx_init_uta_tables (struct wx *wx ); ARGUMENTS wx pointer to hardware structure SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_hw.c wx_irq_disable(9), wx_mng_present(9), wx_release_sw_sync(9), wx_acquire_sw_sync(9), w...
wx_irq_disable(9)
NAME wx_irq_disable - Mask off interrupt generation on the NIC SYNOPSIS void wx_irq_disable (struct wx *wx ); ARGUMENTS wx board private structure SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_hw.c wx_mng_present(9), wx_release_sw_sync(9), wx_acquire_sw_sync(9), wx_host_interface_command...
wx_is_non_eop(9)
NAME wx_is_non_eop - process handling of non-EOP buffers SYNOPSIS bool wx_is_non_eop (struct wx_ring *rx_ring , union wx_rx_desc *rx_desc , struct sk_buff *skb ); ARGUMENTS rx_ring Rx ring being processed rx_desc Rx descriptor for current buffer skb Current socket buffer containing buf...
wx_lpbthresh(9)
NAME wx_lpbthresh - calculate low water mark for flow control SYNOPSIS int wx_lpbthresh (struct wx *wx ); ARGUMENTS wx board private structure to calculate for SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_hw.c wx_irq_disable(9), wx_mng_present(9), wx_release_sw_sync(9), wx_acquire_sw_sync(...
wx_mng_present(9)
NAME wx_mng_present - returns 0 when management capability is present SYNOPSIS int wx_mng_present (struct wx *wx ); ARGUMENTS wx pointer to hardware structure SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_hw.c wx_irq_disable(9), wx_release_sw_sync(9), wx_acquire_sw_sync(9), wx_host_inter...
wx_mta_vector(9)
NAME wx_mta_vector - Determines bit-vector in multicast table to set SYNOPSIS u32 wx_mta_vector (struct wx *wx , u8 *mc_addr ); ARGUMENTS wx pointer to private structure mc_addr the multicast address DESCRIPTION Extracts the 12 bits, from a multicast address, to determine which bit-vector to...
wx_negotiate_api_version(9)
NAME wx_negotiate_api_version - Negotiate supported API version SYNOPSIS int wx_negotiate_api_version (struct wx *wx , int api ); ARGUMENTS wx pointer to the HW structure api integer containing requested API version RETURN returns 0 on success, negative error code on failure SEE ALSO Kernel...
wx_obtain_mbx_lock_pf(9)
NAME wx_obtain_mbx_lock_pf - obtain mailbox lock SYNOPSIS int wx_obtain_mbx_lock_pf (struct wx *wx , u16 vf ); ARGUMENTS wx pointer to the HW structure vf the VF index RETURN return 0 on success and -EBUSY on failure SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_mbx.c wx_...
wx_obtain_mbx_lock_vf(9)
NAME wx_obtain_mbx_lock_vf - obtain mailbox lock SYNOPSIS int wx_obtain_mbx_lock_vf (struct wx *wx ); ARGUMENTS wx pointer to the HW structure RETURN return 0 on success and -EBUSY on failure SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_mbx.c wx_obtain_mbx_lock_pf(9), wx_check_for_ack_pf...
wx_pbthresh_setup(9)
NAME wx_pbthresh_setup - calculate and setup high low water marks SYNOPSIS void wx_pbthresh_setup (struct wx *wx ); ARGUMENTS wx board private structure to calculate for SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_hw.c wx_irq_disable(9), wx_mng_present(9), wx_release_sw_sync(9), wx_acquir...
wx_poll(9)
NAME wx_poll - NAPI polling RX/TX cleanup routine SYNOPSIS int wx_poll (struct napi_struct *napi , int budget ); ARGUMENTS napi napi struct with our devices info in it budget amount of work driver is allowed to do this pass, in packets DESCRIPTION This function will clean all queues associated wi...
wx_poll_for_ack(9)
NAME wx_poll_for_ack - Wait for message acknowledgment SYNOPSIS int wx_poll_for_ack (struct wx *wx ); ARGUMENTS wx pointer to the HW structure RETURN return 0 if the VF has successfully received a message ack SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_mbx.c wx_obtain_mbx_lock_pf(9), wx_c...
wx_poll_for_msg(9)
NAME wx_poll_for_msg - Wait for message notification SYNOPSIS int wx_poll_for_msg (struct wx *wx ); ARGUMENTS wx pointer to the HW structure RETURN return 0 if the VF has successfully received a message notification SEE ALSO Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_mbx.c wx_obtain_mbx_lock_pf(9...
wx_process_skb_fields(9)
NAME wx_process_skb_fields - Populate skb header fields from Rx descriptor SYNOPSIS void wx_process_skb_fields (struct wx_ring *rx_ring , union wx_rx_desc *rx_desc , struct sk_buff *skb ); ARGUMENTS rx_ring rx descriptor ring packet is being transacted on rx_desc pointer to the EOP Rx descriptor ...
wx_ptp_clear_tx_timestamp(9)
NAME wx_ptp_clear_tx_timestamp - utility function to clear Tx timestamp state SYNOPSIS void wx_ptp_clear_tx_timestamp (struct wx *wx ); ARGUMENTS wx the private board structure DESCRIPTION This function should be called whenever the state related to a Tx timestamp needs to be cleared. This helps ensure that...
wx_ptp_convert_to_hwtstamp(9)
NAME wx_ptp_convert_to_hwtstamp - convert register value to hw timestamp SYNOPSIS void wx_ptp_convert_to_hwtstamp (struct wx *wx , struct skb_shared_hwtstamps *hwtstamp , u64 timestamp ); ARGUMENTS wx private board structure hwtstamp stack timestamp structure timestamp unsigned 64bit sys...
wx_ptp_overflow_check(9)
NAME wx_ptp_overflow_check - watchdog task to detect SYSTIME overflow SYNOPSIS void wx_ptp_overflow_check (struct wx *wx ); ARGUMENTS wx pointer to wx struct DESCRIPTION this watchdog task periodically reads the timecounter in order to prevent missing when the system time registers wrap around. This needs ...