Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 2019 17:34:25 +0000 (UTC)
From:      Conrad Meyer <cem@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r502275 - head/net/dpdk/files
Message-ID:  <201905221734.x4MHYPbg075954@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cem (src committer)
Date: Wed May 22 17:34:25 2019
New Revision: 502275
URL: https://svnweb.freebsd.org/changeset/ports/502275

Log:
  net/dpdk: Fix build after r347984
  
  Address missing implicit includes removed as a header pollution cleanup in
  r347984.  Apologies that this wasn't addressed in advance; my spot check
  ahead of time seems to have been against the wrong kernel source tree.
  
  I have submitted the same changes to upstream dpdk:
  
    https://bugs.dpdk.org/show_bug.cgi?id=282
  
  Reviewed by:	mat
  Approved by:	mat
  Differential Revision:	https://reviews.freebsd.org/D20329

Added:
  head/net/dpdk/files/
  head/net/dpdk/files/patch-kernel-freebsd-contigmem-contigmem.c   (contents, props changed)
  head/net/dpdk/files/patch-kernel-freebsd-nic_uio-nic_uio.c   (contents, props changed)

Added: head/net/dpdk/files/patch-kernel-freebsd-contigmem-contigmem.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/dpdk/files/patch-kernel-freebsd-contigmem-contigmem.c	Wed May 22 17:34:25 2019	(r502275)
@@ -0,0 +1,15 @@
+--- kernel/freebsd/contigmem/contigmem.c.orig	2018-09-05 14:29:02 UTC
++++ kernel/freebsd/contigmem/contigmem.c
+@@ -9,9 +9,12 @@
+ #include <sys/bio.h>
+ #include <sys/bus.h>
+ #include <sys/conf.h>
++#include <sys/eventhandler.h>
+ #include <sys/kernel.h>
++#include <sys/lock.h>
+ #include <sys/malloc.h>
+ #include <sys/module.h>
++#include <sys/mutex.h>
+ #include <sys/proc.h>
+ #include <sys/rwlock.h>
+ #include <sys/systm.h>

Added: head/net/dpdk/files/patch-kernel-freebsd-nic_uio-nic_uio.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/dpdk/files/patch-kernel-freebsd-nic_uio-nic_uio.c	Wed May 22 17:34:25 2019	(r502275)
@@ -0,0 +1,10 @@
+--- kernel/freebsd/nic_uio/nic_uio.c.orig	2018-09-05 14:29:02 UTC
++++ kernel/freebsd/nic_uio/nic_uio.c
+@@ -9,6 +9,7 @@
+ #include <sys/kernel.h> /* types used in module initialization */
+ #include <sys/conf.h> /* cdevsw struct */
+ #include <sys/bus.h> /* structs, prototypes for pci bus stuff and DEVMETHOD */
++#include <sys/lock.h> /* used by vm_pager.h => MPASS() */
+ #include <sys/rman.h>
+ #include <sys/systm.h>
+ #include <sys/rwlock.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905221734.x4MHYPbg075954>