Home
last modified time | relevance | path

Searched refs:MCTP_BTU (Results 1 – 10 of 10) sorted by relevance

/openbmc/libmctp/tests/
H A Dtest_core.c154 receive_two_fragment_message(binding, test_payload, MCTP_BTU, MCTP_BTU, in mctp_core_test_simple_rx()
190 receive_one_fragment(binding, test_payload + MCTP_BTU, MCTP_BTU, in mctp_core_test_receive_equal_length_fragments()
195 receive_one_fragment(binding, test_payload + (2 * MCTP_BTU), MCTP_BTU, in mctp_core_test_receive_equal_length_fragments()
231 receive_one_fragment(binding, test_payload + MCTP_BTU, MCTP_BTU - 1, in mctp_core_test_receive_unexpected_smaller_middle_fragment()
236 receive_one_fragment(binding, test_payload + (2 * MCTP_BTU), MCTP_BTU, in mctp_core_test_receive_unexpected_smaller_middle_fragment()
271 receive_one_fragment(binding, test_payload + MCTP_BTU, MCTP_BTU + 1, in mctp_core_test_receive_unexpected_bigger_middle_fragment()
276 receive_one_fragment(binding, test_payload + (2 * MCTP_BTU), MCTP_BTU, in mctp_core_test_receive_unexpected_bigger_middle_fragment()
311 receive_one_fragment(binding, test_payload + MCTP_BTU, MCTP_BTU, in mctp_core_test_receive_smaller_end_fragment()
353 receive_one_fragment(binding, test_payload + MCTP_BTU, MCTP_BTU, in mctp_core_test_receive_bigger_end_fragment()
431 receive_two_fragment_message(binding, test_payload, MCTP_BTU, MCTP_BTU, in mctp_core_test_exhaust_context_buffers()
[all …]
H A Dtest_astlpc.c255 memset(&msg[MCTP_BTU], 0xa5, MCTP_BTU); in astlpc_test_packetised_message_bmc_to_host()
277 astlpc_assert_tx_packet(&ctx.bmc, &msg[MCTP_BTU], MCTP_BTU); in astlpc_test_packetised_message_bmc_to_host()
289 uint8_t msg[MCTP_BTU]; in astlpc_test_simple_message_host_to_bmc()
331 uint8_t msg[MCTP_BTU]; in astlpc_test_simple_message_bmc_to_host()
558 uint8_t msg[MCTP_BTU]; in astlpc_test_simple_indirect_message_bmc_to_host()
1042 bmtu = 3 * MCTP_BTU; in astlpc_test_negotiate_mtu_low_high()
1048 hmtu = 2 * MCTP_BTU; in astlpc_test_negotiate_mtu_low_high()
1071 hmtu = 3 * MCTP_BTU; in astlpc_test_negotiate_mtu_low_high()
1168 bmtu = 3 * MCTP_BTU; in astlpc_test_negotiate_mtu_high_low()
1174 hmtu = 3 * MCTP_BTU; in astlpc_test_negotiate_mtu_high_low()
[all …]
H A Dtest_serial.c44 uint8_t mctp_msg_src[2 * MCTP_BTU];
102 memset(&mctp_msg_src[2], 0x5a, MCTP_BTU - 2); in main()
103 memset(&mctp_msg_src[MCTP_BTU], 0xa5, MCTP_BTU); in main()
H A Dtest-utils.c35 test->binding.pkt_size = MCTP_PACKET_SIZE(MCTP_BTU); in mctp_binding_test_init()
H A Dtest_cmds.c66 test_binding->pkt_size = MCTP_PACKET_SIZE(MCTP_BTU); in setup_test_binding()
H A Dtest_bridge.c75 binding->binding.pkt_size = MCTP_PACKET_SIZE(MCTP_BTU); in mctp_binding_bridge_init()
/openbmc/libmctp/
H A Dastlpc.c484 astlpc->proto->packet_size(MCTP_PACKET_SIZE(MCTP_BTU))) { in mctp_astlpc_buffer_validate()
489 astlpc->proto->packet_size(MCTP_PACKET_SIZE(MCTP_BTU)), in mctp_astlpc_buffer_validate()
490 MCTP_BTU, buf->size); in mctp_astlpc_buffer_validate()
1270 MCTP_PACKET_SIZE(mtu > MCTP_BTU ? mtu : MCTP_BTU); in __mctp_astlpc_init()
1320 return mctp_astlpc_init(MCTP_BINDING_ASTLPC_MODE_BMC, MCTP_BTU, lpc_map, in mctp_astlpc_init_ops()
H A Dlibmctp.h46 #define MCTP_BTU 64 macro
H A Dcore.c739 if (binding->pkt_size < MCTP_PACKET_SIZE(MCTP_BTU)) { in mctp_binding_set_tx_enabled()
786 const bool valid_mtu = max_payload_len >= MCTP_BTU; in mctp_message_tx_on_bus()
H A Dserial.c403 serial->binding.pkt_size = MCTP_PACKET_SIZE(MCTP_BTU); in mctp_serial_init()