linux_dsm_epyc7002/drivers/net/ethernet/broadcom/bnxt
Venkat Duvvuru 685ec6a81b bnxt_en: Use correct src_fid to determine direction of the flow
Direction of the flow is determined using src_fid. For an RX flow,
src_fid is PF's fid and for TX flow, src_fid is VF's fid. Direction
of the flow must be specified, when getting statistics for that flow.
Currently, for DECAP flow, direction is determined incorrectly, i.e.,
direction is initialized as TX for DECAP flow, instead of RX. Because
of which, stats are not reported for this DECAP flow, though it is
offloaded and there is traffic for that flow, resulting in flow age out.

This patch fixes the problem by determining the DECAP flow's direction
using correct fid.  Set the flow direction in all cases for consistency
even if 64-bit flow handle is not used.

Fixes: abd43a1352 ("bnxt_en: Support for 64-bit flow handle.")
Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-08-18 13:05:01 -07:00
..
bnxt_coredump.h bnxt_en: Add support for ethtool get dump. 2018-08-05 17:08:26 -07:00
bnxt_dcb.c bnxt_en: Suppress error messages when querying DSCP DCB capabilities. 2019-06-30 16:00:26 -07:00
bnxt_dcb.h bnxt_en: Do not use the CNP CoS queue for networking traffic. 2018-08-05 17:08:26 -07:00
bnxt_debugfs.c linux/dim: Move implementation to .c files 2019-06-25 13:46:39 -07:00
bnxt_debugfs.h bnxt_en: add debugfs support for DIM 2018-04-27 14:47:30 -04:00
bnxt_devlink.c bnxt_en: Suppress HWRM errors for HWRM_NVM_GET_VARIABLE command 2019-08-18 13:05:01 -07:00
bnxt_devlink.h Revert "devlink: Add a generic wake_on_lan port parameter" 2019-02-12 12:13:22 -05:00
bnxt_dim.c linux/dim: Move implementation to .c files 2019-06-25 13:46:39 -07:00
bnxt_ethtool.c bnxt_en: Fix handling FRAG_ERR when NVM_INSTALL_UPDATE cmd fails 2019-08-18 13:05:01 -07:00
bnxt_ethtool.h bnxt_en: Add support for ethtool get dump. 2018-08-05 17:08:26 -07:00
bnxt_fw_hdr.h bnxt_en: Added support for Secure Firmware Update 2016-09-19 21:32:24 -04:00
bnxt_hsi.h bnxt_en: Update firmware interface to 1.10.0.69. 2019-05-05 21:42:16 -07:00
bnxt_nvm_defs.h bnxt_en: Fix memory fault in bnxt_ethtool_init() 2018-04-19 16:35:09 -04:00
bnxt_sriov.c bnxt_en: Propagate trusted VF attribute to firmware. 2019-02-19 10:45:14 -08:00
bnxt_sriov.h bnxt_en: Fix VF mac address regression. 2018-09-17 07:56:35 -07:00
bnxt_tc.c bnxt_en: Use correct src_fid to determine direction of the flow 2019-08-18 13:05:01 -07:00
bnxt_tc.h net: flow_offload: rename tc_cls_flower_offload to flow_cls_offload 2019-07-09 14:38:51 -07:00
bnxt_ulp.c bnxt_en: Cap the returned MSIX vectors to the RDMA driver. 2019-06-30 16:00:26 -07:00
bnxt_ulp.h bnxt_en: get rid of num_stat_ctxs variable 2018-12-17 23:08:53 -08:00
bnxt_vfr.c drivers: net: use flow block API 2019-07-09 14:38:50 -07:00
bnxt_vfr.h devlink: Add extack for eswitch operations 2018-10-03 16:17:58 -07:00
bnxt_xdp.c bnxt_en: add page_pool support 2019-07-08 15:15:25 -07:00
bnxt_xdp.h bnxt_en: optimized XDP_REDIRECT support 2019-07-08 15:15:24 -07:00
bnxt.c bnxt_en: Improve RX doorbell sequence. 2019-08-18 13:05:00 -07:00
bnxt.h bnxt_en: add page_pool support 2019-07-08 15:15:25 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00