From 090439ff2aece774e8efaeda8db982af8945d494 Mon Sep 17 00:00:00 2001 From: Pradeep Gopanapalli Date: Tue, 7 Mar 2017 16:29:21 -0800 Subject: [PATCH] xsigo: Optimize xsvnic module parameters for UEK4 Orabug: 25779865 Enable Transmit interrupt. Increase transmit and receive ring sizes to 2048 for better performance. Reviewed-by: Chien Yen Signed-off-by: Pradeep Gopanapalli --- drivers/infiniband/ulp/xsigo/xscore/Makefile | 2 +- drivers/infiniband/ulp/xsigo/xsvhba/Makefile | 2 +- drivers/infiniband/ulp/xsigo/xsvnic/Makefile | 2 +- drivers/infiniband/ulp/xsigo/xsvnic/xsvnic_main.c | 6 +++--- drivers/infiniband/ulp/xsigo/xve/Makefile | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/infiniband/ulp/xsigo/xscore/Makefile b/drivers/infiniband/ulp/xsigo/xscore/Makefile index bc52ca6707392..38c3460185ffb 100644 --- a/drivers/infiniband/ulp/xsigo/xscore/Makefile +++ b/drivers/infiniband/ulp/xsigo/xscore/Makefile @@ -2,7 +2,7 @@ obj-$(CONFIG_INFINIBAND_XSCORE) := xscore.o xscore-y := xscore_impl.o xs_ud.o xscore_api.o xsmp.o \ xscore_stats.o xscore_uadm.o -ccflags-y += -DXSIGO_LOCAL_VERSION=\"6.0.r8041\" +ccflags-y += -DXSIGO_LOCAL_VERSION=\"6.0.r8042\" ccflags-y += -DRDMA_PORT_LINK_LAYER_CHANGES -DHAS_SKB_ACCESS_FUNCTIONS ccflags-y += -DSCSI_STRUCT_CHANGES -DSCSI_TIMEOUT_CHANGES -DLLE ccflags-y += -DXG_FRAG_SIZE_PRESENT -DXG_FRAG_PAGE_PRESENT diff --git a/drivers/infiniband/ulp/xsigo/xsvhba/Makefile b/drivers/infiniband/ulp/xsigo/xsvhba/Makefile index 715c949f1554a..f123c1dc0e6de 100644 --- a/drivers/infiniband/ulp/xsigo/xsvhba/Makefile +++ b/drivers/infiniband/ulp/xsigo/xsvhba/Makefile @@ -3,7 +3,7 @@ xsvhba-y := vhba_main.o vhba_xsmp.o vhba_create.o vhba_init.o vhba_delete.o \ vhba_attr.o vhba_wq.o vhba_proc.o vhba_stats.o vhba_ib.o \ vhba_scsi_intf.o vhba_align.o -ccflags-y += -DXSIGO_LOCAL_VERSION=\"6.0.r8041\" +ccflags-y += -DXSIGO_LOCAL_VERSION=\"6.0.r8042\" ccflags-y += -DRDMA_PORT_LINK_LAYER_CHANGES -DHAS_SKB_ACCESS_FUNCTIONS ccflags-y += -DSCSI_STRUCT_CHANGES -DSCSI_TIMEOUT_CHANGES -DLLE ccflags-y += -DXG_FRAG_SIZE_PRESENT -DXG_FRAG_PAGE_PRESENT diff --git a/drivers/infiniband/ulp/xsigo/xsvnic/Makefile b/drivers/infiniband/ulp/xsigo/xsvnic/Makefile index e59d925db6199..a443cd9f9fc77 100644 --- a/drivers/infiniband/ulp/xsigo/xsvnic/Makefile +++ b/drivers/infiniband/ulp/xsigo/xsvnic/Makefile @@ -1,7 +1,7 @@ obj-$(CONFIG_INFINIBAND_XSVNIC) := xsvnic.o xsvnic-y := xsvnic_main.o xsvnic_stats.o -ccflags-y += -DXSIGO_LOCAL_VERSION=\"6.0.r8041\" +ccflags-y += -DXSIGO_LOCAL_VERSION=\"6.0.r8042\" ccflags-y += -DRDMA_PORT_LINK_LAYER_CHANGES -DHAS_SKB_ACCESS_FUNCTIONS ccflags-y += -DSCSI_STRUCT_CHANGES -DSCSI_TIMEOUT_CHANGES -DLLE ccflags-y += -DXG_FRAG_SIZE_PRESENT -DXG_FRAG_PAGE_PRESENT diff --git a/drivers/infiniband/ulp/xsigo/xsvnic/xsvnic_main.c b/drivers/infiniband/ulp/xsigo/xsvnic/xsvnic_main.c index c53366cc5d0a1..d87fe4d449cb9 100644 --- a/drivers/infiniband/ulp/xsigo/xsvnic/xsvnic_main.c +++ b/drivers/infiniband/ulp/xsigo/xsvnic/xsvnic_main.c @@ -81,10 +81,10 @@ module_param(multicast_list_disable, int, 0644); static int xsvnic_hbeat_enable = 2; module_param(xsvnic_hbeat_enable, int, 0644); -int xsvnic_rxring_size = 256; +int xsvnic_rxring_size = 2048; module_param(xsvnic_rxring_size, int, 0444); -int xsvnic_txring_size = 256; +int xsvnic_txring_size = 2048; module_param(xsvnic_txring_size, int, 0444); int xsvnic_highdma; @@ -105,7 +105,7 @@ module_param(xsvnic_reclaim_count, int, 0644); int xsvnic_tx_queue_len = 1000; module_param(xsvnic_tx_queue_len, int, 0644); -int xsvnic_tx_intr_mode; +int xsvnic_tx_intr_mode = 1; module_param(xsvnic_tx_intr_mode, int, 0644); int xsvnic_max_coal_frames; diff --git a/drivers/infiniband/ulp/xsigo/xve/Makefile b/drivers/infiniband/ulp/xsigo/xve/Makefile index 57b401bc27295..d373bde1165ce 100644 --- a/drivers/infiniband/ulp/xsigo/xve/Makefile +++ b/drivers/infiniband/ulp/xsigo/xve/Makefile @@ -2,7 +2,7 @@ obj-$(CONFIG_INFINIBAND_XVE) := xve.o xve-y := xve_main.o xve_verbs.o xve_multicast.o xve_ib.o xve_tables.o \ xve_ethtool.o xve_cm.o xve_stats.o -ccflags-y += -DXSIGO_LOCAL_VERSION=\"6.0.r8041\" +ccflags-y += -DXSIGO_LOCAL_VERSION=\"6.0.r8042\" ccflags-y += -DRDMA_PORT_LINK_LAYER_CHANGES -DHAS_SKB_ACCESS_FUNCTIONS ccflags-y += -DSCSI_STRUCT_CHANGES -DSCSI_TIMEOUT_CHANGES -DLLE ccflags-y += -DXG_FRAG_SIZE_PRESENT -DXG_FRAG_PAGE_PRESENT -- 2.50.1