[PATCH net-next 0/2] be2net patches

2016-02-22 Thread Ajit Khaparde
Please consider applying to net-next Ajit Khaparde (2): Patch 1: Declare some u16 fields as u32 to improve performance Patch 2: Fix a UE caused by passing large frames to the ASIC drivers/net/ethernet/emulex/benet/be.h | 21 - drivers/net/ethernet/emulex/benet

[PATCH net-next 2/2] be2net: Fix a UE caused by passing large frames to the ASIC

2016-02-22 Thread Ajit Khaparde
transmitted it also adds the size of VLANs to be inserted by the HW to the length of the frame indicated in the WRB, which in some cases fails the range check. This causes a UE. Avoid this by trimming the skb length to accommodate the VLAN insertion. Signed-off-by: Ajit Khaparde --- drivers/net

[PATCH net-next 1/2] be2net: Declare some u16 fields as u32 to improve performance

2016-02-22 Thread Ajit Khaparde
fields as u32. With this change we see the 64-byte packets per second numbers improve by about 4%. Signed-off-by: Ajit Khaparde --- drivers/net/ethernet/emulex/benet/be.h | 18 +- drivers/net/ethernet/emulex/benet/be_cmds.c | 2 +- drivers/net/ethernet/emulex/benet/be_main.c

[PATCH net-next 1/2] be2net: Request RSS capability of Rx interface depending on number of Rx rings

2016-02-10 Thread ajit . khaparde
From: Ajit Khaparde Currently we request RSS capability even if a single Rx ring is created. As a result in few cases we unnecessarily consume an RSS capable interface which is a limited resource in the chip. This patch enables RSS on an interface only if more than one Rx ring is created

[PATCH net-next 0/2] be2net Patch series

2016-02-10 Thread ajit . khaparde
From: Ajit Khaparde Please consider applying these two patches to net-next Patch-1: Request RSS capability of Rx interface depending on number of Rx rings Patch-2: Interpret and log new data that's added to the port misconfigure async event drivers/net/ethernet/emulex/benet

[PATCH net-next 2/2] be2net: Interpret and log new data that's added to the port misconfigure async event

2016-02-10 Thread ajit . khaparde
From: Ajit Khaparde >From FW version 11.0. onwards, the PORT_MISCONFIG event generated by the FW will carry more information about the event in the "data_word1" and "data_word2" fields. This patch adds support in the driver to parse the new information and log it accor