Torres had the operation Thursday and general manager Doug Wilson says he is expected back later this season.
Torres was injured in a collision with Anaheim forward Emerson Etem last Friday.
The Sharks were counting on Torres to provide energy and physical play this year. His acquisition late last season provided a needed spark to the team before he was suspended for the final six playoff games for an illegal hit on Los Angeles forward Jarret Stoll.
The Sharks signed Torres to a three-year, $6 million contract in June.
You've got to focus on playing good hockey. When we do that we give ourselves a chance to win games. Win games and then maybe we''ll have a chance at the end. You can't worry about something like (the division title) when we're not playing our best hockey down the stretch. We'll figure things out together the way we always do and get back on the right page.
— Blackhawks captain Jonathan Toews after loss to Flyers on Wednesday left them five points out of first place in Central Division