common/iavf: save max MTU received from PF
authorQi Zhang <qi.z.zhang@intel.com>
Fri, 11 Sep 2020 01:30:36 +0000 (09:30 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:09 +0000 (18:55 +0200)
commit39ced0c8bb75c868199f0ddf89ea39e6fce87cac
treeeea0df4ba9845857b795d10bdea14a3e84ab07d8
parenta8593fe86e9ffd6c22b7b367302abe72923ba1e3
common/iavf: save max MTU received from PF

Most values from the VIRTCHNL_OP_GET_VF_RESOURCES are stored in the
iavf_hw_capabilities structure. Unfortunately, it seems that
max_mtu was missed. Add this member to the structure and save it when
parsing hw config.

Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/common/iavf/iavf_common.c
drivers/common/iavf/iavf_type.h