Re: [PATCH v4 12/12] examples/l3fwd: add option to parse ptype
From: Ananyev, Konstantin <hidden>
Date: 2016-02-26 14:27:25
From: Ananyev, Konstantin <hidden>
Date: 2016-02-26 14:27:25
quoted
Actually it is a good point: for EM case should l3fwd process only TCP/UDP packets? If yes, then it needs to check not only L3, but also L4 type too Which means that for EM and LPM check_packet_type_ok() should also be different. Or we can leave it as it is - in that case EM even for non UDP/TCP packet would still do route lookup using first 4B of L3 payload.I'd like to follow the first approach, (if nobody strongly objects to it), because it's EM's real intention to use 5 tuples.
Ok with me. Konstantin