netif_running (9) Linux Manual Page
netif_running – test if up Synopsis bool netif_running(const struct net_device * dev); Arguments dev network device Description Test if the device has been brought up. Copyright
netif_running – test if up Synopsis bool netif_running(const struct net_device * dev); Arguments dev network device Description Test if the device has been brought up. Copyright
netif_receive_skb – process receive buffer from network Synopsis int netif_receive_skb(struct sk_buff *skb); Arguments skb buffer to process Description netif_receive_skb is the main receive data processing function. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. This function may only be called from softirq context and interrupts…
netif_queue_stopped – test if transmit queue is flowblocked Synopsis bool netif_queue_stopped(const struct net_device * dev); Arguments dev network device Description Test if transmit queue on device is currently unable to send. Copyright
netif_oper_up – test if device is operational Synopsis bool netif_oper_up(const struct net_device * dev); Arguments dev network device Description Check if carrier is operational Copyright
netif_is_multiqueue – test if device has multiple transmit queues Synopsis bool netif_is_multiqueue(const struct net_device * dev); Arguments dev network device Description Check if device has multiple transmit queues Copyright
netif_get_num_default_rss_queues – default number of RSS queues Synopsis int netif_get_num_default_rss_queues(void); Arguments void no arguments Description This routine should set an upper limit on the number of RSS queues used by default by multiqueue devices. Copyright
netif_dormant_on – mark device as dormant. Synopsis void netif_dormant_on(struct net_device *dev); Arguments dev network device Description Mark device as dormant (as per RFC2863). The dormant state indicates that the relevant interface is not actually in a condition to pass packets (i.e., it is not ‘up’) but is in a “pending” state, waiting for some external…
netif_dormant_off – set device as not dormant. Synopsis void netif_dormant_off(struct net_device *dev); Arguments dev network device Description Device is not in dormant state. Copyright
netif_dormant – test if carrier present Synopsis bool netif_dormant(const struct net_device * dev); Arguments dev network device Description Check if carrier is present on device Copyright
netif_device_present – is device available or removed Synopsis bool netif_device_present(struct net_device * dev); Arguments dev network device Description Check if device has not been removed from system. Copyright
netif_device_detach – mark device as removed Synopsis void netif_device_detach(struct net_device *dev); Arguments dev network device Description Mark device as removed from system and therefore no longer available. Copyright
netif_device_attach – mark device as attached Synopsis void netif_device_attach(struct net_device *dev); Arguments dev network device Description Mark device as attached from system and restart if needed. Copyright
netif_carrier_on – set carrier Synopsis void netif_carrier_on(struct net_device *dev); Arguments dev network device Description Device has detected that carrier. Copyright
netif_carrier_ok – test if carrier present Synopsis bool netif_carrier_ok(const struct net_device * dev); Arguments dev network device Description Check if carrier is present on device Copyright
netif_carrier_off – clear carrier Synopsis void netif_carrier_off(struct net_device *dev); Arguments dev network device Description Device has detected loss of carrier. Copyright
netdev_upper_get_next_dev_rcu – Get the next dev from upper list Synopsis struct net_device *netdev_upper_get_next_dev_rcu(struct net_device *dev, struct list_head **iter); Arguments dev device iter list_head ** of the current position Description Gets the next device from the dev’s upper list, starting from iter position. The caller must hold RCU read lock. Copyright
netdev_upper_dev_unlink – Removes a link to upper device Synopsis void netdev_upper_dev_unlink(struct net_device *dev, struct net_device *upper_dev); Arguments dev device upper_dev new upper device Description Removes a link to device which is upper to this one. The caller must hold the RTNL lock. Copyright
netdev_upper_dev_link – Add a link to the upper device Synopsis int netdev_upper_dev_link(struct net_device *dev, struct net_device *upper_dev); Arguments dev device upper_dev new upper device Description Adds a link to device which is upper to this one. The caller must hold the RTNL lock. On a failure a negative errno code is returned. On success the…
netdev_update_features – recalculate device features Synopsis void netdev_update_features(struct net_device *dev); Arguments dev the device to check Description Recalculate dev->features set and send notifications if it has changed. Should be called after driver or hardware dependent conditions might have changed that influence the features. Copyright
netdev_txq_bql_enqueue_prefetchw – prefetch bql data for write Synopsis void netdev_txq_bql_enqueue_prefetchw(struct netdev_queue *dev_queue); Arguments dev_queue pointer to transmit queue Description BQL enabled drivers might use this helper in their ndo_start_xmit, to give appropriate hint to the CPU. Copyright