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/octeontx2: enable build only on 64-bit Linux
[dpdk.git]
/
drivers
/
common
/
octeontx2
/
otx2_sec_idev.c
diff --git
a/drivers/common/octeontx2/otx2_sec_idev.c
b/drivers/common/octeontx2/otx2_sec_idev.c
index
4e65ce2
..
b561b67
100644
(file)
--- a/
drivers/common/octeontx2/otx2_sec_idev.c
+++ b/
drivers/common/octeontx2/otx2_sec_idev.c
@@
-4,7
+4,7
@@
#include <rte_atomic.h>
#include <rte_bus_pci.h>
#include <rte_atomic.h>
#include <rte_bus_pci.h>
-#include <
rte_ethdev
.h>
+#include <
ethdev_driver
.h>
#include <rte_spinlock.h>
#include "otx2_common.h"
#include <rte_spinlock.h>
#include "otx2_common.h"
@@
-55,7
+55,7
@@
otx2_sec_idev_tx_cpt_qp_add(uint16_t port_id, struct otx2_cpt_qp *qp)
struct otx2_sec_idev_cfg *cfg;
int i, ret;
struct otx2_sec_idev_cfg *cfg;
int i, ret;
- if (qp == NULL || port_id > OTX2_MAX_INLINE_PORTS)
+ if (qp == NULL || port_id >
=
OTX2_MAX_INLINE_PORTS)
return -EINVAL;
cfg = &sec_cfg[port_id];
return -EINVAL;
cfg = &sec_cfg[port_id];
@@
-126,7
+126,7
@@
otx2_sec_idev_tx_cpt_qp_get(uint16_t port_id, struct otx2_cpt_qp **qp)
uint16_t index;
int i, ret;
uint16_t index;
int i, ret;
- if (port_id > OTX2_MAX_INLINE_PORTS || qp == NULL)
+ if (port_id >
=
OTX2_MAX_INLINE_PORTS || qp == NULL)
return -EINVAL;
cfg = &sec_cfg[port_id];
return -EINVAL;
cfg = &sec_cfg[port_id];