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:
ae2a048
)
net/i40e/base: define bit for HW ATR evict control
author
Jingjing Wu
<jingjing.wu@intel.com>
Wed, 22 Mar 2017 09:24:53 +0000
(17:24 +0800)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 4 Apr 2017 16:59:45 +0000
(18:59 +0200)
On X722, we can control whether or not the hardware performs ATR
eviction. Define the correct bit so we can twiddle it.
Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/i40e/base/i40e_adminq_cmd.h
patch
|
blob
|
history
diff --git
a/drivers/net/i40e/base/i40e_adminq_cmd.h
b/drivers/net/i40e/base/i40e_adminq_cmd.h
index
67cef7c
..
ff13fbf
100644
(file)
--- a/
drivers/net/i40e/base/i40e_adminq_cmd.h
+++ b/
drivers/net/i40e/base/i40e_adminq_cmd.h
@@
-770,6
+770,7
@@
struct i40e_aqc_set_switch_config {
/* flags used for both fields below */
#define I40E_AQ_SET_SWITCH_CFG_PROMISC 0x0001
#define I40E_AQ_SET_SWITCH_CFG_L2_FILTER 0x0002
+#define I40E_AQ_SET_SWITCH_CFG_HW_ATR_EVICT 0x0004
__le16 valid_flags;
u8 reserved[12];
};