Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- include/net/switchdev.h, line 400 (as a function)
- net/switchdev/switchdev.c, line 197 (as a function)
Referenced in 7 files:
- net/bridge/br_mrp_switchdev.c
- net/bridge/br_mst.c
- net/bridge/br_multicast.c
- net/bridge/br_stp.c
- net/bridge/br_switchdev.c, line 117
- net/bridge/br_vlan.c
- net/switchdev/switchdev.c, line 206
Smatch caller information:
net/bridge/br_mst.c br_mst_set_enabled() -> switchdev_port_attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->ethtool_ops->begin | 0,1835931156019712000,3096438129622650880,3900617307435175936,5716752743725981696,7946597811871383552,8525681326485266432 |
| PARAM_VALUE | 0 | dev->ethtool_ops->complete | 0,3066456658599772160,3725154072746565632,6586841582423441408,7106287630129446912 |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_mm | 0,871246504159531008,1782640983197487104,6800978227696902144,8546551779893547008 |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_mm_stats | 0,181867277093580800,5657799486394183680,5747745173089693696,8861185814274375680 |
| PARAM_VALUE | 0 | dev->ethtool_ops->set_mm | 0,1901320415777849344,3866000723147972608,5541409492295524352,6099901598508961792 |
| PARAM_VALUE | 1 | attr | 5799961063877308416 |
| PARAM_VALUE | 1 | attr->complete | 0 |
| PARAM_VALUE | 1 | attr->flags | 0 |
| PARAM_VALUE | 1 | attr->id | 11 |
| PARAM_VALUE | 1 | attr->u.brport_flags.mask | 0 |
| PARAM_VALUE | 1 | attr->u.mrouter | 0 |
| PARAM_VALUE | 2 | extack | 4971238048455385088 |
| PARAM_VALUE | 2 | extack->bad_attr | 0 |
| PARAM_VALUE | 2 | extack->cookie_len | 0 |
| PARAM_VALUE | 2 | extack->miss_nest | 0 |
| PARAM_VALUE | 2 | extack->miss_type | 0 |
| PARAM_VALUE | 2 | extack->policy | 0 |
| DATA_SOURCE | 2 | extack | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | attr->u.mst | 0-1 |
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &ops->srcu | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/bridge/br_mst.c br_mst_set_state() -> switchdev_port_attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->ethtool_ops->create_rxfh_context | 0,1193890977307893760,3411743749688197120,4061224044846587904,4457498795121053696,4492625381564977152,6869898235061968896 |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_channels | 0,381700660363722752,402840448096305152,1007128123812876288,1119130633137881088,1298351405801775104,1347577527654567936,1472258326854758400,1774082171574767616,1904170683163824128,2050736912875872256,2141909250710536192-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_coalesce | 0,120571013172043776,284554027957534720,285154942308282368,1305563585567670272,1345046505407942656,1381840223481233408,1485067124157730816,1763202220613722112,1942070703523815424,2023939577880678400,2120969740696072192-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_eeprom | 0,105132512822681600,183428446644498432,306047598098632704,709100124536971264,795195984216137728,900818716873285632,917013012708438016,923962352635863040,947935650546454528,1075139541495951360,1324562596710137856-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_eeprom_len | 0,20423498026807296,232616222546862080,282419484096442368,361380829234503680,631884988869804032,732387362734645248,783268266088747008,949610969806639104,1179434906118770688,1698277323935440896,1955590846917648384-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_eth_ctrl_stats | 0,739597994905448448,814799169891856384,1538386700735332352,1569736419809300480,2173021577057935360,4157435516957384704,4762342437294059520,5860048936633978880,6262004285802369024,6371869138122407936,7003801423590010880-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_eth_mac_stats | 0,95113867472478208,404549903494479872,432025592581763072,727854139338653696,728106209748561920,964061737704038400,1224056449919279104,1950366442606112768,2732765946482651136,2756096147947642880,2887698204679593984-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_fecparam | 0,363201284048154624,789194009940082688,805376857481867264,1182306097689899008,1371398954918379520,1459783414447779840,1481568091959975936,2580290828643438592,2665642746759204864,2883025107358474240,3369229158925000704-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_link_ext_state | 0,1281650680815353856,1471363006793740288,2066653251895574528,8975973974715154432,9149564991109386240 |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_module_eeprom | 0,50477904201809920,392231595602108416,673149123459514368,790510551265148928,843140386984730624,1171772849613266944,1307420112006623232,1746804306155012096,2176916437181927424,2268504436163936256,2718379551398850560-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_module_eeprom_by_page | 0,1430440385273372672,1769173443991474176,2004827167765094400,2738995612063457280,2902860852437274624,3286590027022254080,3900655308377874432,8705214358194540544 |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_module_info | 0,37771572221743104,43695256255938560,436579063967522816,755881198088134656,1350647281991528448,1458155903514292224,1539427936370884608,1660829274356891648,2892507550102409216,3537135896171343872,3947144237090660352-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_pause_stats | 0,215936480747220992,235242834884493312,679903210063843328,709435474624995328,2943097215907594240,2982401374083555328,3057717698551386112,3608821068454359040,4091116870998953984,5076132096717025280,5298962486601981952-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_pauseparam | 0,105583894505594880,112356132448034816,246982972293046272,276195450313760768,540067810635956224,806058688349028352,916875459205099520,934425286242816000,938510197668024320,1110118986399162368,1146232666098868224-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_per_queue_coalesce | 0,1347887175414112256,4240300478690430976,4720141515741904896,4786877506476294144,5431901608061763584,5977746586896924672,6178998959320543232,7307212591560638464,7679554716944793600,8276130556461604864 |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_priv_flags | 0,392871763766517760,571445033062490112,1038601693302452224,1330854503299719168,1996829197593051136,2120602555341991936,2173552884150882304,3799117996789252096,3895517883261427712,4644152912556638208,4961063779689103360-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_regs_len | 0,28614315456409600,186783498856022016,406242432226840576,409216797924679680,544266967285956608,616757943551795200,683805404439867392,705395991483863040,719166248949485568,821243011808858112,905042595615600640-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_ringparam | 0,115076430605103104,337519899690872832,345579457253011456,477100442971222016,606841767894261760,848845449082646528,1035538704314150912,1048688297885360128,1084106368245764096,1088979131734265856,1109627439118692352-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_rmon_stats | 0,2852884428120064,1220528009076183040,1584369078057046016,1628356586453483520,2397886107903258624,3447509567429505024,3788807140303278080,4600587696753242112,5675324815274024960,5859643016145719296,5879917080546779136-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_rx_ring_count | 0,43750612612079616,49167372649967616,255588250171949056,455975441402642432,612101713263845376,918177271230459904,953694964148768768,1116779929836167168,1205575459687424000,1292462775465041920,1408376719699828736-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_rxfh_fields | 0,300071341872242688,463968109165645824,759799749752893440,1356453219262840832,1563185841226833920,1683417440758657024,1909799368474025984,2056078908547821568,2860538968861749248,3219735651467763712,3745125616036200448-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_rxfh_indir_size | 0,251082969459560448,588046640700882944,719308329826930688,772926101020397568,819291875227414528,923092266113966080,1163574597402419200,2231226242587054080,2620075647048687616,2700132688109817856,2896062923641098240-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_rxfh_key_size | 0,36474519302082560,266877731771138048,764097059784024064,1061061046925545472,1163340560922599424,1285804556502589440,1612740227097063424,1684797127264481280,1956778155088887808,1964002706991906816,2023046998168682496-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_rxnfc | 0,48163946167062528,119967485186965504,334729535141437440,827877228515385344,901145631121133568,1195179054491906048,1276260840952041472,2173773904723390464,2177450300951400448,2615937429872562176,2869944468034445312-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->modify_rxfh_context | 0,2274879766485979136,2866542652935299072,4642694651803070464,5251344010917244928,5947095161631043584,7301979924060471296 |
| PARAM_VALUE | 0 | dev->ethtool_ops->remove_rxfh_context | 0,106227240452722688,513622018430513152,1648226983112282112,1705969192382881792,5541829826254528512,7874787804778274816 |
| PARAM_VALUE | 0 | dev->ethtool_ops->self_test | 0,65167805882830848,88384312829513728,101583844040957952,420337824634089472,764359100315111424,966294921911234560,1133880164152471552,2094614129261907968,2978675254221271040,3163923897216274432,3201470473291243520-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->set_channels | 0,21352709208489984,33543258012721152,357981756318547968,962571693657235456,1158283128963534848,1604486575358013440,1752142300785127424,1781611223656747008,1810429447847403520,1931004647370153984,2226164056597426176-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->set_coalesce | 0,93338130617008128,134523472192450560,149773321956114432,312156262384082944,565886891301040128,612530516132827136,808221703528730624,875109988141051904,953742350314876928,1075673810150154240,1088581463849836544-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->set_eeprom | 0,353174233338081280,375986164583550976,552450422749310976,1078365578190569472,1130212671822557184,1268342833713938432,1505382036578504704,1560941295676461056,1695775967548215296,1774045043163971584,1840704750910361600-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->set_fecparam | 0,370677996460683264,521861032247410688,1116604560543625216,1179195880862212096,2854002322586365952,2971989955215654912,2975163515517284352,3692299332845305856,3926203154416185344,5843575760813645824,5972863596153167872-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->set_pauseparam | 0,14989556868030464,124591074152259584,247051330984435712,276435117949108224,358441019087839232,616540647815913472,639550734606536704,802664535419531264,1083522067435573248,1257605729558593536,1425320646410952704-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->set_per_queue_coalesce | 0,240820585563430912,946325663756148736,3828578215493656576,4258707502422384640,4462411792739000320,5545663281159172096,5817425076709535744,7631063026855063552,7782535723123752960,8955819020949508096 |
| PARAM_VALUE | 0 | dev->ethtool_ops->set_phys_id | 0,68339801731481600,201119099510636544,472059534733504512,1038430727154839552,1096199906602209280,1878366887349555200,2117498094450606080,2144953763752366080,2199180973632528384,2422292281516519424,2497639842261450752-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->set_priv_flags | 0,296625663524864,925296044071501824,1269666955789279232,1537469415501418496,3842046803816841216,4167130044957933568,4435861317383462912,4720728724280090624,4991531932158885888,5617840717326471168,5784570722319364096-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->set_ringparam | 0,72369854274531328,144191064692645888,553376562346147840,610049649368301568,728061228243640320,984321747789283328,1091429068290265088,1207329950650777600,1312441694000996352,1325221050558406656,1475819332265877504-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->set_rxfh_fields | 0,357090127051399168,491541609283887104,752465275687395328,782229229927501824,1423100111563911168,1504537776758087680,1509088608911273984,1570628438055821312,1691060251693527040,2653936606816010240,2676070648206708736-s64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->set_rxnfc | 0,70703181726105600,266241618631204864,466970487141744640,892611041272385536,1283795552027103232,1416611445246517248,1657037639074361344,2267652676649656320,2980829714402250752,3157494360255463424,3516134674357522432-s64max |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-u64max |
| PARAM_VALUE | 1 | attr | 3846204525208739840 |
| PARAM_VALUE | 1 | attr->complete | 0 |
| PARAM_VALUE | 1 | attr->flags | 0 |
| PARAM_VALUE | 1 | attr->id | 2 |
| PARAM_VALUE | 1 | attr->u.brport_flags.mask | 0 |
| PARAM_VALUE | 1 | attr->u.mrouter | 0 |
| PARAM_VALUE | 1 | attr->u.mst | 0 |
| PARAM_VALUE | 1 | attr->u.mst_state.msti | 1-u16max |
| PARAM_VALUE | 2 | extack | 4971238048455385088 |
| PARAM_VALUE | 2 | extack->bad_attr | 0 |
| PARAM_VALUE | 2 | extack->bad_attr->nla_len | 4-u16max |
| PARAM_VALUE | 2 | extack->cookie_len | 0 |
| PARAM_VALUE | 2 | extack->miss_nest | 0 |
| PARAM_VALUE | 2 | extack->miss_type | 0 |
| PARAM_VALUE | 2 | extack->policy | 0 |
| DATA_SOURCE | 2 | extack | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_napi_configs | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->real_num_tx_queues | |
| UNITS | 0 | dev | unit_byte |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/bridge/br_mst.c br_mst_vlan_set_msti() -> switchdev_port_attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 587794496059097088 |
| PARAM_VALUE | 1 | attr->complete | 0 |
| PARAM_VALUE | 1 | attr->flags | 0 |
| PARAM_VALUE | 1 | attr->id | 13 |
| PARAM_VALUE | 1 | attr->u.brport_flags.mask | 0 |
| PARAM_VALUE | 1 | attr->u.mrouter | 0 |
| PARAM_VALUE | 1 | attr->u.mst | 0 |
| PARAM_VALUE | 2 | extack | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/bridge/br_vlan.c __br_vlan_set_proto() -> switchdev_port_attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 524648850479865856 |
| PARAM_VALUE | 1 | attr->complete | 0 |
| PARAM_VALUE | 1 | attr->flags | 2 |
| PARAM_VALUE | 1 | attr->id | 8 |
| PARAM_VALUE | 1 | attr->u.brport_flags.mask | 0 |
| PARAM_VALUE | 1 | attr->u.mrouter | 0 |
| PARAM_VALUE | 1 | attr->u.mst | 0 |
| PARAM_VALUE | 2 | extack | 948854884830830592,4971238048455385088 |
| PARAM_VALUE | 2 | extack->bad_attr | 0 |
| PARAM_VALUE | 2 | extack->cookie_len | 0 |
| PARAM_VALUE | 2 | extack->miss_nest | 0 |
| PARAM_VALUE | 2 | extack->miss_type | 0 |
| PARAM_VALUE | 2 | extack->policy | 0 |
| DATA_SOURCE | 2 | extack | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | attr->u.vlan_protocol | 0-u16max |
| UNITS | 0 | dev | unit_byte |
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &of->mutex |
net/bridge/br_vlan.c __br_vlan_set_proto() -> switchdev_port_attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 524648850479865856 |
| PARAM_VALUE | 1 | attr->complete | 0 |
| PARAM_VALUE | 1 | attr->flags | 2 |
| PARAM_VALUE | 1 | attr->id | 8 |
| PARAM_VALUE | 1 | attr->u.brport_flags.mask | 0 |
| PARAM_VALUE | 1 | attr->u.mrouter | 0 |
| PARAM_VALUE | 1 | attr->u.mst | 0 |
| PARAM_VALUE | 2 | extack | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | attr->u.vlan_protocol | 0-u16max |
| UNITS | 0 | dev | unit_byte |
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &of->mutex |
net/bridge/br_vlan.c br_vlan_filter_toggle() -> switchdev_port_attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 7506957886888013824 |
| PARAM_VALUE | 1 | attr->complete | 0 |
| PARAM_VALUE | 1 | attr->flags | 2 |
| PARAM_VALUE | 1 | attr->id | 7 |
| PARAM_VALUE | 1 | attr->u.brport_flags.mask | 0 |
| PARAM_VALUE | 1 | attr->u.mrouter | 0 |
| PARAM_VALUE | 1 | attr->u.mst | 0 |
| PARAM_VALUE | 2 | extack | 948854884830830592,4971238048455385088 |
| PARAM_VALUE | 2 | extack->bad_attr | 0 |
| PARAM_VALUE | 2 | extack->cookie_len | 0 |
| PARAM_VALUE | 2 | extack->miss_nest | 0 |
| PARAM_VALUE | 2 | extack->miss_type | 0 |
| PARAM_VALUE | 2 | extack->policy | 0 |
| DATA_SOURCE | 2 | extack | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | attr->u.vlan_filtering | 0-1 |
| NO_OVERFLOW_SIMPLE | 1 | attr->u.vlan_filtering | |
| UNITS | 0 | dev | unit_byte |
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &of->mutex |
net/bridge/br_vlan.c nbp_vlan_init() -> switchdev_port_attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->addr_len | 6 |
| PARAM_VALUE | 0 | dev->dev_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->type | 1 |
| PARAM_VALUE | 0 | *dev->name | 0-255 |
| PARAM_VALUE | 1 | attr | 4236358899698454528 |
| PARAM_VALUE | 1 | attr->complete | 0 |
| PARAM_VALUE | 1 | attr->flags | 2 |
| PARAM_VALUE | 1 | attr->id | 7 |
| PARAM_VALUE | 1 | attr->orig_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | attr->u.brport_flags.mask | 0 |
| PARAM_VALUE | 1 | attr->u.mrouter | 0 |
| PARAM_VALUE | 1 | attr->u.mst | 0 |
| PARAM_VALUE | 2 | extack | 0,4971238048455385088 |
| DATA_SOURCE | 2 | extack | $1 |
| NOSPEC | 0 | dev->ifindex | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dev->flags | 0-525313[c] |
| USER_DATA | 0 | dev->ifindex | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->group | |
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex |
net/bridge/br_mrp_switchdev.c br_mrp_port_switchdev_set_role() -> switchdev_port_attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 4953854894363348992 |
| PARAM_VALUE | 1 | attr->complete | 0 |
| PARAM_VALUE | 1 | attr->flags | 0 |
| PARAM_VALUE | 1 | attr->id | 12 |
| PARAM_VALUE | 1 | attr->u.brport_flags.mask | 0 |
| PARAM_VALUE | 1 | attr->u.mrouter | 0 |
| PARAM_VALUE | 1 | attr->u.mrp_port_role | 0-1 |
| PARAM_VALUE | 1 | attr->u.mst | 0 |
| PARAM_VALUE | 2 | extack | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/bridge/br_mrp_switchdev.c br_mrp_port_switchdev_set_state() -> switchdev_port_attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 848929096655060992 |
| PARAM_VALUE | 1 | attr->complete | 0 |
| PARAM_VALUE | 1 | attr->flags | 0 |
| PARAM_VALUE | 1 | attr->id | 1 |
| PARAM_VALUE | 1 | attr->u.brport_flags.mask | 0 |
| PARAM_VALUE | 1 | attr->u.mrouter | 0 |
| PARAM_VALUE | 1 | attr->u.mst | 0 |
| PARAM_VALUE | 1 | attr->u.stp_state | 0,3-4 |
| PARAM_VALUE | 2 | extack | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex |
net/bridge/br_switchdev.c br_switchdev_set_port_flag() -> switchdev_port_attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 2970157261152157696 |
| PARAM_VALUE | 1 | attr->complete | 0 |
| PARAM_VALUE | 1 | attr->flags | 4 |
| PARAM_VALUE | 1 | attr->id | 3 |
| PARAM_VALUE | 1 | attr->u.brport_flags.mask | 1-6379617 |
| PARAM_VALUE | 1 | attr->u.mrouter | 0 |
| PARAM_VALUE | 1 | attr->u.mst | 0 |
| PARAM_VALUE | 2 | extack | 4971238048455385088,5815034229123354624 |
| DATA_SOURCE | 2 | extack | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/bridge/br_multicast.c br_mc_disabled_update() -> switchdev_port_attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 8261597256040214528 |
| PARAM_VALUE | 1 | attr->complete | 0 |
| PARAM_VALUE | 1 | attr->flags | 4 |
| PARAM_VALUE | 1 | attr->id | 9 |
| PARAM_VALUE | 1 | attr->u.brport_flags.mask | 0 |
| PARAM_VALUE | 1 | attr->u.mrouter | 0 |
| PARAM_VALUE | 1 | attr->u.mst | 0 |
| PARAM_VALUE | 2 | extack | 0,948854884830830592,4971238048455385088 |
| PARAM_VALUE | 2 | extack->bad_attr | 0 |
| PARAM_VALUE | 2 | extack->cookie_len | 0 |
| PARAM_VALUE | 2 | extack->miss_nest | 0 |
| PARAM_VALUE | 2 | extack->miss_type | 0 |
| PARAM_VALUE | 2 | extack->policy | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | extack | $2 |
| NOSPEC | 0 | dev->ifindex | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dev->flags | 0-525313[c] |
| USER_DATA | 0 | dev->ifindex | 0-s32max[c] |
| USER_DATA | 1 | attr->u.mc_disabled | 0-1 |
| NO_OVERFLOW_SIMPLE | 0 | dev->group | |
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | &br->multicast_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/bridge/br_multicast.c br_mc_router_state_change() -> switchdev_port_attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 4866310118681587712 |
| PARAM_VALUE | 1 | attr->complete | 0 |
| PARAM_VALUE | 1 | attr->flags | 4 |
| PARAM_VALUE | 1 | attr->id | 10 |
| PARAM_VALUE | 1 | attr->u.brport_flags.mask | 0 |
| PARAM_VALUE | 1 | attr->u.mst | 0 |
| PARAM_VALUE | 2 | extack | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | attr->u.mrouter | 0[c] |
| LOCK2 | &p->multicast_lock | ||
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct net_bridge)->multicast_lock |
net/bridge/br_multicast.c br_port_mc_router_state_change() -> switchdev_port_attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | attr | 822620904245293056 |
| PARAM_VALUE | 1 | attr->complete | 0 |
| PARAM_VALUE | 1 | attr->flags | 4 |
| PARAM_VALUE | 1 | attr->id | 5 |
| PARAM_VALUE | 1 | attr->orig_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | attr->u.brport_flags.mask | 0 |
| PARAM_VALUE | 1 | attr->u.mst | 0 |
| PARAM_VALUE | 2 | extack | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | &brmctx->br->multicast_lock | ||
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct net_bridge)->multicast_lock |
net/bridge/br_stp.c __set_ageing_time() -> switchdev_port_attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 1232497897064980480 |
| PARAM_VALUE | 1 | attr->complete | 0 |
| PARAM_VALUE | 1 | attr->flags | 6 |
| PARAM_VALUE | 1 | attr->id | 6 |
| PARAM_VALUE | 1 | attr->u.brport_flags.mask | 0 |
| PARAM_VALUE | 1 | attr->u.mrouter | 0 |
| PARAM_VALUE | 1 | attr->u.mst | 0 |
| PARAM_VALUE | 2 | extack | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| NOSPEC | 0 | dev->ifindex | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dev->flags | 0-525824[c] |
| USER_DATA | 0 | dev->ifindex | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_napi_configs | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->tx_queue_len | |
| UNITS | 0 | dev | unit_byte |
net/bridge/br_stp.c br_set_state() -> switchdev_port_attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-u64max |
| PARAM_VALUE | 0 | *dev->name | 0-255 |
| PARAM_VALUE | 1 | attr | 716871685930405888 |
| PARAM_VALUE | 1 | attr->complete | 0 |
| PARAM_VALUE | 1 | attr->flags | 4 |
| PARAM_VALUE | 1 | attr->id | 1 |
| PARAM_VALUE | 1 | attr->u.brport_flags.mask | 0 |
| PARAM_VALUE | 1 | attr->u.mrouter | 0 |
| PARAM_VALUE | 1 | attr->u.mst | 0 |
| PARAM_VALUE | 1 | attr->u.stp_state | 0-4 |
| PARAM_VALUE | 2 | extack | 0 |
| NOSPEC | 0 | dev->ifindex | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dev->flags | 0-527361[c] |
| USER_DATA | 0 | dev->ifindex | 0-s32max[c] |
| USER_DATA | 0 | dev->mtu | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_napi_configs | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_tc | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | dev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->tx_queue_len | |
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | &br->lock | ||
| HALF_LOCKED2 | &p->br->lock | ||
| HALF_LOCKED2 | bh |