On Mon, 21 Oct 2013 18:45:23 +0900 Satoshi Kobayashi <[email protected]> wrote:
> I was also mistaken in it and made time useless. > Therefore I feel that it is better to change a default value. > > Is it like this…? (RFC because I do not know that this is excellent) > ------------------------------ > def __init__(self, port, max_len=ofproto_v1_3.OFPCML_NO_BUFFER, > type_=None, len_=None): > super(OFPActionOutput, self).__init__() > self.port = port > self.max_len = max_len if port == ofproto_v1_3.OFPP_CONTROLLER else > 0 Changing the default to non zero value is fine by me. However, using OFPCML_NO_BUFFER has big side effects (could be harmful), the packet is not buffered anymore? ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
