linux/drivers/net/ethernet/emulex/benet
ajit.khaparde@broadcom.com 127bfce541 be2net: Fix a UE caused by passing large frames to the ASIC
In QnQ configurations like Flex-10 where the VLANs are inserted by the
ASIC, on rare occasions the HW is encountering a scenario where the
final frame length ends to be greater than what the ASIC can support.

This is because when the TXULP pulls the TX WRB to check the length
of the frame to be 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 <ajit.khaparde@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-02-24 15:25:19 -05:00
..
Kconfig be2net: make hwmon interface optional 2015-05-19 16:40:04 -04:00
Makefile be2net: Add functionality to support RoCE driver 2012-05-08 11:17:47 -07:00
be.h be2net: Fix a UE caused by passing large frames to the ASIC 2016-02-24 15:25:19 -05:00
be_cmds.c be2net: Declare some u16 fields as u32 to improve performance 2016-02-24 15:25:19 -05:00
be_cmds.h be2net: Interpret and log new data that's added to the port misconfigure async event 2016-02-11 03:46:59 -05:00
be_ethtool.c be2net: return error status from be_set_phys_id() 2016-02-07 13:55:22 -05:00
be_hw.h be2net: update copyright year to 2015 2015-05-09 16:27:04 -04:00
be_main.c be2net: Fix a UE caused by passing large frames to the ASIC 2016-02-24 15:25:19 -05:00
be_roce.c RDMA/be2net: Remove open and close entry points 2015-12-28 11:45:55 -05:00
be_roce.h RDMA/be2net: Remove open and close entry points 2015-12-28 11:45:55 -05:00