]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
xsigo: Optimize xsvnic module parameters for UEK4
authorPradeep Gopanapalli <pradeep.gopanapalli@oracle.com>
Wed, 8 Mar 2017 00:29:21 +0000 (16:29 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Tue, 30 May 2017 05:10:08 +0000 (22:10 -0700)
Orabug: 25779865

Enable Transmit interrupt.
Increase transmit and receive ring sizes to 2048 for
better performance.

Reviewed-by: Chien Yen <chien.yen@oracle.com>
Signed-off-by: Pradeep Gopanapalli <pradeep.gopanapalli@oracle.com>
drivers/infiniband/ulp/xsigo/xscore/Makefile
drivers/infiniband/ulp/xsigo/xsvhba/Makefile
drivers/infiniband/ulp/xsigo/xsvnic/Makefile
drivers/infiniband/ulp/xsigo/xsvnic/xsvnic_main.c
drivers/infiniband/ulp/xsigo/xve/Makefile

index bc52ca6707392e96950544f12a403c9fb8a853ae..38c3460185ffb0cc056509175c9523ed83531275 100644 (file)
@@ -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
index 715c949f1554ab388d40dc595ab23123e48cf972..f123c1dc0e6dea0d55876ef8284f331eded05b56 100644 (file)
@@ -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
index e59d925db6199728f017814ca83830e25ef30ce1..a443cd9f9fc77637c8114cc29ee6a0292d80d3a6 100644 (file)
@@ -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
index c53366cc5d0a1e77df733712b0747682e48a443b..d87fe4d449cb9e3318721dad4922be4d49b5c309 100644 (file)
@@ -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;
index 57b401bc272958e0fc435189775e9396b01438fb..d373bde1165ced22baaac853ee77681989bfed4e 100644 (file)
@@ -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