[ovs-git] [openvswitch/ovs] 7d6d1a: netdev-dpdk: Apply batch truncation API.

GitHub noreply at github.com
Mon Jul 25 19:48:11 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 7d6d1a40dccf4996ecd517bca397bc53334f0085
      https://github.com/openvswitch/ovs/commit/7d6d1a40dccf4996ecd517bca397bc53334f0085
  Author: William Tu <u9012063 at gmail.com>
  Date:   2016-07-25 (Mon, 25 Jul 2016)

  Changed paths:
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  netdev-dpdk: Apply batch truncation API.

Instead of looping into each packet and check whether to truncate, the
patch moves it out of the loop and uses batch API.  If truncation is
not set, checking 'trunc' in 'struct dp_packet_batch' at per-batch basis
can skip the per-packet checking overhead.

Signed-off-by: William Tu <u9012063 at gmail.com>
Acked-by: Daniele Di Proietto <diproiettod at vmware.com>




More information about the git mailing list