git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ethdev: increase port id range
[dpdk.git]
/
lib
/
librte_eventdev
/
rte_eventdev_pmd_pci.h
diff --git
a/lib/librte_eventdev/rte_eventdev_pmd_pci.h
b/lib/librte_eventdev/rte_eventdev_pmd_pci.h
index
18028e3
..
b6bd731
100644
(file)
--- a/
lib/librte_eventdev/rte_eventdev_pmd_pci.h
+++ b/
lib/librte_eventdev/rte_eventdev_pmd_pci.h
@@
-1,6
+1,6
@@
/*
*
/*
*
- * Copyright(c) 2016-2017 Cavium
networks
. All rights reserved.
+ * Copyright(c) 2016-2017 Cavium
, Inc
. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@
-12,7
+12,7
@@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * * Neither the name of Cavium
networks
nor the names of its
+ * * Neither the name of Cavium
, Inc
nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
@@
-47,6
+47,8
@@
extern "C" {
#include <string.h>
#include <string.h>
+#include <rte_eal.h>
+#include <rte_lcore.h>
#include <rte_pci.h>
#include "rte_eventdev_pmd.h"
#include <rte_pci.h>
#include "rte_eventdev_pmd.h"
@@
-58,7
+60,7
@@
typedef int (*eventdev_pmd_pci_callback_t)(struct rte_eventdev *dev);
* Wrapper for use by pci drivers as a .probe function to attach to a event
* interface.
*/
* Wrapper for use by pci drivers as a .probe function to attach to a event
* interface.
*/
-static int
+static in
line in
t
rte_event_pmd_pci_probe(struct rte_pci_driver *pci_drv,
struct rte_pci_device *pci_dev,
size_t private_data_size,
rte_event_pmd_pci_probe(struct rte_pci_driver *pci_drv,
struct rte_pci_device *pci_dev,
size_t private_data_size,