search for: netdev_register_kobject

Displaying 12 results from an estimated 12 matches for "netdev_register_kobject".

2014 Jan 11
3
[PATCH net-next v2 4/4] virtio-net: initial debugfs support, export mergeable rx buffer size
...bove that are deemed unnecessary. (b) Add a per-netdev sysfs attribute group to net_device->sysfs_groups. Each attribute would display the mergeable packet buffer size for a given RX queue, and there would be max_queue_pairs attributes in total. This is already supported by net/core/net-sysfs.c:netdev_register_kobject(), but means that we would have a static set of per-RX queue files for all RX queues supported by the netdev, rather than dynamically displaying only the files corresponding to enabled RX queues (e.g., when # of RX queues is changed by ethtool -L <device>). For an example of this approach,...
2014 Jan 11
3
[PATCH net-next v2 4/4] virtio-net: initial debugfs support, export mergeable rx buffer size
...bove that are deemed unnecessary. (b) Add a per-netdev sysfs attribute group to net_device->sysfs_groups. Each attribute would display the mergeable packet buffer size for a given RX queue, and there would be max_queue_pairs attributes in total. This is already supported by net/core/net-sysfs.c:netdev_register_kobject(), but means that we would have a static set of per-RX queue files for all RX queues supported by the netdev, rather than dynamically displaying only the files corresponding to enabled RX queues (e.g., when # of RX queues is changed by ethtool -L <device>). For an example of this approach,...
2014 Jan 12
0
[PATCH net-next v2 4/4] virtio-net: initial debugfs support, export mergeable rx buffer size
...cessary. > > (b) Add a per-netdev sysfs attribute group to net_device->sysfs_groups. > Each attribute would display the mergeable packet buffer size for a given > RX queue, and there would be max_queue_pairs attributes in total. This > is already supported by net/core/net-sysfs.c:netdev_register_kobject(), > but means that we would have a static set of per-RX queue files for > all RX queues supported by the netdev, rather than dynamically displaying > only the files corresponding to enabled RX queues (e.g., when # of RX > queues is changed by ethtool -L <device>). For an exampl...
2014 Jan 08
2
[PATCH net-next v2 4/4] virtio-net: initial debugfs support, export mergeable rx buffer size
On 01/07/2014 01:25 PM, Michael Dalton wrote: > Add initial support for debugfs to virtio-net. Each virtio-net network > device will have a directory under /virtio-net in debugfs. The > per-network device directory will contain one sub-directory per active, > enabled receive queue. If mergeable receive buffers are enabled, each > receive queue directory will contain a read-only file
2014 Jan 08
2
[PATCH net-next v2 4/4] virtio-net: initial debugfs support, export mergeable rx buffer size
On 01/07/2014 01:25 PM, Michael Dalton wrote: > Add initial support for debugfs to virtio-net. Each virtio-net network > device will have a directory under /virtio-net in debugfs. The > per-network device directory will contain one sub-directory per active, > enabled receive queue. If mergeable receive buffers are enabled, each > receive queue directory will contain a read-only file
2019 Feb 22
15
net_failover slave udev renaming (was Re: [RFC PATCH net-next v6 4/4] netvsc: refactor notifier/event handling code to use the bypass framework)
Sorry for replying to this ancient thread. There was some remaining issue that I don't think the initial net_failover patch got addressed cleanly, see: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1815268 The renaming of 'eth0' to 'ens4' fails because the udev userspace was not specifically writtten for such kernel automatic enslavement. Specifically, if it is a bond
2019 Feb 26
0
[virtio-dev] Re: net_failover slave udev renaming (was Re: [RFC PATCH net-next v6 4/4] netvsc: refactor notifier/event handling code to use the bypass framework)
...| > (VF hot plugged in) | | > ixgbevf_probe() | | > register_netdev(ixgbevf_netdev) | | > netdev_register_kobject(ixgbevf_netdev) | | > kobject_add(ixgbevf_dev) | | > device_add(ixgbevf_dev) | | > kobject_uevent(&ixgbevf_dev->kobj, KOBJ_ADD) |...
2019 Feb 27
0
[virtio-dev] Re: net_failover slave udev renaming (was Re: [RFC PATCH net-next v6 4/4] netvsc: refactor notifier/event handling code to use the bypass framework)
...; (VF hot plugged in) | | > > > ixgbevf_probe() | | > > > register_netdev(ixgbevf_netdev) | | > > > netdev_register_kobject(ixgbevf_netdev) | | > > > kobject_add(ixgbevf_dev) | | > > > device_add(ixgbevf_dev) | | > > > kobject_uevent(&ixg...
2019 Feb 27
0
[virtio-dev] Re: net_failover slave udev renaming (was Re: [RFC PATCH net-next v6 4/4] netvsc: refactor notifier/event handling code to use the bypass framework)
...> (VF hot plugged in) | | > >> ixgbevf_probe() | | > >> register_netdev(ixgbevf_netdev) | | > >> netdev_register_kobject(ixgbevf_netdev) | | > >> kobject_add(ixgbevf_dev) | | > >> device_add(ixgbevf_dev) | | > >> kobject_uevent(&ixgbev...
2019 Feb 27
0
[virtio-dev] Re: net_failover slave udev renaming (was Re: [RFC PATCH net-next v6 4/4] netvsc: refactor notifier/event handling code to use the bypass framework)
...| | > > > > > ixgbevf_probe() | | > > > > > register_netdev(ixgbevf_netdev) | | > > > > > netdev_register_kobject(ixgbevf_netdev) | | > > > > > kobject_add(ixgbevf_dev) | | > > > > > device_add(ixgbevf_dev) | | > > > > &g...
2019 Feb 28
0
[virtio-dev] Re: net_failover slave udev renaming (was Re: [RFC PATCH net-next v6 4/4] netvsc: refactor notifier/event handling code to use the bypass framework)
...| > > > > > > > ixgbevf_probe() | | > > > > > > > register_netdev(ixgbevf_netdev) | | > > > > > > > netdev_register_kobject(ixgbevf_netdev) | | > > > > > > > kobject_add(ixgbevf_dev) | | > > > > > > > device_add(ixgbevf_dev) | |...
2019 Feb 28
1
[virtio-dev] Re: net_failover slave udev renaming (was Re: [RFC PATCH net-next v6 4/4] netvsc: refactor notifier/event handling code to use the bypass framework)
...| | > > > > > > ixgbevf_probe() | | > > > > > > register_netdev(ixgbevf_netdev) | | > > > > > > netdev_register_kobject(ixgbevf_netdev) | | > > > > > > kobject_add(ixgbevf_dev) | | > > > > > > device_add(ixgbevf_dev) | | > > &g...