net/e1000: fix flow control mode setting
authorWenjun Wu <wenjun1.wu@intel.com>
Wed, 20 Jan 2021 06:53:37 +0000 (14:53 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:07 +0000 (18:16 +0100)
commit9f3c2398ae8a31eac1d5e00696a7922b2531597b
tree02f64cd79d2890cfb3caa6c40ea6d47cb0e8ffb3
parent72592ea6244028fe93b2a264d7922e4611ca25e5
net/e1000: fix flow control mode setting

E1000_CTRL register should be updated according to fc_conf->mode's
value.

Fixes: af75078fece3 ("first public release")
Cc: stable@dpdk.org
Signed-off-by: Wenjun Wu <wenjun1.wu@intel.com>
Acked-by: Jeff Guo <jia.guo@intel.com>
drivers/net/e1000/igb_ethdev.c