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

Commit 0430a260 authored by Weilin Chang's avatar Weilin Chang Committed by David S. Miller
Browse files

liquidio: fix VF driver off-by-one bug when setting ethtool -C ethX rx-frames

parent f5165a54
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1808,7 +1808,7 @@ oct_cfg_rx_intrcnt(struct lio *lio,
			    (octeon_read_csr64(
				 oct, CN23XX_VF_SLI_OQ_PKT_INT_LEVELS(q_no)) &
			     (0x3fffff00000000UL)) |
				rx_max_coalesced_frames);
				(rx_max_coalesced_frames - 1));
			/*consider writing to resend bit here*/
		}
		intrmod->rx_frames = rx_max_coalesced_frames;