Skip to content

Commit

Permalink
net/ixgbe: fix MAC control frame forward
Browse files Browse the repository at this point in the history
[ upstream commit 7b053b8 ]

mac_ctrl_frame_fwd shouldn't be cleared when port stop,
otherwise it will be inconsistent with the actual status.
This patch fixes the issue.

Fixes: a524f55 ("net/ixgbe: fix flow control mode setting")

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>
  • Loading branch information
Guinan Sun authored and kevintraynor committed Aug 27, 2020
1 parent 36020ac commit a603d49
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/ixgbe/ixgbe_ethdev.c
Expand Up @@ -2966,8 +2966,6 @@ ixgbe_dev_stop(struct rte_eth_dev *dev)
tm_conf->committed = false;

adapter->rss_reta_updated = 0;

adapter->mac_ctrl_frame_fwd = 0;
}

/*
Expand Down

0 comments on commit a603d49

Please sign in to comment.