[ovs-git] [openvswitch/ovs] e14dee: dpif_packet: Rename to dp_packet

GitHub noreply at github.com
Tue Mar 3 21:37:53 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: e14deea0bd133796872d06f39a14d0393880f5bb
      https://github.com/openvswitch/ovs/commit/e14deea0bd133796872d06f39a14d0393880f5bb
  Author: Pravin B Shelar <pshelar at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/automake.mk
    A lib/dp-packet.c
    A lib/dp-packet.h
    M lib/dpif-netdev.c
    M lib/dpif.c
    M lib/netdev-bsd.c
    M lib/netdev-dpdk.c
    M lib/netdev-dpdk.h
    M lib/netdev-dummy.c
    M lib/netdev-linux.c
    M lib/netdev-provider.h
    M lib/netdev-vport.c
    M lib/netdev.c
    M lib/netdev.h
    M lib/odp-execute.c
    M lib/odp-execute.h
    M lib/ofpbuf.c
    M lib/ofpbuf.h
    R lib/packet-dpif.c
    R lib/packet-dpif.h
    M lib/tnl-arp-cache.c
    M ofproto/ofproto-dpif-xlate.c

  Log Message:
  -----------
  dpif_packet: Rename to dp_packet

dp_packet is short and better name for datapath packet
structure.

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>


  Commit: cf62fa4c7074121184a1f1d07980990113657612
      https://github.com/openvswitch/ovs/commit/cf62fa4c7074121184a1f1d07980990113657612
  Author: Pravin B Shelar <pshelar at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/bfd.c
    M lib/bfd.h
    M lib/cfm.c
    M lib/cfm.h
    M lib/dp-packet.c
    M lib/dp-packet.h
    M lib/dpif-netdev.c
    M lib/dpif-netdev.h
    M lib/dpif-netlink.c
    M lib/dpif.c
    M lib/dpif.h
    M lib/flow.c
    M lib/flow.h
    M lib/lacp.c
    M lib/lacp.h
    M lib/learning-switch.c
    M lib/netdev-bsd.c
    M lib/netdev-dpdk.c
    M lib/netdev-dummy.c
    M lib/netdev-linux.c
    M lib/netdev-vport.c
    M lib/netdev.c
    M lib/odp-execute.c
    M lib/ofp-print.c
    M lib/packets.c
    M lib/packets.h
    M lib/pcap-file.c
    M lib/pcap-file.h
    M lib/rstp-common.h
    M lib/rstp-state-machines.c
    M lib/rstp.c
    M lib/rstp.h
    M lib/stp.c
    M lib/stp.h
    M ofproto/bond.c
    M ofproto/bond.h
    M ofproto/connmgr.c
    M ofproto/connmgr.h
    M ofproto/fail-open.c
    M ofproto/ofproto-dpif-ipfix.c
    M ofproto/ofproto-dpif-ipfix.h
    M ofproto/ofproto-dpif-monitor.c
    M ofproto/ofproto-dpif-sflow.c
    M ofproto/ofproto-dpif-sflow.h
    M ofproto/ofproto-dpif-upcall.c
    M ofproto/ofproto-dpif-xlate.c
    M ofproto/ofproto-dpif-xlate.h
    M ofproto/ofproto-dpif.c
    M ofproto/ofproto-dpif.h
    M ofproto/ofproto-provider.h
    M ofproto/ofproto.c
    M ofproto/pktbuf.c
    M ofproto/pktbuf.h
    M tests/ofproto-dpif.at
    M tests/test-flows.c
    M tests/test-rstp.c
    M tests/test-stp.c
    M utilities/ovs-ofctl.c

  Log Message:
  -----------
  dp-packet: Remove ofpbuf dependency.

Currently dp-packet make use of ofpbuf for managing packet
buffers. That complicates ofpbuf, by making dp-packet
independent of ofpbuf both libraries can be optimized for
their own use case.
This avoids mapping operation between ofpbuf and dp_packet
in datapath upcalls.

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: 6fd6ed71cb9f2dba8307da371d5e86c34695783c
      https://github.com/openvswitch/ovs/commit/6fd6ed71cb9f2dba8307da371d5e86c34695783c
  Author: Pravin B Shelar <pshelar at nicira.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M lib/bundle.c
    M lib/dpctl.c
    M lib/dpif-netdev.c
    M lib/dpif-netlink.c
    M lib/dpif.c
    M lib/jsonrpc.c
    M lib/learn.c
    M lib/learning-switch.c
    M lib/netdev-dummy.c
    M lib/netlink-socket.c
    M lib/netlink.c
    M lib/nx-match.c
    M lib/odp-util.c
    M lib/ofp-actions.c
    M lib/ofp-errors.c
    M lib/ofp-msgs.c
    M lib/ofp-parse.c
    M lib/ofp-print.c
    M lib/ofp-util.c
    M lib/ofpbuf.c
    M lib/ofpbuf.h
    M lib/rconn.c
    M lib/route-table.c
    M lib/rtnetlink-link.c
    M lib/tnl-ports.c
    M lib/vconn-stream.c
    M lib/vconn.c
    M ofproto/connmgr.c
    M ofproto/fail-open.c
    M ofproto/in-band.c
    M ofproto/netflow.c
    M ofproto/ofproto-dpif-upcall.c
    M ofproto/ofproto-dpif-xlate.c
    M ofproto/ofproto-dpif.c
    M ofproto/ofproto.c
    M tests/test-bundle.c
    M tests/test-netflow.c
    M tests/test-odp.c
    M tests/test-sflow.c
    M tests/test-vconn.c
    M utilities/ovs-ofctl.c
    M vswitchd/bridge.c

  Log Message:
  -----------
  ofpbuf: Simplify ofpbuf API.

ofpbuf was complicated due to its wide usage across all
layers of OVS, Now we have introduced independent dp_packet
which can be used for datapath packet, we can simplify ofpbuf.
Following patch removes DPDK mbuf and access API of ofpbuf
members.

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


Compare: https://github.com/openvswitch/ovs/compare/5aa5d00e989c...6fd6ed71cb9f


More information about the git mailing list