Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61654679 authored by Grzegorz Morys's avatar Grzegorz Morys Committed by Doug Ledford
Browse files

IB/hfi1: Remove HFI1_VERBS_31BIT_PSN option



Remove HFI1_VERBS_31BIT_PSN Kconfig option leaving only 31-bit PSNs
available. The option was implemented in the early days of the driver
and is no longer needed.

Reviewed-by: default avatarMike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: default avatarGrzegorz Morys <grzegorz.morys@intel.com>
Signed-off-by: default avatarDennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent d392a673
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -13,13 +13,6 @@ config HFI1_DEBUG_SDMA_ORDER
	---help---
	This is a debug flag to test for out of order
	sdma completions for unit testing
config HFI1_VERBS_31BIT_PSN
	bool "HFI1 enable 31 bit PSN"
	depends on INFINIBAND_HFI1
	default y
	---help---
	Setting this enables 31 BIT PSN
	For verbs RC/UC
config SDMA_VERBOSITY
	bool "Config SDMA Verbosity"
	depends on INFINIBAND_HFI1
+0 −5
Original line number Diff line number Diff line
@@ -280,13 +280,8 @@ int hfi1_process_mad(struct ib_device *ibdev, int mad_flags, u8 port,
 * necessarily be at least one bit less than
 * the container holding the PSN.
 */
#ifndef CONFIG_HFI1_VERBS_31BIT_PSN
#define PSN_MASK 0xFFFFFF
#define PSN_SHIFT 8
#else
#define PSN_MASK 0x7FFFFFFF
#define PSN_SHIFT 1
#endif
#define PSN_MODIFY_MASK 0xFFFFFF

/*