numam-dpdk/drivers/net/bnxt
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
..
bnxt_cpr.c net/bnxt: support trusted VF 2018-10-11 18:53:48 +02:00
bnxt_cpr.h net/bnxt: support Tx batching 2018-07-03 01:35:58 +02:00
bnxt_ethdev.c net/bnxt: support IOVA VA mode 2019-02-13 14:24:51 +01:00
bnxt_filter.c net/bnxt: get rid of ff pools and use VNIC info array 2018-10-11 18:53:48 +02:00
bnxt_filter.h net/bnxt: move function check zero bytes 2018-07-03 01:35:58 +02:00
bnxt_flow.c net/bnxt: get rid of ff pools and use VNIC info array 2018-10-11 18:53:48 +02:00
bnxt_hwrm.c net/bnxt: reduce polling interval for valid bit 2018-10-11 18:53:48 +02:00
bnxt_hwrm.h net/bnxt: support extended port counters 2018-10-11 18:53:48 +02:00
bnxt_irq.c net/bnxt: use first completion ring for fwd and async event 2018-05-23 00:35:01 +02:00
bnxt_irq.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_nvm_defs.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_ring.c net/bnxt: fix queue start/stop operations 2018-07-03 01:35:58 +02:00
bnxt_ring.h net/bnxt: fix queue start/stop operations 2018-07-03 01:35:58 +02:00
bnxt_rxq.c net/bnxt: get rid of ff pools and use VNIC info array 2018-10-11 18:53:48 +02:00
bnxt_rxq.h net/bnxt: fix queue start/stop operations 2018-07-03 01:35:58 +02:00
bnxt_rxr.c net/bnxt: fix uninitialized variable access 2018-11-05 18:54:48 +01:00
bnxt_rxr.h net/bnxt: optimize Rx processing 2018-07-03 01:35:58 +02:00
bnxt_stats.c net/bnxt: support extended port counters 2018-10-11 18:53:48 +02:00
bnxt_stats.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_txq.c net/bnxt: validate structs and pointers before use 2018-05-14 22:31:48 +01:00
bnxt_txq.h net/bnxt: support Tx batching 2018-07-03 01:35:58 +02:00
bnxt_txr.c net/bnxt: fix uninitialized pointer access in Tx 2018-10-11 18:53:48 +02:00
bnxt_txr.h net/bnxt: fix HW Tx checksum offload check 2018-07-03 01:35:58 +02:00
bnxt_util.c net/bnxt: move function check zero bytes 2018-07-03 01:35:58 +02:00
bnxt_util.h net/bnxt: move function check zero bytes 2018-07-03 01:35:58 +02:00
bnxt_vnic.c net/bnxt: get rid of ff pools and use VNIC info array 2018-10-11 18:53:48 +02:00
bnxt_vnic.h net/bnxt: fix Rx ring count limitation 2018-07-03 01:35:58 +02:00
bnxt.h drivers/net: fix shifting 32-bit signed variable 31 times 2019-03-01 18:17:36 +01:00
hsi_struct_def_dpdk.h net/bnxt: update HWRM version 2018-10-11 18:53:48 +02:00
Makefile net/bnxt: refactor filter/flow 2018-07-03 01:35:58 +02:00
meson.build net/bnxt: refactor filter/flow 2018-07-03 01:35:58 +02:00
rte_pmd_bnxt_version.map net/bnxt: fix automatic clearing of VF stats 2017-07-06 15:00:57 +02:00
rte_pmd_bnxt.c net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
rte_pmd_bnxt.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00