Ethernet Raw socket not sending with pldm payload size more than 24 bytes
Kumar Thangavel
thangavel.k at hcl.com
Thu Mar 18 17:41:48 AEDT 2021
Classification: Public
Hi All,
We are working on pldm over NCSI NIC firmware update feature. We are using Raw socket to send the NCSI packets to NIC cards.
This raw socket is working for the pldm over NCSI sensor commands. Pldm sensor commands having pldm payload as 6 bytes length only. We could see it in the tcpdump.
The same raw socket is not working for pldm over NCSI NIC firmware update commands.
We are facing issues if we send the pldm payload length more than 24 bytes.
The commands are not sending with the pldm payload length of more than 24 bytes. Not sending in the TCP stack itself. That is also not captured in tcpdump.
In the raw socket, We framed the packet like Ethernet header - 14 bytes, ncsi header - 16 bytes, pldm payload - 28 bytes.
So, The commands are not sending if we send ethernet payload size greater than 54 bytes.
But if we send less than 54, the commands are sending properly and got correct responses.
We tried with ncsi netlink library also to send the commands. There also we are facing same issue.
Could you please point us if there is any known issues or workaround for this issue.
Thanks,
Kumar.
::DISCLAIMER::
________________________________
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20210318/0ee38feb/attachment.htm>
More information about the openbmc
mailing list