net/ixgbe: fix flow control status
authorGuinan Sun <guinanx.sun@intel.com>
Sat, 23 May 2020 05:22:39 +0000 (05:22 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Jul 2020 11:54:54 +0000 (13:54 +0200)
commitc778b7a39f30ffbb8326f81389668dc5f6f30888
tree79111a2958015e3e0903704704383452f8f38d67
parent7b053b86d889acd7c3a02909774da08d3d90a4b0
net/ixgbe: fix flow control status

mac_ctrl_frame_fwd assignment is missing, so
setting mac_ctrl_frame_fwd should be added in
ixgbe_flow_ctrl_get().
The patch fixes the issue.

Fixes: 56ea46a997b7 ("ethdev: retrieve flow control configuration")
Cc: stable@dpdk.org
Signed-off-by: Guinan Sun <guinanx.sun@intel.com>
Reviewed-by: Wei Zhao <wei.zhao1@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
Tested-by: Bo Chen <box.c.chen@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c