bnx2x: Filter packets on FCoE rings
Whenever bnx2x fails to transmit a packet due to a full Tx ring, if the ring size is zero (indicating an FCoE ring) driver filters the packet out and gracefully continues. Driver also gathers statistics on such filtered packets. Signed-off-by:Dmitry Kravkov <dmitry@broadcom.com> Signed-off-by:
Yuval Mintz <yuvalmin@broadcom.com> Signed-off-by:
Eilon Greenstein <eilong@broadcom.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 8 additions, 3 deletionsdrivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 5 additions, 1 deletiondrivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c 1 addition, 0 deletionsdrivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h 3 additions, 0 deletionsdrivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.h
Loading
Please register or sign in to comment