Iman Shumpert was the lone Knick who had played in all 45 games this season. That streak will end.

Shumpert sprained his right shoulder late in the first quarter of Tuesday’s 114-88 victory over the Celtics, departed and didn’t return.

“How long he’s going to be out, I don’t know,’’ coach Mike Woodson said.

Shumpert had shoulder issues during training camp also but had remained healthy all season to this point. The new smallball alignment without injured Andrea Bargnani had been working, with Shumpert shifted to small forward.

What Woodson does next is unclear, but he could start J.R. Smith at small forward.

Celtics point guard Rajon Rondo was back at the Garden, facing the Knicks for the first time this season, but nowhere close to being outfitted in a Knicks uniform. He’s also no closer to winning. He’s now 0-6 since returning from his ACL tear after shooting 3 of 13 Tuesday.

Rondo said over the weekend he “wouldn’t mind’’ staying another “10 years’’ in Beantown.

Rondo becomes a free agent in 2015 and is on the Knicks’ short list with their expected cap space. But they would prefer to be able to land him in a trade — one of the scenarios they hope will convince Carmelo Anthony to stay.

But a deal for Rondo seems far-fetched, because Celtics president of basketball operations Danny Ainge is attempting to sign Rondo to a long-term extension. Anthony would love to play with Rondo; they both attended Oak Hill Academy.

Rondo sounds as if he definitely prefers Boston.