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
net/qede: fix incorrect link status update
[dpdk.git]
/
drivers
/
net
/
i40e
/
i40e_rxtx_vec_common.h
diff --git
a/drivers/net/i40e/i40e_rxtx_vec_common.h
b/drivers/net/i40e/i40e_rxtx_vec_common.h
index
e3faaef
..
63cb177
100644
(file)
--- a/
drivers/net/i40e/i40e_rxtx_vec_common.h
+++ b/
drivers/net/i40e/i40e_rxtx_vec_common.h
@@
-5,7
+5,7
@@
#ifndef _I40E_RXTX_VEC_COMMON_H_
#define _I40E_RXTX_VEC_COMMON_H_
#include <stdint.h>
#ifndef _I40E_RXTX_VEC_COMMON_H_
#define _I40E_RXTX_VEC_COMMON_H_
#include <stdint.h>
-#include <rte_ethdev.h>
+#include <rte_ethdev
_driver
.h>
#include <rte_malloc.h>
#include "i40e_ethdev.h"
#include <rte_malloc.h>
#include "i40e_ethdev.h"
@@
-202,11
+202,11
@@
i40e_rx_vec_dev_conf_condition_check_default(struct rte_eth_dev *dev)
/* - no csum error report support
* - no header split support
*/
/* - no csum error report support
* - no header split support
*/
- if (rxmode->
header_split == 1
)
+ if (rxmode->
offloads & DEV_RX_OFFLOAD_HEADER_SPLIT
)
return -1;
/* no QinQ support */
return -1;
/* no QinQ support */
- if (rxmode->
hw_vlan_extend == 1
)
+ if (rxmode->
offloads & DEV_RX_OFFLOAD_VLAN_EXTEND
)
return -1;
return 0;
return -1;
return 0;