On Mon, May 16, 2016 at 6:45 PM, gyanesh patra <[email protected]> wrote:
> I have a simple *standalone application* using ODP. It receives packets on > one interface and do a broadcasting to all other interfaces. But many a > times i see this error message when i try to calculate the throughput using > IPerf tool. > > pktio/socket_mmap.c:263:pkt_mmap_v2_tx():sendto(pkt mmap): > Message too long > What implementation of ODP are you running and at what level? linux-generic, odp-dpdk, a vendor implementation? ODP does not support Large Segment Offload (LSO) processing, so if the packet you're trying to send exceeds the target pktio's MTU as returned by the odp_pktio_mtu() API, then you'll see TX failures. > > I don't have jumbo frames enabled. Also i don't think IPerf is sending any > jumbo frames. When i get this error, all packets were dropped and the > throughput comes down to a very low number. > > What seems to be a problem? Is there any specific configuration i need to > do with respect to ODP? > > I am using one thread for each interface. Each interface has one TX and one > RX queue configured. I am using Burst mode to receive the packet type. > > Thank you > _______________________________________________ > lng-odp mailing list > [email protected] > https://lists.linaro.org/mailman/listinfo/lng-odp > _______________________________________________ lng-odp mailing list [email protected] https://lists.linaro.org/mailman/listinfo/lng-odp
