[ovs-git] [openvswitch/ovs] b61407: lib/dynamic-string: coding style fix

GitHub noreply at github.com
Tue Sep 1 22:32:45 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: b614072b993f7fcbd29b517c6b03b2a2888c69c4
      https://github.com/openvswitch/ovs/commit/b614072b993f7fcbd29b517c6b03b2a2888c69c4
  Author: Andy Zhou <azhou at nicira.com>
  Date:   2015-09-01 (Tue, 01 Sep 2015)

  Changed paths:
    M lib/dynamic-string.h

  Log Message:
  -----------
  lib/dynamic-string: coding style fix

Remove tabs per coding style

Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: 4ac6dbe630d84edc0c622fefd4a48ac3f96814e8
      https://github.com/openvswitch/ovs/commit/4ac6dbe630d84edc0c622fefd4a48ac3f96814e8
  Author: Andy Zhou <azhou at nicira.com>
  Date:   2015-09-01 (Tue, 01 Sep 2015)

  Changed paths:
    M lib/ofpbuf.c

  Log Message:
  -----------
  lib/ofpbuf: refactor ofpbuf_use__() API

Add the size to its parameter list.

Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: 37e237206c12af5773feb519e56c4534b750aeac
      https://github.com/openvswitch/ovs/commit/37e237206c12af5773feb519e56c4534b750aeac
  Author: Andy Zhou <azhou at nicira.com>
  Date:   2015-09-01 (Tue, 01 Sep 2015)

  Changed paths:
    M lib/ofpbuf.c
    M lib/ofpbuf.h

  Log Message:
  -----------
  lib/ofpbuf: add ofpbuf_use_ds() API

Add an API to convert a dynamic string object into ofpbuf.

Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: 71cc59f928f1fae64645540463da41f3c44f761a
      https://github.com/openvswitch/ovs/commit/71cc59f928f1fae64645540463da41f3c44f761a
  Author: Andy Zhou <azhou at nicira.com>
  Date:   2015-09-01 (Tue, 01 Sep 2015)

  Changed paths:
    M lib/jsonrpc.c

  Log Message:
  -----------
  jsonrpc: use json_to_ds to speed up jsonrpc_send

This change reuses the string length that available from 'ds', saving
a strlen() call.

Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: 2db02185fee07032d4fb2d4c337153e2828a4fa8
      https://github.com/openvswitch/ovs/commit/2db02185fee07032d4fb2d4c337153e2828a4fa8
  Author: Andy Zhou <azhou at nicira.com>
  Date:   2015-09-01 (Tue, 01 Sep 2015)

  Changed paths:
    M lib/jsonrpc.c

  Log Message:
  -----------
  lib/jsonrpc: make use of ofpbuf_use_ds()

Make use of ofpbuf_use_ds() to simplify code.

Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: 662eba3a0d504ac6c959ed1a97edc50c94292af2
      https://github.com/openvswitch/ovs/commit/662eba3a0d504ac6c959ed1a97edc50c94292af2
  Author: Andy Zhou <azhou at nicira.com>
  Date:   2015-09-01 (Tue, 01 Sep 2015)

  Changed paths:
    M lib/ofpbuf.c
    M lib/ofpbuf.h

  Log Message:
  -----------
  lib/ofpbuf: make ofpbuf_use() static

There is no external users for ofpbuf_use() directly.

Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


Compare: https://github.com/openvswitch/ovs/compare/54b21db7235d...662eba3a0d50


More information about the git mailing list