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/octeontx2: add flow MCAM utility functions
[dpdk.git]
/
drivers
/
net
/
sfc
/
base
/
ef10_nic.c
diff --git
a/drivers/net/sfc/base/ef10_nic.c
b/drivers/net/sfc/base/ef10_nic.c
index
a647daa
..
b25ce19
100644
(file)
--- a/
drivers/net/sfc/base/ef10_nic.c
+++ b/
drivers/net/sfc/base/ef10_nic.c
@@
-1108,6
+1108,12
@@
ef10_get_datapath_caps(
else
encp->enc_datapath_cap_evb = B_FALSE;
else
encp->enc_datapath_cap_evb = B_FALSE;
+ /* Check if the firmware supports vport reconfiguration */
+ if (CAP_FLAGS1(req, VPORT_RECONFIGURE))
+ encp->enc_vport_reconfigure_supported = B_TRUE;
+ else
+ encp->enc_vport_reconfigure_supported = B_FALSE;
+
/* Check if the firmware supports VLAN insertion */
if (CAP_FLAGS1(req, TX_VLAN_INSERTION))
encp->enc_hw_tx_insert_vlan_enabled = B_TRUE;
/* Check if the firmware supports VLAN insertion */
if (CAP_FLAGS1(req, TX_VLAN_INSERTION))
encp->enc_hw_tx_insert_vlan_enabled = B_TRUE;