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
raw/ioat: support limiting queues for idxd PCI device
[dpdk.git]
/
drivers
/
common
/
iavf
/
iavf_common.c
diff --git
a/drivers/common/iavf/iavf_common.c
b/drivers/common/iavf/iavf_common.c
index
57ec1ff
..
855a0ab
100644
(file)
--- a/
drivers/common/iavf/iavf_common.c
+++ b/
drivers/common/iavf/iavf_common.c
@@
-1,5
+1,5
@@
/* SPDX-License-Identifier: BSD-3-Clause
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2001-202
0
Intel Corporation
+ * Copyright(c) 2001-202
1
Intel Corporation
*/
#include "iavf_type.h"
*/
#include "iavf_type.h"
@@
-975,6
+975,7
@@
void iavf_vf_parse_hw_config(struct iavf_hw *hw,
hw->dev_caps.num_msix_vectors_vf = msg->max_vectors;
hw->dev_caps.dcb = msg->vf_cap_flags &
VIRTCHNL_VF_OFFLOAD_L2;
hw->dev_caps.num_msix_vectors_vf = msg->max_vectors;
hw->dev_caps.dcb = msg->vf_cap_flags &
VIRTCHNL_VF_OFFLOAD_L2;
+ hw->dev_caps.max_mtu = msg->max_mtu;
for (i = 0; i < msg->num_vsis; i++) {
if (vsi_res->vsi_type == VIRTCHNL_VSI_SRIOV) {
iavf_memcpy(hw->mac.perm_addr,
for (i = 0; i < msg->num_vsis; i++) {
if (vsi_res->vsi_type == VIRTCHNL_VSI_SRIOV) {
iavf_memcpy(hw->mac.perm_addr,