numam-dpdk/drivers/net/cxgbe
Andrius Sirvys 902f389f9b drivers/net: fix shifting 32-bit signed variable 31 times
Shifting signed 32-bit values by 31-bits has the potential for
unexpected  outcomes as compiler can overwrite a bit.
Specified that values are unsigned.

Errors are observed from running cppcheck.

Bugzilla ID: 58
Fixes: 69e209be54 ("net/axgbe: add register map and related macros")
Fixes: b5bf771922 ("bnx2x: driver support routines")
Fixes: ed2ced6fe9 ("net/bnxt: check initialization before accessing stats")
Fixes: 6fda3f0ddd ("net/cxgbe: add API to program hardware MPS table")
Fixes: bdb244b969 ("e1000: whitespace changes")
Fixes: 5a32a257f9 ("e1000: more NICs in base driver")
Fixes: 2fe669f4bc ("net/nfp: support MAC address change")
Fixes: defb9a5dd1 ("nfp: introduce driver initialization")
Fixes: ec94dbc573 ("qede: add base driver")
Fixes: d2e7d931d0 ("net/qede/base: formatting changes")
Fixes: cdc07e83bb ("net/tap: add eBPF program file")
Cc: stable@dpdk.org

Signed-off-by: Andrius Sirvys <andrius.sirvys@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2019-03-01 18:17:36 +01:00
..
base drivers/net: fix shifting 32-bit signed variable 31 times 2019-03-01 18:17:36 +01:00
clip_tbl.c net/cxgbe: use relative paths for includes 2018-12-21 16:22:41 +01:00
clip_tbl.h net/cxgbe: add Compressed Local IP region 2018-07-04 22:20:41 +02:00
cxgbe_compat.h net/cxgbe: fix other misc build issues for Windows 2018-12-21 16:22:41 +01:00
cxgbe_ethdev.c net/cxgbe: use relative paths for includes 2018-12-21 16:22:41 +01:00
cxgbe_filter.c net/cxgbe: implement reset hit counters for offloaded flows 2018-12-21 16:22:41 +01:00
cxgbe_filter.h net/cxgbe: implement reset hit counters for offloaded flows 2018-12-21 16:22:41 +01:00
cxgbe_flow.c net/cxgbe: implement reset hit counters for offloaded flows 2018-12-21 16:22:41 +01:00
cxgbe_flow.h net/cxgbe: increase completion wait time for flow operations 2018-11-14 00:35:53 +01:00
cxgbe_main.c net/cxgbe: use relative paths for includes 2018-12-21 16:22:41 +01:00
cxgbe_ofld.h net/cxgbe: support to delete flows in HASH region 2018-07-04 22:20:41 +02:00
cxgbe_pfvf.h net/cxgbe: add link up and down ops 2018-07-04 22:52:21 +02:00
cxgbe.h net/cxgbe: use relative paths for includes 2018-12-21 16:22:41 +01:00
cxgbevf_ethdev.c net/cxgbe: use relative paths for includes 2018-12-21 16:22:41 +01:00
cxgbevf_main.c net/cxgbe: use relative paths for includes 2018-12-21 16:22:41 +01:00
l2t.c net/cxgbe: use relative paths for includes 2018-12-21 16:22:41 +01:00
l2t.h net/cxgbe: use relative paths for includes 2018-12-21 16:22:41 +01:00
Makefile net/cxgbe: use relative paths for includes 2018-12-21 16:22:41 +01:00
meson.build net/cxgbe: add API to program hardware MPS table 2018-09-14 20:08:41 +02:00
mps_tcam.c net/cxgbevf: fix illegal memory access when freeing MPS TCAM 2018-11-14 00:35:53 +01:00
mps_tcam.h net/cxgbe: use relative paths for includes 2018-12-21 16:22:41 +01:00
rte_pmd_cxgbe_version.map cxgbe: add pmd skeleton 2015-06-30 22:46:42 +02:00
sge.c net/cxgbe: fix other misc build issues for Windows 2018-12-21 16:22:41 +01:00