Akash, I don't know why you would want to do that. IEEE 802.3's minimum length of an ethernet frame is 64 octets - anything shorter than that will be processed by any receiver as a runt frame and discarded.
See https://en.wikipedia.org/wiki/Ethernet_frame and a rather informative context at https://www.sciencedirect.com/topics/computer-science/minimum-frame-size groet, Pim groet, Pim On Thu, Oct 14, 2021 at 12:06 PM Akash S R <akashsr.akas...@gmail.com> wrote: > Ohh great, thanks for letting me know mate. > But is there any way to avoid this by doing any setting on the NIC? :) > > On Thu, Oct 14, 2021, 15:34 Mohsin Kazmi (sykazmi) <syka...@cisco.com> > wrote: > >> Actual packet data (46 bytes) is less than 64 bytes. NIC appends ‘00’ to >> make it 64 bytes packet. >> >> >> >> *From: *<vpp-dev@lists.fd.io> on behalf of Akash S R < >> akashsr.akas...@gmail.com> >> *Date: *Thursday, October 14, 2021 at 10:49 AM >> *To: *vpp-dev <vpp-dev@lists.fd.io>, Ole Troan <otr...@employees.org>, >> "Benoit Ganne (bganne)" <bga...@cisco.com> >> *Subject: *[vpp-dev] Additional Payload of 18 bytes (0's) added to >> packet by VPP/Interface >> >> >> >> Hello Mates, >> >> >> >> Please help me on this issue where VPP/Interface is adding an additional >> payload of 18 bytes with 0's to the packet and sending it out. I raised a >> query early but did not get a response. >> >> >> Payload of Packet Received : >> 0000 02 66 66 66 66 66 02 09 c0 b7 46 10 08 00 45 04 >> 0010 00 6e 00 00 00 00 fe 11 f1 b8 ab 17 31 3a c0 a8 >> 0020 2d c8 11 5c 04 01 00 5a ff ff *00 00 00 00 00 00* >> 0030 *00 00 00 00 00 00 00 00 00 00 00 00* d8 81 21 e4 //FCS >> >> >> >> Help me in figuring this out and avoid this. Thanks in advance. >> >> >> >> /Akash >> > > > > -- Pim van Pelt <p...@ipng.nl> PBVP1-RIPE - http://www.ipng.nl/
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20332): https://lists.fd.io/g/vpp-dev/message/20332 Mute This Topic: https://lists.fd.io/mt/86308521/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-