numam-dpdk/drivers/net/qede/base
Rasesh Mody 679fe2e426 net/qede/base: fix FreeBSD build
This patch addresses compilation errors on FreeBSD with clang 3.8.0.

drivers/net/qede/base/ecore_cxt.c:1257:2: error:
     shifting a negative signed value is undefined
          SET_FIELD(cdu_params, CDUC_NCIB, elems_per_page);
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/qede/base/ecore.h:82:27: note: expanded from macro 'SET_FIELD'
          (value) &= ~(name##_MASK << name##_SHIFT);
                    ~~~~~~~~~~~ ^

Fixes: ec94dbc573 ("qede: add base driver")
Cc: stable@dpdk.org

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
Tested-by: Andrew Rybchenko <arybchenko@solarflare.com>
2017-01-30 22:18:26 +01:00
..
bcm_osal.c net/qede: remove zlib dependency and enable PMD 2016-10-26 19:42:23 +02:00
bcm_osal.h net/qede: use I/O device memory read/write API 2017-01-18 17:18:27 +01:00
common_hsi.h net/qede/base: semantic/formatting changes 2017-01-17 19:40:53 +01:00
ecore_attn_values.h qede: add interrupt handling support 2016-05-06 15:51:22 +02:00
ecore_chain.h net/qede: add new host ring type option 2017-01-17 19:40:53 +01:00
ecore_cxt_api.h net/qede/base: update 2016-10-26 19:42:21 +02:00
ecore_cxt.c net/qede/base: fix mutex in freeing context manager 2017-01-17 19:40:52 +01:00
ecore_cxt.h net/qede/base: update 2016-10-26 19:42:21 +02:00
ecore_dcbx_api.h net/qede/base: dcbx changes for base driver 2017-01-17 19:40:53 +01:00
ecore_dcbx.c net/qede/base: dcbx changes for base driver 2017-01-17 19:40:53 +01:00
ecore_dcbx.h net/qede/base: add support for new firmware 2017-01-17 19:40:53 +01:00
ecore_dev_api.h net/qede/base: retrieve FW crash dump info 2017-01-17 19:40:53 +01:00
ecore_dev.c net/qede/base: dcbx changes for base driver 2017-01-17 19:40:53 +01:00
ecore_gtt_reg_addr.h net/qede/base: add support for new firmware 2017-01-17 19:40:53 +01:00
ecore_gtt_values.h net/qede/base: formatting changes 2016-10-26 19:38:29 +02:00
ecore_hsi_common.h net/qede/base: semantic/formatting changes 2017-01-17 19:40:53 +01:00
ecore_hsi_debug_tools.h net/qede/base: add support for new firmware 2017-01-17 19:40:53 +01:00
ecore_hsi_eth.h net/qede/base: add support for new firmware 2017-01-17 19:40:53 +01:00
ecore_hsi_init_func.h net/qede/base: add new files and rearrange the code 2016-10-26 19:38:18 +02:00
ecore_hsi_init_tool.h net/qede/base: add support for new firmware 2017-01-17 19:40:53 +01:00
ecore_hw_defs.h net/qede/base: enhance comments 2016-10-26 19:42:22 +02:00
ecore_hw.c net/qede/base: semantic/formatting changes 2017-01-17 19:40:53 +01:00
ecore_hw.h net/qede/base: update 2016-10-26 19:42:21 +02:00
ecore_init_fw_funcs.c net/qede/base: fix FreeBSD build 2017-01-30 22:18:26 +01:00
ecore_init_fw_funcs.h net/qede/base: update 2016-10-26 19:42:21 +02:00
ecore_init_ops.c net/qede/base: refactor some code bits 2017-01-17 19:40:53 +01:00
ecore_init_ops.h net/qede/base: enhance comments 2016-10-26 19:42:22 +02:00
ecore_int_api.h net/qede: use I/O device memory read/write API 2017-01-18 17:18:27 +01:00
ecore_int.c net/qede/base: semantic/formatting changes 2017-01-17 19:40:53 +01:00
ecore_int.h net/qede/base: update 2016-10-26 19:42:21 +02:00
ecore_iov_api.h net/qede/base: add support for new firmware 2017-01-17 19:40:53 +01:00
ecore_iro_values.h net/qede/base: add support for new firmware 2017-01-17 19:40:53 +01:00
ecore_iro.h net/qede/base: update 2016-10-26 19:42:21 +02:00
ecore_l2_api.h net/qede/base: fix updating VF queue zone id 2017-01-17 19:40:52 +01:00
ecore_l2.c net/qede/base: improve Tx-switching performance 2017-01-17 19:40:52 +01:00
ecore_l2.h net/qede/base: change queue start 2016-10-26 19:42:22 +02:00
ecore_mcp_api.h net/qede/base: retrieve FW crash dump info 2017-01-17 19:40:53 +01:00
ecore_mcp.c net/qede: change few log levels 2017-01-17 19:40:54 +01:00
ecore_mcp.h net/qede/base: retrieve FW crash dump info 2017-01-17 19:40:53 +01:00
ecore_proto_if.h net/qede/base: update 2016-10-26 19:42:21 +02:00
ecore_rt_defs.h net/qede/base: update 2016-10-26 19:42:21 +02:00
ecore_sp_api.h net/qede/base: enhance comments 2016-10-26 19:42:22 +02:00
ecore_sp_commands.c net/qede/base: add support for new firmware 2017-01-17 19:40:53 +01:00
ecore_sp_commands.h net/qede/base: update 2016-10-26 19:42:21 +02:00
ecore_spq.c net/qede: use I/O device memory read/write API 2017-01-18 17:18:27 +01:00
ecore_spq.h net/qede/base: update 2016-10-26 19:42:21 +02:00
ecore_sriov.c net/qede/base: semantic/formatting changes 2017-01-17 19:40:53 +01:00
ecore_sriov.h net/qede/base: change return codes in SR-IOV 2017-01-17 19:40:52 +01:00
ecore_status.h net/qede/base: add new status code 2017-01-17 19:40:52 +01:00
ecore_utils.h net/qede/base: add macros for converting pointer 2017-01-17 19:40:52 +01:00
ecore_vf_api.h net/qede: fix status block index for VF queues 2016-10-26 19:42:22 +02:00
ecore_vf.c net/qede: remove unused struct member 2017-01-17 19:40:52 +01:00
ecore_vf.h net/qede/base: update 2016-10-26 19:42:21 +02:00
ecore_vfpf_if.h net/qede/base: update 2016-10-26 19:42:21 +02:00
ecore.h net/qede/base: dcbx changes for base driver 2017-01-17 19:40:53 +01:00
eth_common.h net/qede/base: add support for new firmware 2017-01-17 19:40:53 +01:00
mcp_public.h net/qede/base: semantic/formatting changes 2017-01-17 19:40:53 +01:00
nvm_cfg.h net/qede/base: add support for new firmware 2017-01-17 19:40:53 +01:00
reg_addr.h net/qede/base: fix FreeBSD build 2017-01-30 22:18:26 +01:00