id
stringlengths
4
63
text
stringlengths
153
8.81M
ne_set_enclave_threads_per_core(9)
NAME ne_set_enclave_threads_per_core - Set the threads of the provided core in the enclave data structure. SYNOPSIS int ne_set_enclave_threads_per_core (struct ne_enclave *ne_enclave , int core_id , u32 vcpu_id ); ARGUMENTS ne_enclave Private data associated with the current enclave. core_id Core id to g...
ne_set_kernel_param(9)
NAME ne_set_kernel_param - Set the NE CPU pool value via the NE kernel parameter. SYNOPSIS int ne_set_kernel_param (const char *val , const struct kernel_param *kp ); ARGUMENTS val NE CPU pool string value. kp NE kernel parameter associated with the NE CPU pool. CONTEXT Process context. RET...
ne_set_user_mem_region(9)
NAME ne_set_user_mem_region - Set a user space memory region for the given enclave. SYNOPSIS int ne_set_user_mem_region (int enclave_fd , struct ne_user_mem_region ne_user_mem_region ); ARGUMENTS enclave_fd The file descriptor associated with the enclave. ne_user_mem_region User space memo...
ne_set_user_memory_region_ioctl(9)
NAME ne_set_user_memory_region_ioctl - Add user space memory region to the slot associated with the current enclave. SYNOPSIS int ne_set_user_memory_region_ioctl (struct ne_enclave *ne_enclave , struct ne_user_memory_region mem_region ); ARGUMENTS ne_enclave Private data associated with the current enclave. ...
ne_setup_cpu_pool(9)
NAME ne_setup_cpu_pool - Set the NE CPU pool after handling sanity checks such as not sharing CPU cores with the primary / parent VM or not using CPU 0, which should remain available for the primary / parent VM. Offline the CPUs from the pool after the checks passed. SYNOPSIS int ne_setup_cpu_pool (const char *ne_c...
ne_setup_msix(9)
NAME ne_setup_msix - Setup MSI-X vectors for the PCI device. SYNOPSIS int ne_setup_msix (struct pci_dev *pdev ); ARGUMENTS pdev PCI device to setup the MSI-X for. CONTEXT Process context. RETURN * 0 on success. * Negative return value on failure. SEE ALSO Kernel file ./drivers/virt/nitro_enclaves/ne_pci_...
ne_start_enclave(9)
NAME ne_start_enclave - Start the given enclave. SYNOPSIS int ne_start_enclave (int enclave_fd , struct ne_enclave_start_info *enclave_start_info ); ARGUMENTS enclave_fd The file descriptor associated with the enclave. enclave_start_info Enclave metadata used for starting e.g. vsock CID. ...
ne_start_enclave_check_booted(9)
NAME ne_start_enclave_check_booted - Start the enclave and wait for a heartbeat from it, on a newly created vsock channel, to check it has booted. SYNOPSIS int ne_start_enclave_check_booted (int enclave_fd ); ARGUMENTS enclave_fd The file descriptor associated with the enclave. CONTEXT Process context. RETURN * 0 ...
ne_start_enclave_ioctl(9)
NAME ne_start_enclave_ioctl - Trigger enclave start after the enclave resources, such as memory and CPU, have been set. SYNOPSIS int ne_start_enclave_ioctl (struct ne_enclave *ne_enclave , struct ne_enclave_start_info *enclave_start_info ); ARGUMENTS ne_enclave Private data associated with the current enclave. ...
ne_submit_request(9)
NAME ne_submit_request - Submit command request to the PCI device based on the command type. SYNOPSIS void ne_submit_request (struct pci_dev *pdev , enum ne_pci_dev_cmd_type cmd_type , void *cmd_request , size_t cmd_request_size ); ARGUMENTS pdev PCI device to send the command to. cmd_type Command t...
ne_teardown_cpu_pool(9)
NAME ne_teardown_cpu_pool - Online the CPUs from the NE CPU pool and cleanup the CPU pool. SYNOPSIS void ne_teardown_cpu_pool (void ); ARGUMENTS void no arguments CONTEXT Process context. SEE ALSO Kernel file ./drivers/virt/nitro_enclaves/ne_misc_dev.c Kernel API(9), NE_CPUS_SIZE(9), NE_EIF_LOAD_OFFSET(...
ne_teardown_msix(9)
NAME ne_teardown_msix - Teardown MSI-X vectors for the PCI device. SYNOPSIS void ne_teardown_msix (struct pci_dev *pdev ); ARGUMENTS pdev PCI device to teardown the MSI-X for. CONTEXT Process context. SEE ALSO Kernel file ./drivers/virt/nitro_enclaves/ne_pci_dev.c Kernel API(9), NE_DEFAULT_TIMEOUT_MSECS...
ne_wait_for_reply(9)
NAME ne_wait_for_reply - Wait for a reply of a PCI device command. SYNOPSIS int ne_wait_for_reply (struct pci_dev *pdev ); ARGUMENTS pdev PCI device for which a reply is waited. CONTEXT Process context. This function is called with the ne_pci_dev mutex held. RETURN * 0 on success. * Negative return value on...
nearbyint(3)
NAME nearbyint, nearbyintf, nearbyintl, rint, rintf, rintl - round to nearest integer LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double nearbyint(double x); float nearbyintf(float x); long double nearbyintl(long double x); double rint(double x); float rintf(float ...
nearbyint(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME nearbyint, nearbyintf, nearbyintl — floating-point rounding fun...
nearbyintf(3)
NAME nearbyint, nearbyintf, nearbyintl, rint, rintf, rintl - round to nearest integer LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double nearbyint(double x); float nearbyintf(float x); long double nearbyintl(long double x); double rint(double x); float rintf(float ...
nearbyintl(3)
NAME nearbyint, nearbyintf, nearbyintl, rint, rintf, rintl - round to nearest integer LIBRARY Math library (libm, -lm) SYNOPSIS #include <math.h> double nearbyint(double x); float nearbyintf(float x); long double nearbyintl(long double x); double rint(double x); float rintf(float ...
nearest_node_nodemask(9)
NAME nearest_node_nodemask - Find the node in @mask at the nearest distance from @node. SYNOPSIS int nearest_node_nodemask (int node , nodemask_t *mask ); ARGUMENTS node a valid node ID to start the search from. mask a pointer to a nodemask representing the allowed nodes. DESCRIPTION This func...
neato(1)
NAME dot - filter for drawing directed graphs neato - filter for drawing undirected graphs twopi - filter for radial layouts of graphs circo - filter for circular layout of graphs fdp - filter for drawing undirected graphs sfdp - filter for drawing large undirected graphs patchwork - filter for squarified tree maps osa...
need_seqretry(9)
NAME need_seqretry - validate seqlock_t "locking or lockless" read section SYNOPSIS int need_seqretry (seqlock_t *lock , int seq ); ARGUMENTS lock Pointer to seqlock_t seq sequence count, from read_seqbegin_or_lock RETURN true if a read section retry is required, false otherwise SEE ALSO Kern...
need_skb_unmap(9)
NAME need_skb_unmap - does the platform need unmapping of sk_buffs? SYNOPSIS int need_skb_unmap (void ); ARGUMENTS void no arguments DESCRIPTION Returns true if the platform needs sk_buff unmapping. The compiler optimizes away unnecessary code if this returns true. SEE ALSO Kernel file ./drivers/net/ethern...
need_wear_leveling(9)
NAME need_wear_leveling - checks whether to trigger a wear leveling work. UBI fetches free PEB from wl_pool, we check free PEBs from both 'wl_pool' and 'ubi->free', because free PEB in 'ubi->free' tree maybe moved into 'wl_pool' by ubi_refill_pools(). SYNOPSIS bool need_wear_leveling (struct ubi_device *ubi );...
need_write_all(9)
NAME need_write_all - determine if the LPT area is running out of free space. SYNOPSIS int need_write_all (struct ubifs_info *c ); ARGUMENTS c UBIFS file-system description object DESCRIPTION This function returns 1 if the LPT area is running out of free space and 0 if it is not. SEE ALSO Kernel file ./fs...
net_dim(9)
NAME net_dim - main DIM algorithm entry point SYNOPSIS void net_dim (struct dim *dim , const struct dim_sample *end_sample ); ARGUMENTS dim DIM instance information end_sample Current data measurement DESCRIPTION Called by the consumer. This is the main logic of the algorithm, where data is process...
net_dim_free_irq_moder(9)
NAME net_dim_free_irq_moder - free fields for irq moderation SYNOPSIS void net_dim_free_irq_moder (struct net_device *dev ); ARGUMENTS dev target network device SEE ALSO Kernel file ./include/linux/dim.h struct dim_cq_moder(9), struct dim_irq_moder(9), struct dim_sample(9), struct dim_stats(9), struct dim(9)...
net_dim_get_def_rx_moderation(9)
NAME net_dim_get_def_rx_moderation - provide the default RX moderation SYNOPSIS struct dim_cq_moder net_dim_get_def_rx_moderation (u8 cq_period_mode ); ARGUMENTS cq_period_mode CQ period mode SEE ALSO Kernel file ./include/linux/dim.h struct dim_cq_moder(9), struct dim_irq_moder(9), struct dim_sample(9), struct...
net_dim_get_def_tx_moderation(9)
NAME net_dim_get_def_tx_moderation - provide the default TX moderation SYNOPSIS struct dim_cq_moder net_dim_get_def_tx_moderation (u8 cq_period_mode ); ARGUMENTS cq_period_mode CQ period mode SEE ALSO Kernel file ./include/linux/dim.h struct dim_cq_moder(9), struct dim_irq_moder(9), struct dim_sample(9), struct...
net_dim_get_rx_irq_moder(9)
NAME net_dim_get_rx_irq_moder - get DIM rx results based on profile_ix SYNOPSIS struct dim_cq_moder net_dim_get_rx_irq_moder (struct net_device *dev , struct dim *dim ); ARGUMENTS dev target network device dim DIM context RETURN DIM irq moderation SEE ALSO Kernel file ./include/linux/dim.h...
net_dim_get_rx_moderation(9)
NAME net_dim_get_rx_moderation - provide a CQ moderation object for the given RX profile SYNOPSIS struct dim_cq_moder net_dim_get_rx_moderation (u8 cq_period_mode , int ix ); ARGUMENTS cq_period_mode CQ period mode ix Profile index SEE ALSO Kernel file ./include/linux/dim.h struct dim_cq_moder(9...
net_dim_get_tx_irq_moder(9)
NAME net_dim_get_tx_irq_moder - get DIM tx results based on profile_ix SYNOPSIS struct dim_cq_moder net_dim_get_tx_irq_moder (struct net_device *dev , struct dim *dim ); ARGUMENTS dev target network device dim DIM context RETURN DIM irq moderation SEE ALSO Kernel file ./include/linux/dim.h...
net_dim_get_tx_moderation(9)
NAME net_dim_get_tx_moderation - provide a CQ moderation object for the given TX profile SYNOPSIS struct dim_cq_moder net_dim_get_tx_moderation (u8 cq_period_mode , int ix ); ARGUMENTS cq_period_mode CQ period mode ix Profile index SEE ALSO Kernel file ./include/linux/dim.h struct dim_cq_moder(9...
net_dim_init_irq_moder(9)
NAME net_dim_init_irq_moder - collect information to initialize irq moderation SYNOPSIS int net_dim_init_irq_moder (struct net_device *dev , u8 profile_flags , u8 coal_flags , u8 rx_mode , u8 tx_mode , void (*rx_dim_work)(struct work_struct *work) , void (*tx_dim_work)(struct work_struct *work) ); ARGUMENTS dev ...
net_dim_set_rx_mode(9)
NAME net_dim_set_rx_mode - set DIM rx cq mode SYNOPSIS void net_dim_set_rx_mode (struct net_device *dev , u8 rx_mode ); ARGUMENTS dev target network device rx_mode target rx cq mode SEE ALSO Kernel file ./include/linux/dim.h struct dim_cq_moder(9), struct dim_irq_moder(9), struct dim_sample(...
net_dim_set_tx_mode(9)
NAME net_dim_set_tx_mode - set DIM tx cq mode SYNOPSIS void net_dim_set_tx_mode (struct net_device *dev , u8 tx_mode ); ARGUMENTS dev target network device tx_mode target tx cq mode SEE ALSO Kernel file ./include/linux/dim.h struct dim_cq_moder(9), struct dim_irq_moder(9), struct dim_sample(...
net_dim_setting(9)
NAME net_dim_setting - initialize DIM's cq mode and schedule worker SYNOPSIS void net_dim_setting (struct net_device *dev , struct dim *dim , bool is_tx ); ARGUMENTS dev target network device dim DIM context is_tx true indicates the tx direction, false indicates the rx direction ...
net_dim_work_cancel(9)
NAME net_dim_work_cancel - synchronously cancel dim's worker SYNOPSIS void net_dim_work_cancel (struct dim *dim ); ARGUMENTS dim DIM context SEE ALSO Kernel file ./include/linux/dim.h struct dim_cq_moder(9), struct dim_irq_moder(9), struct dim_sample(9), struct dim_stats(9), struct dim(9), enum dim_cq_p...
net_failover_create(9)
NAME net_failover_create - Create and register a failover instance SYNOPSIS struct failover * net_failover_create (struct net_device *standby_dev ); ARGUMENTS standby_dev standby netdev DESCRIPTION Creates a failover netdev and registers a failover instance for a standby netdev. Used by paravirtual drivers that use ...
net_failover_destroy(9)
NAME net_failover_destroy - Destroy a failover instance SYNOPSIS void net_failover_destroy (struct failover *failover ); ARGUMENTS failover pointer to failover instance DESCRIPTION Unregisters any slave netdevs associated with the failover instance by calling failover_slave_unregister. unregisters the failover...
net_if.h(0p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME net/if.h — sockets local interfaces SYNOPSIS #include <net/if....
net_mp_netmem_place_in_cache(9)
NAME net_mp_netmem_place_in_cache - give a netmem to a page pool SYNOPSIS void net_mp_netmem_place_in_cache (struct page_pool *pool , netmem_ref netmem ); ARGUMENTS pool the page pool to place the netmem into netmem netmem to give DESCRIPTION Push an accounted netmem into the page pool's allocati...
net_ns_barrier(9)
NAME net_ns_barrier - wait until concurrent net_cleanup_work is done SYNOPSIS void net_ns_barrier (void ); ARGUMENTS void no arguments DESCRIPTION cleanup_net runs from work queue and will first remove namespaces from the global list, then run net exit functions. Call this in module exit path to make sure th...
net_ns_get_ownership(9)
NAME net_ns_get_ownership - get sysfs ownership data for @net SYNOPSIS void net_ns_get_ownership (const struct net *net , kuid_t *uid , kgid_t *gid ); ARGUMENTS net network namespace in question (can be NULL) uid kernel user ID for sysfs objects gid kernel group ID for sysfs ob...
net_test_phy_loopback_tcp_bad_csum(9)
NAME net_test_phy_loopback_tcp_bad_csum - PHY loopback test with a deliberately corrupted TCP checksum SYNOPSIS int net_test_phy_loopback_tcp_bad_csum (struct net_device *ndev ); ARGUMENTS ndev the network device to test DESCRIPTION Builds the same minimal Ethernet/IPv4/TCP frame as net_test_phy_loopback_tcp...
netcell_init_one(9)
NAME netcell_init_one - Register Netcell ATA PCI device with kernel services SYNOPSIS int netcell_init_one (struct pci_dev *pdev , const struct pci_device_id *ent ); ARGUMENTS pdev PCI device to register ent Entry in netcell_pci_tbl matching with pdev DESCRIPTION Called from kernel PCI layer. ...
netconsole_write(9)
NAME netconsole_write - Generic function to send a msg to all targets SYNOPSIS void netconsole_write (struct nbcon_write_context *wctxt , bool extended ); ARGUMENTS wctxt nbcon write context extended "true" for extended console mode DESCRIPTION Given an nbcon write context, send the message to the n...
netdb.h(0p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME netdb.h — definitions for network database operations SYNOPSIS...
netdev2adap(9)
NAME netdev2adap - return the adapter structure associated with a net_device SYNOPSIS struct adapter * netdev2adap (const struct net_device *dev ); ARGUMENTS dev the netdev DESCRIPTION Return the struct adapter associated with a net_device SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/cxgb4vf/adapter....
netdev2pinfo(9)
NAME netdev2pinfo - return the port_info structure associated with a net_device SYNOPSIS struct port_info * netdev2pinfo (const struct net_device *dev ); ARGUMENTS dev the netdev DESCRIPTION Return the struct port_info associated with a net_device SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/cxgb4vf/...
netdev_alloc_frag(9)
NAME netdev_alloc_frag - allocate a page fragment SYNOPSIS void * netdev_alloc_frag (unsigned int fragsz ); ARGUMENTS fragsz fragment size DESCRIPTION Allocates a frag from a page for receive buffer. Uses GFP_ATOMIC allocations. SEE ALSO Kernel file ./include/linux/skbuff.h Kernel API(9), skb_frag_size(9), sk...
netdev_alloc_skb(9)
NAME netdev_alloc_skb - allocate an skbuff for rx on a specific device SYNOPSIS struct sk_buff * netdev_alloc_skb (struct net_device *dev , unsigned int length ); ARGUMENTS dev network device to receive on length length to allocate DESCRIPTION Allocate a new sk_buff and assign it a usage co...
netdev_bonding_info_change(9)
NAME netdev_bonding_info_change - Dispatch event about slave change SYNOPSIS void netdev_bonding_info_change (struct net_device *dev , struct netdev_bonding_info *bonding_info ); ARGUMENTS dev device bonding_info info to dispatch DESCRIPTION Send NETDEV_BONDING_INFO to netdev notif...
netdev_boot_base(9)
NAME netdev_boot_base - get address from boot time settings SYNOPSIS unsigned long netdev_boot_base (const char *prefix , int unit ); ARGUMENTS prefix prefix for network device unit id for network device DESCRIPTION Check boot time settings for the base address of device. The found settings are ...
netdev_boot_setup_add(9)
NAME netdev_boot_setup_add - add new setup entry SYNOPSIS int netdev_boot_setup_add (char *name , struct ifmap *map ); ARGUMENTS name name of the device map configured settings for the device DESCRIPTION Adds new setup entry to the dev_boot_setup list. The function returns 0 on error and 1 on...
netdev_boot_setup_check(9)
NAME netdev_boot_setup_check - check boot time settings SYNOPSIS int netdev_boot_setup_check (struct net_device *dev ); ARGUMENTS dev the netdevice DESCRIPTION Check boot time settings for the device. The found settings are set for the device to be used later in the device probing. Returns 0 if no settings...
netdev_cap_txqueue(9)
NAME netdev_cap_txqueue - check if selected tx queue exceeds device queues SYNOPSIS u16 netdev_cap_txqueue (struct net_device *dev , u16 queue_index ); ARGUMENTS dev network device queue_index given tx queue index DESCRIPTION Returns 0 if given tx queue index >= number of device tx queues, otherwise ...
netdev_change_features(9)
NAME netdev_change_features - recalculate device features SYNOPSIS void netdev_change_features (struct net_device *dev ); ARGUMENTS dev the device to check DESCRIPTION Recalculate dev->features set and send notifications even if they have not changed. Should be called instead of netdev_update_features if als...
netdev_change_proto_down_reason_locked(9)
NAME netdev_change_proto_down_reason_locked - proto down reason SYNOPSIS void netdev_change_proto_down_reason_locked (struct net_device *dev , unsigned long mask , u32 value ); ARGUMENTS dev device mask proto down mask value proto down value SEE ALSO Kernel file ./net/core/dev....
netdev_close(9)
NAME netdev_close - close network device SYNOPSIS int netdev_close (struct net_device *dev ); ARGUMENTS dev Network device. DESCRIPTION This function process the close operation of network device. This is caused by the user command "ifconfig ethX down." Return 0 if successful; otherwise an error code indic...
netdev_completed_queue(9)
NAME netdev_completed_queue - report bytes and packets completed by device SYNOPSIS void netdev_completed_queue (struct net_device *dev , unsigned int pkts , unsigned int bytes ); ARGUMENTS dev network device pkts actual number of packets sent over the medium bytes actual number o...
netdev_compute_master_upper_features(9)
NAME netdev_compute_master_upper_features - compute feature from lowers SYNOPSIS void netdev_compute_master_upper_features (struct net_device *dev , bool update_header ); ARGUMENTS dev the upper device update_header whether to update upper device's header_len/headroom/tailroom DESC...
netdev_drivername(9)
NAME netdev_drivername - network driver for the device SYNOPSIS const char * netdev_drivername (const struct net_device *dev ); ARGUMENTS dev network device DESCRIPTION Determine network driver for device. SEE ALSO Kernel file ./net/core/dev.c dev_add_pack(9), __dev_remove_pack(9), dev_remove_pack(9), ...
netdev_features_change(9)
NAME netdev_features_change - device changes features SYNOPSIS void netdev_features_change (struct net_device *dev ); ARGUMENTS dev device to cause notification DESCRIPTION Called to indicate a device has changed features. SEE ALSO Kernel file ./net/core/dev.c dev_add_pack(9), __dev_remove_pack(9), dev...
netdev_get_by_flags_rcu(9)
NAME netdev_get_by_flags_rcu - find any device with given flags SYNOPSIS struct net_device * netdev_get_by_flags_rcu (struct net *net , netdevice_tracker *tracker , unsigned short if_flags , unsigned short mask ); ARGUMENTS net the applicable net namespace tracker tracking object for the acquired ...
netdev_get_by_index(9)
NAME netdev_get_by_index - find a device by its ifindex SYNOPSIS struct net_device * netdev_get_by_index (struct net *net , int ifindex , netdevice_tracker *tracker , gfp_t gfp ); ARGUMENTS net the applicable net namespace ifindex index of device tracker tracking object for the acquire...
netdev_get_by_index_lock(9)
NAME netdev_get_by_index_lock - find a device by its ifindex SYNOPSIS struct net_device * netdev_get_by_index_lock (struct net *net , int ifindex ); ARGUMENTS net the applicable net namespace ifindex index of device DESCRIPTION Search for an interface by index. If a valid device with ifindex is f...
netdev_get_by_name(9)
NAME netdev_get_by_name - find a device by its name SYNOPSIS struct net_device * netdev_get_by_name (struct net *net , const char *name , netdevice_tracker *tracker , gfp_t gfp ); ARGUMENTS net the applicable net namespace name name to find tracker tracking object for the acquired r...
netdev_get_drvinfo(9)
NAME netdev_get_drvinfo - get network driver information SYNOPSIS void netdev_get_drvinfo (struct net_device *dev , struct ethtool_drvinfo *info ); ARGUMENTS dev Network device. info Ethtool driver info data structure. DESCRIPTION This procedure returns the driver information. SEE ALSO Kernel...
netdev_get_eeprom(9)
NAME netdev_get_eeprom - get EEPROM data SYNOPSIS int netdev_get_eeprom (struct net_device *dev , struct ethtool_eeprom *eeprom , u8 *data ); ARGUMENTS dev Network device. eeprom Ethtool EEPROM data structure. data Buffer to store the EEPROM data. DESCRIPTION This function dumps t...
netdev_get_eeprom_len(9)
NAME netdev_get_eeprom_len - get EEPROM length SYNOPSIS int netdev_get_eeprom_len (struct net_device *dev ); ARGUMENTS dev Network device. DESCRIPTION This function returns the length of the EEPROM. Return length of the EEPROM. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c struct ksz_hw_...
netdev_get_ethtool_stats(9)
NAME netdev_get_ethtool_stats - get network device statistics SYNOPSIS void netdev_get_ethtool_stats (struct net_device *dev , struct ethtool_stats *stats , u64 *data ); ARGUMENTS dev Network device. stats Ethtool statistics data structure. data Buffer to store the statistics. DE...
netdev_get_link(9)
NAME netdev_get_link - get network device link status SYNOPSIS u32 netdev_get_link (struct net_device *dev ); ARGUMENTS dev Network device. DESCRIPTION This function gets the link status from the PHY. Return true if PHY is linked and false otherwise. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz...
netdev_get_link_ksettings(9)
NAME netdev_get_link_ksettings - get network device settings SYNOPSIS int netdev_get_link_ksettings (struct net_device *dev , struct ethtool_link_ksettings *cmd ); ARGUMENTS dev Network device. cmd Ethtool command. DESCRIPTION This function queries the PHY and returns its state in the ethtool...
netdev_get_msglevel(9)
NAME netdev_get_msglevel - get debug message level SYNOPSIS u32 netdev_get_msglevel (struct net_device *dev ); ARGUMENTS dev Network device. DESCRIPTION This function returns current debug message level. Return current debug message flags. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884x.c str...
netdev_get_name(9)
NAME netdev_get_name - get a netdevice name, knowing its ifindex. SYNOPSIS int netdev_get_name (struct net *net , char *name , int ifindex ); ARGUMENTS net network namespace name a pointer to the buffer where the name will be stored. ifindex the ifindex of the interface to get the n...
netdev_get_pauseparam(9)
NAME netdev_get_pauseparam - get flow control parameters SYNOPSIS void netdev_get_pauseparam (struct net_device *dev , struct ethtool_pauseparam *pause ); ARGUMENTS dev Network device. pause Ethtool PAUSE settings data structure. DESCRIPTION This procedure returns the PAUSE control flow setting...
netdev_get_regs(9)
NAME netdev_get_regs - get register dump SYNOPSIS void netdev_get_regs (struct net_device *dev , struct ethtool_regs *regs , void *ptr ); ARGUMENTS dev Network device. regs Ethtool registers data structure. ptr Buffer to store the register values. DESCRIPTION This procedure dum...
netdev_get_regs_len(9)
NAME netdev_get_regs_len - get length of register dump SYNOPSIS int netdev_get_regs_len (struct net_device *dev ); ARGUMENTS dev Network device. DESCRIPTION This function returns the length of the register dump. Return length of the register dump. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/ksz884...
netdev_get_ringparam(9)
NAME netdev_get_ringparam - get tx/rx ring parameters SYNOPSIS void netdev_get_ringparam (struct net_device *dev , struct ethtool_ringparam *ring , struct kernel_ethtool_ringparam *kernel_ring , struct netlink_ext_ack *extack ); ARGUMENTS dev Network device. ring Ethtool RING settings data stru...
netdev_get_sset_count(9)
NAME netdev_get_sset_count - get statistics size SYNOPSIS int netdev_get_sset_count (struct net_device *dev , int sset ); ARGUMENTS dev Network device. sset The statistics set number. DESCRIPTION This function returns the size of the statistics to be reported. Return size of the statistics to...
netdev_get_strings(9)
NAME netdev_get_strings - get statistics identity strings SYNOPSIS void netdev_get_strings (struct net_device *dev , u32 stringset , u8 *buf ); ARGUMENTS dev Network device. stringset String set identifier. buf Buffer to store the strings. DESCRIPTION This procedure returns the stri...
netdev_get_wol(9)
NAME netdev_get_wol - get Wake-on-LAN support SYNOPSIS void netdev_get_wol (struct net_device *dev , struct ethtool_wolinfo *wol ); ARGUMENTS dev Network device. wol Ethtool Wake-on-LAN data structure. DESCRIPTION This procedure returns Wake-on-LAN support. SEE ALSO Kernel file ./drivers/n...
netdev_get_xmit_slave(9)
NAME netdev_get_xmit_slave - Get the xmit slave of master device SYNOPSIS struct net_device * netdev_get_xmit_slave (struct net_device *dev , struct sk_buff *skb , bool all_slaves ); ARGUMENTS dev device skb The packet all_slaves assume all the slaves are active DESCRIPTION The refer...
netdev_has_any_lower_dev(9)
NAME netdev_has_any_lower_dev - Check if device is linked to some device SYNOPSIS bool netdev_has_any_lower_dev (struct net_device *dev ); ARGUMENTS dev device DESCRIPTION Find out if a device is linked to a lower device and return true in case it is. The caller must hold the RTNL lock. SEE ALSO Kernel fil...
netdev_has_any_upper_dev(9)
NAME netdev_has_any_upper_dev - Check if device is linked to some device SYNOPSIS bool netdev_has_any_upper_dev (struct net_device *dev ); ARGUMENTS dev device DESCRIPTION Find out if a device is linked to an upper device and return true in case it is. The caller must hold the RTNL lock. SEE ALSO Kernel fi...
netdev_has_upper_dev(9)
NAME netdev_has_upper_dev - Check if device is linked to an upper device SYNOPSIS bool netdev_has_upper_dev (struct net_device *dev , struct net_device *upper_dev ); ARGUMENTS dev device upper_dev upper device to check DESCRIPTION Find out if a device is linked to specified upper device and return ...
netdev_has_upper_dev_all_rcu(9)
NAME netdev_has_upper_dev_all_rcu - Check if device is linked to an upper device SYNOPSIS bool netdev_has_upper_dev_all_rcu (struct net_device *dev , struct net_device *upper_dev ); ARGUMENTS dev device upper_dev upper device to check DESCRIPTION Find out if a device is linked to specified upper de...
netdev_increment_features(9)
NAME netdev_increment_features - increment feature set by one SYNOPSIS netdev_features_t netdev_increment_features (netdev_features_t all , netdev_features_t one , netdev_features_t mask ); ARGUMENTS all current feature set one new feature set mask mask feature set DESCRIPTION ...
netdev_init(9)
NAME netdev_init - initialize network device. SYNOPSIS int netdev_init (struct net_device *dev ); ARGUMENTS dev Network device. DESCRIPTION This function initializes the network device. Return 0 if successful; otherwise an error code indicating failure. SEE ALSO Kernel file ./drivers/net/ethernet/micrel/...
netdev_intr(9)
NAME netdev_intr - interrupt handling SYNOPSIS irqreturn_t netdev_intr (int irq , void *dev_id ); ARGUMENTS irq Interrupt number. dev_id Network device. DESCRIPTION This function is called by upper network layer to signal interrupt. Return IRQ_HANDLED if interrupt is handled. SEE ALSO Kernel ...
netdev_ioctl(9)
NAME netdev_ioctl - I/O control processing SYNOPSIS int netdev_ioctl (struct net_device *dev , struct ifreq *ifr , int cmd ); ARGUMENTS dev Network device. ifr Interface request structure. cmd I/O control code. DESCRIPTION This function is used to process I/O control calls. R...
netdev_is_rx_handler_busy(9)
NAME netdev_is_rx_handler_busy - check if receive handler is registered SYNOPSIS bool netdev_is_rx_handler_busy (struct net_device *dev ); ARGUMENTS dev device to check DESCRIPTION Check if a receive handler is already registered for a given device. Return true if there one. The caller must hold the rtnl_m...
netdev_lower_get_first_private_rcu(9)
NAME netdev_lower_get_first_private_rcu - Get the first ->private from the lower neighbour list, RCU variant SYNOPSIS void * netdev_lower_get_first_private_rcu (struct net_device *dev ); ARGUMENTS dev device DESCRIPTION Gets the first netdev_adjacent->private from the dev's lower neighbour list. The caller m...
netdev_lower_get_next(9)
NAME netdev_lower_get_next - Get the next device from the lower neighbour list SYNOPSIS void * netdev_lower_get_next (struct net_device *dev , struct list_head **iter ); ARGUMENTS dev device iter list_head ** of the current position DESCRIPTION Gets the next netdev_adjacent from the dev's lowe...
netdev_lower_get_next_private(9)
NAME netdev_lower_get_next_private - Get the next ->private from the lower neighbour list SYNOPSIS void * netdev_lower_get_next_private (struct net_device *dev , struct list_head **iter ); ARGUMENTS dev device iter list_head ** of the current position DESCRIPTION Gets the next netdev_adjacent-...
netdev_lower_get_next_private_rcu(9)
NAME netdev_lower_get_next_private_rcu - Get the next ->private from the lower neighbour list, RCU variant SYNOPSIS void * netdev_lower_get_next_private_rcu (struct net_device *dev , struct list_head **iter ); ARGUMENTS dev device iter list_head ** of the current position DESCRIPTION Gets the ...
netdev_lower_state_changed(9)
NAME netdev_lower_state_changed - Dispatch event about lower device state change SYNOPSIS void netdev_lower_state_changed (struct net_device *lower_dev , void *lower_state_info ); ARGUMENTS lower_dev device lower_state_info state to dispatch DESCRIPTION Send NETDEV_CHANGELOWERSTATE to ne...
netdev_master_upper_dev_get(9)
NAME netdev_master_upper_dev_get - Get master upper device SYNOPSIS struct net_device * netdev_master_upper_dev_get (struct net_device *dev ); ARGUMENTS dev device DESCRIPTION Find a master upper device and return pointer to it or NULL in case it's not there. The caller must hold the RTNL lock. SEE ALSO Ker...
netdev_master_upper_dev_get_rcu(9)
NAME netdev_master_upper_dev_get_rcu - Get master upper device SYNOPSIS struct net_device * netdev_master_upper_dev_get_rcu (struct net_device *dev ); ARGUMENTS dev device DESCRIPTION Find a master upper device and return pointer to it or NULL in case it's not there. The caller must hold the RCU read lock. ...
netdev_master_upper_dev_link(9)
NAME netdev_master_upper_dev_link - Add a master link to the upper device SYNOPSIS int netdev_master_upper_dev_link (struct net_device *dev , struct net_device *upper_dev , void *upper_priv , void *upper_info , struct netlink_ext_ack *extack ); ARGUMENTS dev device upper_dev new upper device ...
netdev_napi_by_id_lock(9)
NAME netdev_napi_by_id_lock - find a device by NAPI ID and lock it SYNOPSIS struct napi_struct * netdev_napi_by_id_lock (struct net *net , unsigned int napi_id ); ARGUMENTS net the applicable net namespace napi_id ID of a NAPI of a target device DESCRIPTION Find a NAPI instance with napi_id. Lock...