Pavel Emelyanov | 342709e | 2007-10-23 21:14:45 -0700 | [diff] [blame] | 1 | #ifndef __NET_SYSFS_H__ |
| 2 | #define __NET_SYSFS_H__ |
| 3 | |
| 4 | int netdev_kobject_init(void); |
| 5 | int netdev_register_kobject(struct net_device *); |
| 6 | void netdev_unregister_kobject(struct net_device *); |
Ben Hutchings | 62fe0b4 | 2010-09-27 08:24:33 +0000 | [diff] [blame] | 7 | #ifdef CONFIG_RPS |
| 8 | int net_rx_queue_update_kobjects(struct net_device *, int old_num, int new_num); |
Tom Herbert | 1d24eb4 | 2010-11-21 13:17:27 +0000 | [diff] [blame] | 9 | int netdev_queue_update_kobjects(struct net_device *net, |
| 10 | int old_num, int new_num); |
| 11 | |
Ben Hutchings | 62fe0b4 | 2010-09-27 08:24:33 +0000 | [diff] [blame] | 12 | #endif |
| 13 | |
Pavel Emelyanov | 342709e | 2007-10-23 21:14:45 -0700 | [diff] [blame] | 14 | #endif |