Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/meta/fbnic/fbnic_fw.c fbnic_fw_xmit_fw_write_chunk() -> fbnic_mbx_map_tlv_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fbd | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | fbd->fw_tx_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fbd->netdev->ethtool_ops->supported_coalesce_params | 0-3,17,19,34-35,48,51,59,63,204,236,273,511,513,529,547,561,563 |
| PARAM_VALUE | 0 | *fbd->cmpl_data | 0 |
| PARAM_VALUE | 1 | msg | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | msg->hdr.cannot_ignore | 0 |
| PARAM_VALUE | 1 | msg->hdr.is_msg | 1 |
| PARAM_VALUE | 1 | msg->hdr.rsvd | 0 |
| PARAM_VALUE | 1 | msg->hdr.type | 37 |
| BUF_SIZE | 0 | fbd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | fbd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | fbd | $0 |
| DATA_SOURCE | 1 | msg | r fbnic_tlv_msg_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | fbd | unit_byte |
| HALF_LOCKED2 | &devlink->lock |
drivers/net/ethernet/meta/fbnic/fbnic_fw.c fbnic_fw_xmit_heartbeat_message() -> fbnic_mbx_map_tlv_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fbd | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->hw_stats.hw_q->rde_pkt_bdq_drop.u.old_reg_value_32 | 0-4294967295 |
| PARAM_VALUE | 0 | fbd->hw_stats.hw_q->rde_pkt_cq_drop.u.old_reg_value_32 | 0-4294967295 |
| PARAM_VALUE | 0 | fbd->hw_stats.hw_q->rde_pkt_err.u.old_reg_value_32 | 0-4294967295 |
| PARAM_VALUE | 0 | fbd->mac->get_fec_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->mac->get_pcs_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->netdev->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-s64max |
| PARAM_VALUE | 0 | fbd->uc_addr4 | 1-u64max |
| PARAM_VALUE | 1 | msg | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | msg->hdr.cannot_ignore | 0 |
| PARAM_VALUE | 1 | msg->hdr.is_msg | 1 |
| PARAM_VALUE | 1 | msg->hdr.len | 1 |
| PARAM_VALUE | 1 | msg->hdr.rsvd | 0 |
| PARAM_VALUE | 1 | msg->hdr.type | 20 |
| DATA_SOURCE | 0 | fbd | $0 |
| DATA_SOURCE | 1 | msg | r fbnic_tlv_msg_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/meta/fbnic/fbnic_fw.c fbnic_fw_xmit_ownership_msg() -> fbnic_mbx_map_tlv_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fbd | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->mac->get_fec_stats | 3676484134554521600 |
| PARAM_VALUE | 0 | fbd->mac->get_pcs_stats | 7700767459908743168 |
| PARAM_VALUE | 0 | fbd->netdev->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-s64max |
| PARAM_VALUE | 0 | fbd->prev_firmware_time | 0 |
| PARAM_VALUE | 0 | fbd->uc_addr4 | 1-u64max |
| PARAM_VALUE | 1 | msg | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | msg->hdr.cannot_ignore | 0 |
| PARAM_VALUE | 1 | msg->hdr.is_msg | 1 |
| PARAM_VALUE | 1 | msg->hdr.rsvd | 0 |
| PARAM_VALUE | 1 | msg->hdr.type | 18 |
| DATA_SOURCE | 0 | fbd | $0 |
| DATA_SOURCE | 1 | msg | r fbnic_tlv_msg_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &netdev->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/meta/fbnic/fbnic_fw.c fbnic_fw_xmit_rpc_macda_sync() -> fbnic_mbx_map_tlv_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fbd | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->dev->iommu->attach_deferred | 0 |
| PARAM_VALUE | 0 | fbd->fw_cap.need_bmc_macda_sync | 1 |
| PARAM_VALUE | 0 | fbd->fw_cap.need_bmc_tcam_reinit | 0 |
| PARAM_VALUE | 0 | fbd->fw_reporter->auto_recover | 0-1 |
| PARAM_VALUE | 0 | fbd->fw_reporter->health_state | 0-255 |
| PARAM_VALUE | 0 | fbd->hw_stats.hw_q->rde_pkt_bdq_drop.u.old_reg_value_32 | 0-4294967295 |
| PARAM_VALUE | 0 | fbd->hw_stats.hw_q->rde_pkt_cq_drop.u.old_reg_value_32 | 0-4294967295 |
| PARAM_VALUE | 0 | fbd->hw_stats.hw_q->rde_pkt_err.u.old_reg_value_32 | 0-4294967295 |
| PARAM_VALUE | 0 | fbd->hw_stats.rpc.ipv4_esp.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.rpc.ipv4_frag.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.rpc.ipv6_esp.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.rpc.ipv6_frag.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.rpc.out_of_hdr_err.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.rpc.ovr_size_err.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.rpc.tcp_opt_err.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.rpc.unkn_etype.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.rpc.unkn_ext_hdr.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.tmi.drop.frames.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.tmi.ptp_bad_ts.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.tmi.ptp_good_ts.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.tmi.ptp_illegal_req.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.tti.cm_drop.frames.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.tti.frame_drop.frames.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->hw_stats.tti.tbi_drop.frames.u.old_reg_value_32 | u32max |
| PARAM_VALUE | 0 | fbd->mac | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->mac->get_fec_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->mac->get_pcs_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->mbx | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->otp_reporter->auto_recover | 0-1 |
| PARAM_VALUE | 0 | fbd->otp_reporter->health_state | 0-255 |
| PARAM_VALUE | 1 | msg | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | msg->hdr.cannot_ignore | 0 |
| PARAM_VALUE | 1 | msg->hdr.is_msg | 1 |
| PARAM_VALUE | 1 | msg->hdr.rsvd | 0 |
| PARAM_VALUE | 1 | msg->hdr.type | 70 |
| CAPPED_DATA | 0 | fbd->mac_addr_boundary | 1 |
| CAPPED_DATA | 0 | fbd->max_num_queues | 1 |
| DATA_SOURCE | 0 | fbd | $0 |
| DATA_SOURCE | 1 | msg | r fbnic_tlv_msg_alloc |
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/meta/fbnic/fbnic_fw.c fbnic_fw_xmit_send_logs() -> fbnic_mbx_map_tlv_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fbd | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->mac->get_eth_ctrl_stats | 4261181610207076352 |
| PARAM_VALUE | 0 | fbd->mac->get_eth_mac_stats | 3290386805554442240 |
| PARAM_VALUE | 0 | fbd->mac->get_fec_stats | 3676484134554521600 |
| PARAM_VALUE | 0 | fbd->mac->get_link | 2522778047849771008 |
| PARAM_VALUE | 0 | fbd->mac->get_link_event | 3822213427729780736 |
| PARAM_VALUE | 0 | fbd->mac->get_pause_stats | 7780547122057314304 |
| PARAM_VALUE | 0 | fbd->mac->get_pcs_stats | 7700767459908743168 |
| PARAM_VALUE | 0 | fbd->mac->get_rmon_stats | 1974047852114022400 |
| PARAM_VALUE | 0 | fbd->mac->get_sensor | 7201553899718569984 |
| PARAM_VALUE | 0 | fbd->mac->init_regs | 7750535783315251200 |
| PARAM_VALUE | 0 | fbd->mac->link_down | 3074944342695354368 |
| PARAM_VALUE | 0 | fbd->mac->link_up | 7867787319019593728 |
| PARAM_VALUE | 0 | fbd->mac->prepare | 1291118527101566976 |
| PARAM_VALUE | 1 | msg | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | msg->hdr.cannot_ignore | 0 |
| PARAM_VALUE | 1 | msg->hdr.is_msg | 1 |
| PARAM_VALUE | 1 | msg->hdr.rsvd | 0 |
| PARAM_VALUE | 1 | msg->hdr.type | 67 |
| BUF_SIZE | 0 | fbd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fbd | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | fbd | 1 |
| DATA_SOURCE | 0 | fbd | $0 |
| DATA_SOURCE | 1 | msg | r fbnic_tlv_msg_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | fbd->dsn | 0[c] |
| HOST_DATA | 0 | fbd->relaxed_ord | 0[c] |
| UNITS | 0 | fbd | unit_byte |
drivers/net/ethernet/meta/fbnic/fbnic_fw.c fbnic_fw_xmit_simple_msg() -> fbnic_mbx_map_tlv_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fbd | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->fw_cap.active_slot | 0 |
| PARAM_VALUE | 0 | fbd->fw_cap.all_multi | 0 |
| PARAM_VALUE | 0 | fbd->fw_cap.anti_rollback_version | 0 |
| PARAM_VALUE | 0 | fbd->fw_cap.bmc_present | 0 |
| PARAM_VALUE | 0 | fbd->fw_cap.link_fec | 0 |
| PARAM_VALUE | 0 | fbd->fw_cap.link_speed | 0 |
| PARAM_VALUE | 0 | fbd->fw_cap.need_bmc_macda_sync | 0 |
| PARAM_VALUE | 0 | fbd->fw_cap.need_bmc_tcam_reinit | 0 |
| PARAM_VALUE | 0 | fbd->fw_cap.running.bootloader.version | 0 |
| PARAM_VALUE | 0 | fbd->fw_cap.running.mgmt.version | 0 |
| PARAM_VALUE | 0 | fbd->fw_cap.stored.bootloader.version | 0 |
| PARAM_VALUE | 0 | fbd->fw_cap.stored.mgmt.version | 0 |
| PARAM_VALUE | 0 | fbd->fw_cap.stored.undi.version | 0 |
| PARAM_VALUE | 0 | fbd->fw_reporter->burst_period | 0-s64max |
| PARAM_VALUE | 0 | fbd->fw_reporter->dump_real_ts | 0-s64max |
| PARAM_VALUE | 0 | fbd->fw_reporter->dump_ts | 0-s64max |
| PARAM_VALUE | 0 | fbd->fw_reporter->error_count | 0-s64max |
| PARAM_VALUE | 0 | fbd->fw_reporter->graceful_period | 0-s64max |
| PARAM_VALUE | 0 | fbd->fw_reporter->health_state | 0-255 |
| PARAM_VALUE | 0 | fbd->fw_reporter->last_recovery_ts | 0-s64max |
| PARAM_VALUE | 0 | fbd->fw_reporter->recovery_count | 0-s64max |
| PARAM_VALUE | 0 | fbd->mac | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->mac->get_eth_ctrl_stats | 4261181610207076352 |
| PARAM_VALUE | 0 | fbd->mac->get_eth_mac_stats | 3290386805554442240 |
| PARAM_VALUE | 0 | fbd->mac->get_fec_stats | 3676484134554521600 |
| PARAM_VALUE | 0 | fbd->mac->get_link | 2522778047849771008 |
| PARAM_VALUE | 0 | fbd->mac->get_link_event | 3822213427729780736 |
| PARAM_VALUE | 0 | fbd->mac->get_pause_stats | 7780547122057314304 |
| PARAM_VALUE | 0 | fbd->mac->get_pcs_stats | 7700767459908743168 |
| PARAM_VALUE | 0 | fbd->mac->get_rmon_stats | 1974047852114022400 |
| PARAM_VALUE | 0 | fbd->mac->get_sensor | 7201553899718569984 |
| PARAM_VALUE | 0 | fbd->mac->init_regs | 7750535783315251200 |
| PARAM_VALUE | 0 | fbd->mac->link_down | 3074944342695354368 |
| PARAM_VALUE | 0 | fbd->mac->link_up | 7867787319019593728 |
| PARAM_VALUE | 0 | fbd->mac->prepare | 1291118527101566976 |
| PARAM_VALUE | 0 | fbd->mbx | 4096-ptr_max |
| PARAM_VALUE | 0 | fbd->otp_reporter->burst_period | 0-s64max |
| PARAM_VALUE | 0 | fbd->otp_reporter->dump_real_ts | 0-s64max |
| PARAM_VALUE | 0 | fbd->otp_reporter->dump_ts | 0-s64max |
| PARAM_VALUE | 0 | fbd->otp_reporter->error_count | 0-s64max |
| PARAM_VALUE | 0 | fbd->otp_reporter->graceful_period | 0-s64max |
| PARAM_VALUE | 0 | fbd->otp_reporter->health_state | 0-255 |
| PARAM_VALUE | 0 | fbd->otp_reporter->last_recovery_ts | 0-s64max |
| PARAM_VALUE | 0 | fbd->otp_reporter->recovery_count | 0-s64max |
| PARAM_VALUE | 0 | fbd->uc_addr0 | 0 |
| PARAM_VALUE | 0 | fbd->uc_addr4 | 0 |
| PARAM_VALUE | 1 | msg | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | msg->hdr.cannot_ignore | 0 |
| PARAM_VALUE | 1 | msg->hdr.is_msg | 1 |
| PARAM_VALUE | 1 | msg->hdr.len | 1 |
| PARAM_VALUE | 1 | msg->hdr.rsvd | 0 |
| PARAM_VALUE | 1 | msg->hdr.type | 16 |
| BUF_SIZE | 0 | fbd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fbd | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | fbd | $0 |
| DATA_SOURCE | 1 | msg | r fbnic_tlv_msg_alloc |
| MEM_ZERO | 0 | &fbd->fw_cap | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | fbd->dsn | 0[c] |
| HOST_DATA | 0 | fbd->relaxed_ord | 0[c] |
| UNITS | 0 | fbd | unit_byte |