[ovs-git] [openvswitch/ovs] 4be4d2: netdev-dpdk: clean up mbuf initialization

GitHub noreply at github.com
Sun Feb 28 19:54:03 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 4be4d22c33f67c2154d4252746970ef1032c58a6
      https://github.com/openvswitch/ovs/commit/4be4d22c33f67c2154d4252746970ef1032c58a6
  Author: Mark Kavanagh <mark.b.kavanagh at intel.com>
  Date:   2016-02-28 (Sun, 28 Feb 2016)

  Changed paths:
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  netdev-dpdk: clean up mbuf initialization

Current mbuf initialization relies on magic numbers and does not
accomodate mbufs of different sizes.

Resolve this issue by ensuring that mbufs are always aligned to a 1k
boundary (a typical DPDK NIC Rx buffer alignment).

Signed-off-by: Mark Kavanagh <mark.b.kavanagh at intel.com>
Acked-by: Flavio Leitner <fbl at sysclose.org>
Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>




More information about the git mailing list