Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 17 files:

Smatch caller information:

drivers/net/ethernet/marvell/mv643xx_eth.c mv643xx_eth_probe() -> netif_set_tso_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 dev->features 1099511693315
PARAM_VALUE 0 dev->hw_features 1099511693315
PARAM_VALUE 0 dev->netdev_ops 4411793656694255616
PARAM_VALUE 0 dev->priv_flags 0,4096-u32max
PARAM_VALUE 0 dev->vlan_features 65539
PARAM_VALUE 1 segs 100
BUF_SIZE 0 dev->dev.parent 1616
BUF_SIZE 0 dev->ethtool_ops 656
BUF_SIZE 0 dev->netdev_ops 760
DATA_SOURCE 0 dev r alloc_etherdev_mqs
BIT_INFO 0 dev->priv_flags 0x1000,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/netronome/nfp/nfp_net_repr.c nfp_repr_init() -> netif_set_tso_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->features 32-1649339859891
PARAM_VALUE 0 dev->hw_features 32-33,50-51,160-1649339859891,70368744177696-70368744177697,70368744177714-70368744177715,70368744177824-72018084037555
PARAM_VALUE 0 dev->netdev_ops 1948275910522441728
PARAM_VALUE 0 dev->vlan_features 32-33,50-51,1114144-1114145,1114162-1114163,4194336-1649339858995
PARAM_VALUE 1 segs 64
BUF_SIZE 0 dev->dev.parent (-1),1616
BUF_SIZE 0 dev->ethtool_ops 656
BUF_SIZE 0 dev->netdev_ops 760
CAPPED_DATA 0 dev->num_tx_queues 1
DATA_SOURCE 0 dev $1
FUZZY_MAX 0 dev->hw_features 32
FUZZY_MAX 0 dev->vlan_features 32
BIT_INFO 0 dev->features 0x20,0x180045103b3
BIT_INFO 0 dev->hw_features 0x20,0x4180045103b3
BIT_INFO 0 dev->vlan_features 0x20,0x18004510033
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &devlink->lock

drivers/net/ethernet/sfc/efx.c efx_register_netdev() -> netif_set_tso_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->netdev_ops 428814258390093824
PARAM_VALUE 1 segs 100
BUF_SIZE 0 dev->ethtool_ops 656
BUF_SIZE 0 dev->netdev_ops 760
BUF_SIZE 0 dev->stat_ops 24
CAPPED_DATA 0 dev->num_tx_queues 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 dev->irq 0-255
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/sfc/falcon/efx.c ef4_register_netdev() -> netif_set_tso_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->netdev_ops 5204448202656325632
PARAM_VALUE 1 segs 100
BUF_SIZE 0 dev->ethtool_ops 656
BUF_SIZE 0 dev->netdev_ops 760
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/sfc/ef100_netdev.c ef100_probe_netdev() -> netif_set_tso_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
BUF_SIZE 0 dev s32min-s32max
CAPPED_DATA 0 dev->num_rx_queues 1
CAPPED_DATA 0 dev->num_tx_queues 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 segs unit_byte

drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c mvpp2_port_probe() -> netif_set_tso_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 dev->features 1099511693331,1374389600275
PARAM_VALUE 0 dev->netdev_ops 4248105807194722304
PARAM_VALUE 1 segs 300
BUF_SIZE 0 dev->dev.parent 1616
BUF_SIZE 0 dev->ethtool_ops 656
BUF_SIZE 0 dev->netdev_ops 760
DATA_SOURCE 0 dev r alloc_etherdev_mqs
FUZZY_MAX 0 dev->features 1099511693331
BIT_INFO 0 dev->vlan_features 0x10013,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/marvell/mvneta.c mvneta_probe() -> netif_set_tso_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->features 1099511693331
PARAM_VALUE 0 dev->netdev_ops 2159869870606012416
PARAM_VALUE 0 dev->priv_flags 0,32768-u32max
PARAM_VALUE 1 segs 100
BUF_SIZE 0 dev->dev.parent 1616
BUF_SIZE 0 dev->ethtool_ops 656
BUF_SIZE 0 dev->netdev_ops 760
DATA_SOURCE 0 dev r devm_alloc_etherdev_mqs
BIT_INFO 0 dev->hw_features 0x10000010013,0xffffffffffffffff
BIT_INFO 0 dev->priv_flags 0x8000,0xffffffff
BIT_INFO 0 dev->vlan_features 0x10000010013,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/broadcom/bnge/bnge_netdev.c bnge_netdev_alloc() -> netif_set_tso_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 dev->hw_enc_features 500236307,9090170899
PARAM_VALUE 0 dev->hw_features 1649767694355,1658357628947,36834139783315,36834139816083,36842729717907,36842729750675,72018511872275,72018511905043,72027101806867,72027101839635,107202883961235,107202883994003,107211473895827,107211473928595-u64max
PARAM_VALUE 0 dev->netdev_ops 5799460777706500096
PARAM_VALUE 0 dev->priv_flags 0,4096-u32max
PARAM_VALUE 0 dev->vlan_features 1649767694387,1649767727155,1658357628979,1658357661747
PARAM_VALUE 1 segs 1-u16max
BUF_SIZE 0 dev->netdev_ops 760
BUF_SIZE 0 dev->stat_ops 24
DATA_SOURCE 0 dev r alloc_etherdev_mqs
FUZZY_MAX 0 dev->hw_enc_features 500236307
FUZZY_MAX 0 dev->hw_features 1649767694355
BIT_INFO 0 dev->features 0x1801dd14033,0xffffffffffffffff
BIT_INFO 0 dev->hw_enc_features 0x1dd10013,0x21dd10013
BIT_INFO 0 dev->hw_features 0x1801dd14013,0x8061821dd1c193
BIT_INFO 0 dev->priv_flags 0x1000,0xffffffff
BIT_INFO 0 dev->vlan_features 0x1801dd14033,0x1821dd1c033
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c otx2vf_probe() -> netif_set_tso_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 dev->features 36842230579347
PARAM_VALUE 0 dev->hw_features 617659247952019
PARAM_VALUE 1 segs 255
BUF_SIZE 0 dev->dev.parent 1616
CAPPED_DATA 0 dev->num_tx_queues 1
CAPPED_DATA 0 dev->real_num_tx_queues 1
DATA_SOURCE 0 dev r alloc_etherdev_mqs
BIT_INFO 0 dev->vlan_features 0x18200110013,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c otx2_probe() -> netif_set_tso_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 dev->hw_features 58832463134867,59107341041811,129201207312787,129476085219731,621782416556179,622057294463123,692151160734099,692426038641043
PARAM_VALUE 1 segs 255
BUF_SIZE 0 dev->dev.parent 1616
CAPPED_DATA 0 dev->num_tx_queues 1
DATA_SOURCE 0 dev r alloc_etherdev_mqs
BIT_INFO 0 dev->features 0x218200110093,0xffffffffffffffff
BIT_INFO 0 dev->hw_features 0x358200110093,0x275c200110193
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/realtek/rtase/rtase_main.c rtase_init_one() -> netif_set_tso_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 dev->hw_features 27487791808915
PARAM_VALUE 0 dev->netdev_ops 1815488006803935232
PARAM_VALUE 0 dev->priv_flags 0,32768-u32max
PARAM_VALUE 0 dev->vlan_features 65571
PARAM_VALUE 1 segs 64
BIT_INFO 0 dev->features 0x100001101b3,0xffffffffffffffff
BIT_INFO 0 dev->priv_flags 0x8000,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/realtek/r8169_main.c rtl_init_one() -> netif_set_tso_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->features 0,2-u64max
PARAM_VALUE 0 dev->hw_features 1099512742291
PARAM_VALUE 0 dev->netdev_ops 6531889172360339456
PARAM_VALUE 0 dev->priv_flags 0,32768-u32max
PARAM_VALUE 0 dev->vlan_features 65539
PARAM_VALUE 1 segs 64
BUF_SIZE 0 dev->dev.parent 1616
BUF_SIZE 0 dev->ethtool_ops 656
BUF_SIZE 0 dev->netdev_ops 760
DATA_SOURCE 0 dev r devm_alloc_etherdev_mqs
BIT_INFO 0 dev->features 0x10000000082,0xffffffffffffffff
BIT_INFO 0 dev->priv_flags 0x8000,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/realtek/r8169_main.c rtl_init_one() -> netif_set_tso_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->features 0,2-u64max
PARAM_VALUE 0 dev->hw_features 1099511693443,1099511693699
PARAM_VALUE 0 dev->netdev_ops 6531889172360339456
PARAM_VALUE 0 dev->priv_flags 0,32768-u32max
PARAM_VALUE 0 dev->vlan_features 65539
PARAM_VALUE 1 segs 24
BUF_SIZE 0 dev->dev.parent 1616
BUF_SIZE 0 dev->ethtool_ops 656
BUF_SIZE 0 dev->netdev_ops 760
DATA_SOURCE 0 dev r devm_alloc_etherdev_mqs
BIT_INFO 0 dev->features 0x10000000082,0xffffffffffffffff
BIT_INFO 0 dev->hw_features 0x10000010083,0x10000010183
BIT_INFO 0 dev->priv_flags 0x8000,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/freescale/fec_main.c fec_enet_init() -> netif_set_tso_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->netdev_ops 5947022485142544384
PARAM_VALUE 1 segs 100
BUF_SIZE 0 dev->dev.parent 1616
BUF_SIZE 0 dev->ethtool_ops 656
BUF_SIZE 0 dev->netdev_ops 760
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

net/core/dev.c netdev_compute_master_upper_features() -> netif_set_tso_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
CAPPED_DATA 1 segs 1
DATA_SOURCE 0 dev $0
BIT_INFO 0 dev->hw_enc_features 0x20000fc00080,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 dev->flags 0-526337[c]
USER_DATA 0 dev->ifindex 0-s32max[c]
USER_DATA 0 dev->mtu 0-s32max[c]
UNITS 0 dev unit_byte
UNITS 1 segs unit_byte
HALF_LOCKED2 global &rtnl_mutex

net/core/dev.c netif_inherit_tso_max() -> netif_set_tso_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
BUF_SIZE 0 dev->dcbnl_ops (-1),424
BUF_SIZE 0 dev->dev.parent (-1),1616
BUF_SIZE 0 dev->dev.type (-1),48
BUF_SIZE 0 dev->devlink_port (-1),472
BUF_SIZE 0 dev->ethtool_ops (-1),656
BUF_SIZE 0 dev->ieee80211_ptr (-1),2512
BUF_SIZE 0 dev->ieee802154_ptr (-1),272
BUF_SIZE 0 dev->ml_priv (-1),48
BUF_SIZE 0 dev->name_node (-1),64
BUF_SIZE 0 dev->name_node->name (-1),16
BUF_SIZE 0 dev->nd_net.net (-1),10304,10432,10624
BUF_SIZE 0 dev->netdev_ops (-1),760
BUF_SIZE 0 dev->qdisc_tx_busylock (-1),16
BUF_SIZE 0 dev->queue_mgmt_ops (-1),80
BUF_SIZE 0 dev->rtnl_link_ops (-1),288
BUF_SIZE 0 dev->stat_ops (-1),24
BUF_SIZE 0 dev->sysfs_rx_queue_group (-1),48
BUF_SIZE 0 dev->xdp_metadata_ops (-1),24
DATA_SOURCE 0 dev $0
STR_LEN 0 dev->ieee80211_ptr->wiphy (-1),5-6
STR_LEN 0 dev->name (-1),15
STR_LEN 0 dev->name_node->name (-1),15
STR_LEN 0 dev->nd_net.net (-1)
STR_LEN 0 dev->rtnl_link_ops->kind (-1),13
NOSPEC 0 dev->ifindex
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 dev->max_mtu 68-u16max
HOST_DATA 0 dev->mtu 68-u16max
USER_DATA 0 dev->ifindex s32min-s32max
USER_DATA 0 dev->threaded 0-255
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->phydev->attached_dev->group
NO_OVERFLOW_SIMPLE 0 dev->phydev->attached_dev->proto_down
NO_OVERFLOW_SIMPLE 0 dev->phydev->attached_dev->real_num_tx_queues
NO_OVERFLOW_SIMPLE 0 dev->phydev->attached_dev->stats.tx_bytes
NO_OVERFLOW_SIMPLE 0 dev->phydev->attached_dev->tx_queue_len
NO_OVERFLOW_SIMPLE 0 dev->real_num_rx_queues
NO_OVERFLOW_SIMPLE 0 dev->real_num_tx_queues
UNITS 0 dev unit_byte
UNITS 1 segs unit_byte
USER_PTR 0 dev->name_node->name
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &port->pnodes_lock
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/sfc/siena/efx.c efx_register_netdev() -> netif_set_tso_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->netdev_ops 9174800645163261952
PARAM_VALUE 1 segs 100
BUF_SIZE 0 dev->ethtool_ops 656
BUF_SIZE 0 dev->netdev_ops 760
CAPPED_DATA 0 dev->num_tx_queues 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 dev->irq 0-255
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/netronome/nfp/nfp_net_common.c nfp_net_netdev_init() -> netif_set_tso_max_segs()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->features 32-3379358052975539
PARAM_VALUE 0 dev->hw_features 32-33,50-51,160-161,178-179,288-4012676750574515
PARAM_VALUE 0 dev->netdev_ops 1464534295841079296,7635446382752022528
PARAM_VALUE 0 dev->vlan_features 32-33,50-51,1114144-1114145,1114162-1114163,4194336-4194337,4194354-4194355,5308448-5308449,5308466-5308467,469762080-3379358052974643
PARAM_VALUE 0 dev->xdp_features 1,11,17,27
PARAM_VALUE 1 segs 64
BUF_SIZE 0 dev->netdev_ops 760
BUF_SIZE 0 dev->udp_tunnel_nic_info (-1),72
CAPPED_DATA 0 dev->mtu 1
FUZZY_MAX 0 dev->hw_features 32
FUZZY_MAX 0 dev->vlan_features 32
FUZZY_MAX 0 dev->xdp_features 1
BIT_INFO 0 dev->features 0x20,0xc01821c5103b3
BIT_INFO 0 dev->hw_features 0x20,0xe41821c5103b3
BIT_INFO 0 dev->netdev_ops 0x520206c0780000,0x7df79e2fe1fdc000
BIT_INFO 0 dev->vlan_features 0x20,0xc01821c510033
BIT_INFO 0 dev->xdp_features 0x1,0x1b
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 dev->max_mtu 0-u32max
HOST_DATA 0 dev->mtu 0-1499[c]
HOST_DATA 0 dev->num_napi_configs 1-u32max
HOST_DATA 0 dev->num_rx_queues 1-u32max[c]
HOST_DATA 0 dev->num_tx_queues 1-u16max[c]
HOST_DATA 0 dev->priv_len 0,8,12,16,24,32,40,48,64,80,104,112,128,144,152,168,216,224,232
HOST_DATA 0 dev->real_num_rx_queues 1-u32max
HOST_DATA 0 dev->real_num_tx_queues 1-u16max
HALF_LOCKED2 &devlink->lock