[ovs-dev] [PATCH v12 0/3] Misc fixes in dp_packet and netdev-dpdk.

Tiago Lam tiago.lam at intel.com
Fri Nov 2 09:06:31 UTC 2018


This series is a split from the multi-seg mbuf series, "v11 - Support
multi-segment mbufs"; Hence why it starts at v12.

v12: - Rebase on master af26093 ("connmgr: Improve interface for setting
       controllers.");
     - Address Ian's comments:
       - Updated memory model calculations in dpdk/memory.rst docs to reflect
         the mbufs sizes;
       - Avoid casting in dp_packet_mbuf_init() to comply with the style in the
         same file;
       - Reword comment dp_packet_init_dpdk() which weren't making much sense
         after the code changes.
     - Address Ilya's comments:
       - Use MTU_TO_FRAME_LEN macro in dpdk_mp_create() instead of
         recalculating the mbuf size from the original dev->mtu;
       - Remove RTE_PKTMBUF_HEADROOM when calculating from 'pkt_size' in
         dpdk_mp_create(). 

Mark Kavanagh (2):
  netdev-dpdk: fix mbuf sizing
  dp-packet: Init specific mbuf fields.

Tiago Lam (1):
  dp-packet: Fix allocated size on DPDK init.

 Documentation/topics/dpdk/memory.rst | 28 +++++++++---------
 lib/dp-packet.c                      | 11 ++-----
 lib/dp-packet.h                      | 12 ++++----
 lib/netdev-dpdk.c                    | 57 ++++++++++++++++++++++++------------
 4 files changed, 61 insertions(+), 47 deletions(-)

-- 
2.7.4



More information about the dev mailing list