I've incorporated the results of the various discussions and comments received over the past weeks and added in the remaining routines so that the packet API set should now be functionally complete and consistent, and fully able to support all of the use cases we've discussed for ODP v1.0. If possible, I'd like to finalize this as part of this week's Tuesday call.
There are a few open questions remaining and I would appreciate feedback on this doc prior to Tuesday to facilitate the discussion. Some of these are: - We had previously identified the list of Layer 4 protocols we wanted to support in ODP v1.0 and that list did not include SCTP. SCTP routines exist in the existing linux-generic code and I've added them here for completeness. If we want to officially recognize SCTP as a protocol supported by the ODP parser we need to add that to the official protocol list. - I've added all of the odp_packet_inflag_xxx() and odp_packet_outflag_xxx() routines that exist in the current linux-generic code, however there appear to functional gaps in the current code and I've added in some suggested additional routines to fill these gaps. Need consensus on these. - The odp_packet_set_inflag_xxx() routines that exist in the current linux-generic code seem that they could be replaced with a single odp_packet_parse() routine that would (re)invoke the parser to set all of the packet meta data from an application-constructed or modified packet. If we want to make these bits settable we can add them back, but I'm concerned that they run counter to having a parse function as part of the ODP implementation. Need to discuss the use-cases that would need these routines. - The headroom and tailroom manipulation routines have been streamlined and made functionally complete. The existing linux-generic code is segment-oriented rather than packet-oriented and it's not clear how these were intended to be used since we've never defined the concept of headroom or tailroom for anything other than packets, not segments. Thanks for your continued input as we try to wrap up this design. Bill ODP v1.0 Packet Managmenet API Design <https://docs.google.com/a/linaro.org/document/d/1_iawxU46IZ8-O6dPavgaZj2Swv-FwLtiP_P13uB9PSU/edit?usp=drive_web>
_______________________________________________ lng-odp mailing list [email protected] http://lists.linaro.org/mailman/listinfo/lng-odp
