Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1fdf1551 authored by Dmitry Kravkov's avatar Dmitry Kravkov Committed by David S. Miller
Browse files

bnx2x: allow user to change ring size in ISCSI SD mode

parent b0700b1e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3117,7 +3117,7 @@ static int bnx2x_alloc_fp_mem_at(struct bnx2x *bp, int index)
	int rx_ring_size = 0;

#ifdef BCM_CNIC
	if (IS_MF_ISCSI_SD(bp)) {
	if (!bp->rx_ring_size && IS_MF_ISCSI_SD(bp)) {
		rx_ring_size = MIN_RX_SIZE_NONTPA;
		bp->rx_ring_size = rx_ring_size;
	} else