numam-dpdk/drivers/net/i40e
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
..
base net/i40e/base: update base code info 2017-07-06 15:00:57 +02:00
i40e_ethdev_vf.c net/i40e: support NIC reset 2017-09-13 23:08:11 +02:00
i40e_ethdev.c net/i40e: fix flow control watermark mismatch 2017-10-06 02:49:47 +02:00
i40e_ethdev.h net/i40e: support committing TM hierarchy 2017-07-11 19:57:30 +02:00
i40e_fdir.c net/i40e: fix flow director for IPv6 2017-07-06 15:00:56 +02:00
i40e_flow.c net/i40e: fix parsing QinQ pattern 2017-07-31 19:58:41 +02:00
i40e_logs.h net/i40e: use dynamic log type for control logs 2017-04-05 13:48:45 +02:00
i40e_pf.c net/i40e: revert fix of PF notify when VF not up 2017-08-05 01:30:14 +02:00
i40e_pf.h net/i40e: support VLAN stripping for VF 2017-07-06 15:00:57 +02:00
i40e_regs.h i40e: add EEPROM and registers dumping 2016-03-16 17:48:48 +01:00
i40e_rxtx_vec_altivec.c net/i40e: fix build on ppc64le 2017-04-20 10:21:59 +02:00
i40e_rxtx_vec_common.h eal: introduce macro for always inline 2017-06-06 17:21:55 +02:00
i40e_rxtx_vec_neon.c net/i40e: enable per-device packet type mapping 2017-04-19 15:37:37 +02:00
i40e_rxtx_vec_sse.c net/i40e: remove checks for SSE4 2017-07-04 14:39:18 +02:00
i40e_rxtx.c net/i40e: fix Rx data segment buffer length 2017-08-03 22:45:52 +02:00
i40e_rxtx.h net/i40e: enable per-device packet type mapping 2017-04-19 15:37:37 +02:00
i40e_tm.c net/i40e: remove an unnecessary goto 2017-07-19 11:09:13 +03:00
Makefile net/i40e: support getting TM ops 2017-07-11 19:40:15 +02:00
rte_pmd_i40e_version.map net/i40e: get information about DDP profile 2017-07-06 15:00:56 +02:00
rte_pmd_i40e.c net/i40e: fix return code not checked 2017-10-06 02:49:47 +02:00
rte_pmd_i40e.h net/i40e: extended list of operations for DDP processing 2017-07-06 15:00:57 +02:00