git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf2fdf7
)
net/i40e: fix build on FreeBSD
author
Wei Zhao
<wei.zhao1@intel.com>
Fri, 13 Oct 2017 09:11:30 +0000
(17:11 +0800)
committer
Thomas Monjalon
<thomas@monjalon.net>
Fri, 13 Oct 2017 10:46:03 +0000
(12:46 +0200)
ENODATA can not be build in FreeBSD.
Fixes:
7cbecc2f7424b
("net/i40e: support queue region set and flush")
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
drivers/net/i40e/rte_pmd_i40e.c
patch
|
blob
|
history
diff --git
a/drivers/net/i40e/rte_pmd_i40e.c
b/drivers/net/i40e/rte_pmd_i40e.c
index
3155cf8
..
b58e3fe
100644
(file)
--- a/
drivers/net/i40e/rte_pmd_i40e.c
+++ b/
drivers/net/i40e/rte_pmd_i40e.c
@@
-2610,7
+2610,7
@@
i40e_queue_region_set_flowtype(struct i40e_pf *pf,
if (i == info->queue_region_number) {
PMD_DRV_LOG(ERR, "that region id has not been set before");
- ret = -E
NODATA
;
+ ret = -E
INVAL
;
return ret;
}
region_index = i;
@@
-2726,7
+2726,7
@@
i40e_queue_region_set_user_priority(struct i40e_pf *pf,
if (i == info->queue_region_number) {
PMD_DRV_LOG(ERR, "that region id has not been set before");
- ret = -E
NODATA
;
+ ret = -E
INVAL
;
return ret;
}