numam-dpdk/drivers
Qi Zhang 273dcde1c3 net/i40e: fix flow control watermark mismatch
Flow control watermark is not read out correctly,
that may cause an application who not intend to change
watermark but does change it with a rte_eth_dev_flow_ctrl_set
call right after rte_eth_dev_flow_ctrl_get.

The idea fix is, during init, the watermark is set with default value,
so it is not necessary to read out from hw register during flow_ctl_get,
But due to I40E_GLRPB_GHW limitation, it is shared by different ports on
the same device, it is possible the value is changed on another port,
but local variable not sync, so we have to read out register every
flow_ctl_get.

Fixes: f53577f069 ("i40e: support flow control")
Cc: stable@dpdk.org

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Kevin Traynor <ktraynor@redhat.com>
2017-10-06 02:49:47 +02:00
..
bus bus/fslmc: update MC to 10.3.x 2017-10-06 01:26:00 +02:00
crypto bus/fslmc: update MC to 10.3.x 2017-10-06 01:26:00 +02:00
event drivers: refactor DPAA2 object definition 2017-10-06 01:08:46 +02:00
mempool mempool/dpaa2: fix freeing bp list 2017-07-21 09:28:22 +03:00
net net/i40e: fix flow control watermark mismatch 2017-10-06 02:49:47 +02:00
Makefile drivers: add bus dependency for eventdev 2017-07-07 09:24:29 +02:00