aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/net-sysfs.c
AgeCommit message (Expand)AuthorFilesLines
2024-05-03net: no longer acquire RTNL in threaded_show()Eric Dumazet1-4/+4
2024-04-15net: constify net_classHeiner Kallweit1-1/+1
2024-04-08net: dqs: use sysfs_emit() in favor of sprintf()Eric Dumazet1-3/+3
2024-03-08net: dqs: add NIC stall detector based on BQLJakub Kicinski1-0/+62
2024-03-07net: introduce include/net/rps.hEric Dumazet1-0/+1
2024-02-19net: sysfs: Do not create sysfs for non BQL deviceBreno Leitao1-11/+24
2024-02-14net-sysfs: convert netstat_show() to RCUEric Dumazet1-3/+3
2024-02-14net-sysfs: convert dev->operstate reads to lockless onesEric Dumazet1-3/+1
2024-02-14net-sysfs: use dev_addr_sem to remove races in address_show()Eric Dumazet1-3/+7
2024-02-14net-sysfs: convert netdev_show() to RCUEric Dumazet1-7/+10
2024-02-14net: annotate data-races around dev->name_assign_typeEric Dumazet1-2/+2
2023-12-08net: sysfs: fix locking in carrier readJohannes Berg1-2/+7
2023-12-05net: core: synchronize link-watch when carrier is queriedJohannes Berg1-1/+7
2023-08-03net: move struct netdev_rx_queue out of netdevice.hJakub Kicinski1-0/+1
2023-02-20net: make default_rps_mask a per netns attributePaolo Abeni1-7/+16
2023-02-14net-sysfs: make kobj_type structures constantThomas Weißschuh1-2/+2
2023-02-09net: introduce default_rps_mask netns attributePaolo Abeni1-0/+7
2023-02-09net-sysctl: factor-out rpm mask manipulation helpersPaolo Abeni1-30/+42
2022-12-16Merge tag 'driver-core-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-10/+10
2022-11-24driver core: make struct class.dev_uevent() take a const *Greg Kroah-Hartman1-2/+2
2022-11-22kobject: make kobject_get_ownership() take a constant kobject *Greg Kroah-Hartman1-4/+4
2022-11-09driver core: class: make namespace and get_ownership take const *Greg Kroah-Hartman1-4/+4
2022-11-03net: devlink: use devlink_port pointer instead of ndo_get_devlink_portJiri Pirko1-2/+2
2022-09-30net-sysfs: Convert to use sysfs_emit() APIsWang Yufen1-29/+29
2022-06-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2022-06-17net: fix data-race in dev_isalive()Eric Dumazet1-0/+1
2022-06-09net: rename reference+tracking helpersJakub Kicinski1-4/+4
2022-05-22net: wrap the wireless pointers in struct net_device in an ifdefJakub Kicinski1-8/+13
2022-04-07net: extract a few internals from netdevice.hJakub Kicinski1-0/+1
2022-03-15Merge tag 'v5.17-rc8' into sched/core, to pick up fixesIngo Molnar1-1/+1
2022-02-18net-sysfs: add check for netdevice being present to speed_showsuresh kumar1-1/+1
2022-02-16sched/isolation: Use single feature type while referring to housekeeping cpumaskFrederic Weisbecker1-2/+2
2022-02-16net: Decouple HK_FLAG_WQ and HK_FLAG_DOMAIN cpumask fetchFrederic Weisbecker1-3/+3
2021-12-08net-sysfs: warn if new queue objects are being created during device unregist...Antoine Tenart1-0/+7
2021-12-08net-sysfs: update the queue counts in the unregistration pathAntoine Tenart1-0/+3
2021-12-06net: add net device refcount tracker to struct netdev_queueEric Dumazet1-2/+2
2021-12-06net: add net device refcount tracker to struct netdev_rx_queueEric Dumazet1-2/+2
2021-11-23net: remove .ndo_change_proto_downJakub Kicinski1-8/+0
2021-11-22net-sysfs: Slightly optimize 'xps_queue_show()'Christophe JAILLET1-1/+1
2021-11-17net: use an atomic_long_t for queue->trans_timeoutEric Dumazet1-5/+1
2021-10-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2021-10-25net-sysfs: initialize uid and gid before calling net_ns_get_ownershipXin Long1-2/+2
2021-10-08net-sysfs: try not to restart the syscall if it will fail eventuallyAntoine Tenart1-0/+55
2021-10-07of: net: move of_net under net/Jakub Kicinski1-1/+1
2021-03-22net-sysfs: remove possible sleep from an RCU read-side critical sectionAntoine Tenart1-1/+1
2021-03-18net-sysfs: move the xps cpus/rxqs retrieval in a common functionAntoine Tenart1-77/+48
2021-03-18net-sysfs: move the rtnl unlock up in the xps show helpersAntoine Tenart1-14/+11
2021-03-18net: move the xps maps to an arrayAntoine Tenart1-3/+3
2021-03-18net: remove the xps possible_maskAntoine Tenart1-2/+2
2021-03-18net: embed nr_ids in the xps mapsAntoine Tenart1-16/+22
2021-03-18net: embed num_tc in the xps mapsAntoine Tenart1-28/+17
2021-03-18net-sysfs: make xps_cpus_show and xps_rxqs_show consistentAntoine Tenart1-15/+18
2021-03-18net-sysfs: store the return of get_netdev_queue_index in an unsigned intAntoine Tenart1-4/+7
2021-03-18net-sysfs: convert xps_cpus_show to bitmap_zallocAntoine Tenart1-6/+6
2021-02-09net: add sysfs attribute to control napi threaded modeWei Wang1-0/+40
2021-02-08net-sysfs: Add rtnl locking for getting Tx queue traffic classAlexander Duyck1-3/+10
2020-12-28net-sysfs: take the rtnl lock when accessing xps_rxqs_map and num_tcAntoine Tenart1-5/+18
2020-12-28net-sysfs: take the rtnl lock when storing xps_rxqsAntoine Tenart1-0/+7
2020-12-28net-sysfs: take the rtnl lock when accessing xps_cpus_map and num_tcAntoine Tenart1-7/+22
2020-12-28net-sysfs: take the rtnl lock when storing xps_cpusAntoine Tenart1-0/+6
2020-12-14Merge tag 'fixes-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/brau...Linus Torvalds1-3/+3
2020-10-01net-sysfs: Fix inconsistent of format with argument type in net-sysfs.cYe Bin1-2/+2
2020-08-19net: Use generic ns_common::countChristian Brauner1-3/+3
2020-08-12net: accept an empty mask in /sys/class/net/*/queues/rx-*/rps_cpusEric Dumazet1-5/+7
2020-08-03Merge tag 'sched-core-2020-08-03' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+9
2020-07-21net-sysfs: add a newline when printing 'tx_timeout' by sysfsXiongfeng Wang1-1/+1
2020-07-08net: Restrict receive packets queuing to housekeeping CPUsAlex Belits1-1/+9
2020-05-15net: core: recursively find netdev by device nodeTobias Waldekranz1-5/+5
2020-04-23net: napi: use READ_ONCE()/WRITE_ONCE()Eric Dumazet1-2/+2
2020-04-23net: napi: add hard irqs deferral featureEric Dumazet1-0/+18
2020-04-20net: Add testing sysfs attributeAndrew Lunn1-1/+14
2020-04-09net-sysfs: remove redundant assignment to variable retColin Ian King1-1/+1
2020-02-26net-sysfs: add queue_change_owner()Christian Brauner1-0/+106
2020-02-26net-sysfs: add netdev_change_owner()Christian Brauner1-0/+27
2019-12-17net-sysfs: Call dev_hold always in rx_queue_add_kobjectJouni Hogander1-2/+5
2019-12-06net-sysfs: Call dev_hold always in netdev_queue_add_kobjectJouni Hogander1-2/+5
2019-11-20net-sysfs: fix netdev_queue_add_kobject() breakageEric Dumazet1-0/+1
2019-11-20net-sysfs: Fix reference count leak in rx|netdev_queue_add_kobjectJouni Hogander1-11/+13
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-2/+2
2019-05-07Merge tag 'driver-core-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+4
2019-04-25net-sysfs: Replace ktype default_attrs field with groupsKimberly Brown1-2/+4
2019-04-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-9/+5
2019-04-15Revert "net-sysfs: Fix memory leak in netdev_register_kobject"Wang Hai1-9/+5
2019-03-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-7/+13
2019-03-23net: convert rps_needed and rfs_needed to new static branch apiEric Dumazet1-2/+2
2019-03-21net-sysfs: Fix memory leak in netdev_register_kobjectWang Hai1-5/+9
2019-03-19net-sysfs: call dev_hold if kobject_init_and_add successYueHaibing1-2/+4
2019-03-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+3
2019-03-04net-sysfs: Switch to bitmap_zalloc()Andy Shevchenko1-7/+5
2019-03-03net-sysfs: Fix mem leak in netdev_register_kobjectYueHaibing1-0/+3
2019-02-06net: Get rid of SWITCHDEV_ATTR_ID_PORT_PARENT_IDFlorian Fainelli1-15/+4
2019-02-06net: Introduce ndo_get_port_parent_id()Florian Fainelli1-1/+6
2018-12-06net: core: dev: Add extack argument to dev_change_flags()Petr Machata1-1/+1
2018-08-09net: allow to call netif_reset_xps_queues() under cpus_read_lockAndrei Vagin1-0/+4
2018-07-20net: create reusable function for getting ownership info of sysfs inodesTyler Hicks1-18/+0
2018-07-20net-sysfs: make sure objects belong to container's ownerDmitry Torokhov1-1/+46
2018-07-20net-sysfs: require net admin in the init ns for setting tx_maxrateTyler Hicks1-0/+3
2018-07-09net: Add support for subordinate device traffic classesAlexander Duyck1-1/+20
2018-07-09net-sysfs: Drop support for XPS and traffic_class on single queue deviceAlexander Duyck1-2/+13
2018-07-02net-sysfs: Add interface for Rx queue(s) map per Tx queueAmritha Nambiar1-0/+83
2018-07-02net: Refactor XPS for CPUs and Rx queuesAmritha Nambiar1-2/+2
2018-05-31net-sysfs: Fix memory leak in XPS configurationAlexander Duyck1-3/+3
2018-03-26net: Use octal not symbolic permissionsJoe Perches1-6/+6
2018-01-29net: introduce helper dev_change_tx_queue_len()Cong Wang1-24/+1
2018-01-22net: core: Expose number of link up/down transitionsDavid Decotigny1-1/+24
2018-01-15net: Convert atomic_t net::count to refcount_tKirill Tkhai1-3/+3
2017-11-14net-sysfs: trigger netlink notification on ifalias change via sysfsRoopa Prabhu1-3/+14
2017-10-03net: core: decouple ifalias get/set from rtnl lockFlorian Westphal1-9/+8
2017-08-18net: style cleanupsstephen hemminger1-32/+36
2017-08-18net: mark receive queue attributes ro_after_initstephen hemminger1-12/+13
2017-08-18net: make queue attributes ro_after_initstephen hemminger1-21/+19
2017-08-18net: make BQL sysfs attributes ro_after_initstephen hemminger1-11/+11
2017-08-18net: drop unused attribute argument from sysfs queue funcsstephen hemminger1-26/+11
2017-08-18net: make net sysfs attributes ro_after_initstephen hemminger1-2/+2
2017-08-18net: constify net_ns_type_operationsstephen hemminger1-1/+1
2017-08-18net: make net_class ro_after_initstephen hemminger1-1/+1
2017-08-18net: constify netdev_class_filestephen hemminger1-2/+2
2017-08-18net: don't decrement kobj reference count on init failurestephen hemminger1-12/+10
2017-07-01net: convert net.passive from atomic_t to refcount_tReshetova, Elena1-1/+1
2017-06-29net: constify attribute_group structures.Arvind Yadav1-3/+3
2017-05-18net: make struct net_device::tx_queue_len unsigned intAlexey Dobriyan1-2/+6
2017-03-13net: use net->count to check whether a netns is alive or notAndrey Vagin1-3/+3
2017-03-02sched/headers: Prepare to move signal wakeup & sigpending methods from <linux...Ingo Molnar1-0/+1
2016-10-31net: Add support for XPS with QoS via traffic classesAlexander Duyck1-11/+20
2016-10-31net: Add sysfs value to determine queue traffic classAlexander Duyck1-1/+19
2016-10-27net: skip genenerating uevents for network namespaces that are exitingAndrey Vagin1-3/+11
2016-07-01net: introduce NETDEV_CHANGE_TX_QUEUE_LENJason Wang1-1/+14
2016-06-08net-sysfs: fix missing <linux/of_net.h>Ben Dooks1-0/+1
2016-02-25net: core: use __ethtool_get_ksettingsDavid Decotigny1-6/+9
2016-02-18net-sysfs: remove unused fmt_long_hexColin Ian King1-1/+0
2016-02-06net: add rx_nohandler stat counterJarod Wilson1-0/+2
2015-12-22net-sysfs: use to_net_dev in net_namespace()Geliang Tang1-2/+2
2015-12-15switchdev: Pass original device to port netdev driverIdo Schimmel1-0/+1
2015-10-03switchdev: rename SWITCHDEV_ATTR_* enum values to SWITCHDEV_ATTR_ID_*Jiri Pirko1-1/+1
2015-10-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+1
2015-09-29net sysfs: Print link speed as signed integerAlexander Stein1-2/+1
2015-09-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+9
2015-09-24net: fix net_device refcountingRussell King1-0/+9
2015-09-17net-sysfs: get_netdev_queue_index() cleanupThadeu Lima de Souza Cascardo1-6/+3
2015-08-13net: allow sleeping when modifying store_rps_mapSasha Levin1-4/+4
2015-08-07net: Fix race condition in store_rps_mapTom Herbert1-4/+7
2015-07-15net core: Add protodown support.Anuradha Karuppiah1-0/+14
2015-05-13switchdev: don't use anonymous union on switchdev attr/obj structsScott Feldman1-2/+2
2015-05-12switchdev: convert parent_id_get to switchdev attr getScott Feldman1-3/+7
2015-05-12switchdev: s/netdev_switch_/switchdev_/ and s/NETDEV_SWITCH_/SWITCHDEV_/Jiri Pirko1-1/+1
2015-04-02dev: introduce dev_get_iflink()Nicolas Dichtel1-1/+9
2015-03-18net: add support for phys_port_nameDavid Ahern1-0/+23
2015-03-18net: Add max rate tx queue attributeJohn Fastabend1-12/+55
2015-03-09net: core: add of_find_net_device_by_node()Florian Fainelli1-0/+25
2015-02-13net: use %*pb[l] to print bitmaps including cpumasks and nodemasksTejun Heo1-21/+7
2014-12-02net-sysfs: expose physical switch id for particular deviceJiri Pirko1-0/+24
2014-12-02net: rename netdev_phys_port_id to more generic nameJiri Pirko1-1/+1
2014-11-10net: gro: add a per device gro flush timerEric Dumazet1-0/+18
2014-07-24net: do not name the pointer to struct net_device netWANG Cong1-71/+71
2014-07-15net: add name_assign_type netdev attributeTom Gundersen1-0/+20
2014-04-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-6/+16
2014-03-31net-sysfs: expose number of carrier on/off changesdavid decotigny1-0/+11
2014-02-26net: Add sysfs file for port numberAmir Vadai1-0/+2
2014-02-20net-sysfs: fix comment typo 'CONFIG_SYFS'Paul Bolle1-1/+1
2014-02-14net-sysfs: get_netdev_queue_index() cleanupEric Dumazet1-6/+3
2014-01-19net: fix "queues" uevent between network namespacesWeilong Chen1-0/+26
2014-01-16net-sysfs: add support for device-specific rx queue sysfs attributesMichael Dalton1-21/+29
2014-01-05net: netdev_kobject_init: annotate with __initDaniel Borkmann1-1/+1
2013-12-10net: more spelling fixesstephen hemminger1-2/+2
2013-11-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-1/+1
2013-11-03net: extend net_device allocation to vmalloc()Eric Dumazet1-1/+1
2013-09-26sysfs: make attr namespace interface less convolutedTejun Heo1-6/+8
2013-09-07Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-0/+8
2013-09-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-0/+23
2013-08-28sysfs: Restrict mounting sysfsEric W. Biederman1-0/+8
2013-07-30net: export physical port id via sysfsJiri Pirko1-0/+22
2013-07-26net: core: convert class code to use dev_groupsGreg Kroah-Hartman1-61/+75
2013-05-06rps_dev_flow_table_release(): no need to delay vfree()Al Viro1-11/+1
2013-02-23net/core: apply pm_runtime_set_memalloc_noio on network devicesMing Lei1-0/+5
2013-01-10net: Add support for XPS without sysfs being definedAlexander Duyck1-14/+0
2013-01-10net: Add functions netif_reset_xps_queue and netif_set_xps_queueAlexander Duyck1-143/+5
2012-12-28net: allow to change carrier via sysfsJiri Pirko1-1/+14
2012-12-22CONFIG_HOTPLUG removal from networking coreGreg KH1-4/+0
2012-11-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+20
2012-11-19net: remove unnecessary wireless includesJohannes Berg1-2/+0
2012-11-18net: Allow userns root control of the core of the network stack.Eric W. Biederman1-5/+10
2012-11-16wireless: add back sysfs directoryJohannes Berg1-0/+20
2012-09-05net: add unknown state to sysfs NIC duplex exportNikolay Aleksandrov1-3/+15
2012-06-05wireless: remove wext sysfsJohannes Berg1-74/+0
2012-04-15net: cleanup unsigned to unsigned intEric Dumazet1-4/+4
2012-04-12net/core: simple_strtoul cleanupShuah Khan1-3/+2
2012-02-24static keys: Introduce 'struct static_key', static_key_true()/false() and sta...Ingo Molnar1-2/+2
2012-01-17bql: Fix inconsistency between file mode and attr method.Hiroaki SHIMODA1-1/+1
2012-01-12net: reintroduce missing rcu_assign_pointer() callsEric Dumazet1-3/+3
2011-12-24rfs: better sizing of dev_flow_tableEric Dumazet1-17/+27
2011-12-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+5
2011-12-22rps: fix insufficient bounds checking in store_rps_dev_flow_table_cnt()Xi Wang1-2/+5
2011-12-05bql: fix CONFIG_XPS=n buildEric Dumazet1-2/+0
2011-11-29bql: Byte queue limitsTom Herbert1-8/+132
2011-11-29xps: Add xps_queue_release functionTom Herbert1-42/+47
2011-11-17net: use jump_label to shortcut RPS if not setupEric Dumazet1-2/+5
2011-11-16net: new counter for tx_timeout errors in sysfsdavid decotigny1-6/+31
2011-11-16net-sysfs: fixed minor sparse warningdavid decotigny1-6/+6
2011-10-31net: Add export.h for EXPORT_SYMBOL/THIS_MODULE to non-modulesPaul Gortmaker1-0/+1