diff options
author | Michal Jaron <[email protected]> | 2022-09-13 15:38:36 +0200 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2022-09-19 14:13:06 -0700 |
commit | 372539def2824c43b6afe2403045b140f65c5acc (patch) | |
tree | bbafcd0288eae3effe0b77f012931fb027eb4784 /tools/perf/util/trace-event-scripting.c | |
parent | 399c98c4dc50b7eb7e9f24da7ffdda6f025676ef (diff) |
i40e: Fix VF set max MTU size
Max MTU sent to VF is set to 0 during memory allocation. It cause
that max MTU on VF is changed to IAVF_MAX_RXBUFFER and does not
depend on data from HW.
Set max_mtu field in virtchnl_vf_resource struct to inform
VF in GET_VF_RESOURCES msg what size should be max frame.
Fixes: dab86afdbbd1 ("i40e/i40evf: Change the way we limit the maximum frame size for Rx")
Signed-off-by: Michal Jaron <[email protected]>
Signed-off-by: Mateusz Palczewski <[email protected]>
Tested-by: Konrad Jankowski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions