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
common/sfc_efx/base: add user mark RxQ flag
[dpdk.git]
/
drivers
/
net
/
pfe
/
pfe_ethdev.c
diff --git
a/drivers/net/pfe/pfe_ethdev.c
b/drivers/net/pfe/pfe_ethdev.c
index
3b07969
..
feec4d1
100644
(file)
--- a/
drivers/net/pfe/pfe_ethdev.c
+++ b/
drivers/net/pfe/pfe_ethdev.c
@@
-5,7
+5,7
@@
#include <sys/ioctl.h>
#include <sys/epoll.h>
#include <rte_kvargs.h>
#include <sys/ioctl.h>
#include <sys/epoll.h>
#include <rte_kvargs.h>
-#include <
rte_
ethdev_vdev.h>
+#include <ethdev_vdev.h>
#include <rte_bus_vdev.h>
#include <rte_ether.h>
#include <dpaa_of.h>
#include <rte_bus_vdev.h>
#include <rte_ether.h>
#include <dpaa_of.h>
@@
-582,11
+582,6
@@
pfe_eth_link_update(struct rte_eth_dev *dev, int wait_to_complete __rte_unused)
struct rte_eth_link link, old;
unsigned int lstatus = 1;
struct rte_eth_link link, old;
unsigned int lstatus = 1;
- if (dev == NULL) {
- PFE_PMD_ERR("Invalid device in link_update.\n");
- return 0;
- }
-
memset(&old, 0, sizeof(old));
memset(&link, 0, sizeof(struct rte_eth_link));
memset(&old, 0, sizeof(old));
memset(&link, 0, sizeof(struct rte_eth_link));
@@
-1177,4
+1172,4
@@
struct rte_vdev_driver pmd_pfe_drv = {
RTE_PMD_REGISTER_VDEV(PFE_NAME_PMD, pmd_pfe_drv);
RTE_PMD_REGISTER_PARAM_STRING(PFE_NAME_PMD, PFE_VDEV_GEM_ID_ARG "=<int> ");
RTE_PMD_REGISTER_VDEV(PFE_NAME_PMD, pmd_pfe_drv);
RTE_PMD_REGISTER_PARAM_STRING(PFE_NAME_PMD, PFE_VDEV_GEM_ID_ARG "=<int> ");
-RTE_LOG_REGISTER
(pfe_logtype_pmd, pmd.net.pfe
, NOTICE);
+RTE_LOG_REGISTER
_DEFAULT(pfe_logtype_pmd
, NOTICE);