Skip to content

Commit

Permalink
Remove RSS bit check for setting RETA
Browse files Browse the repository at this point in the history
RSS is always enabled, so there shouldn't be a case in which
this is a no-op anyway. Also the check is complicated by the fact
that RSS can be enabled in many ways (with DCB, VMDq, etc.).
  • Loading branch information
takikawa committed Aug 16, 2017
1 parent aca0bf3 commit cc02601
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/apps/intel_mp/intel_mp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -644,10 +644,6 @@ function Intel:rss_tab (newtab)
return current
end
function Intel:rss_tab_build ()
-- noop if rss is not enabled
local b = bits { RSS = self:offset("MRQC", "RSS") }
if bit.band(self.r.MRQC(), b) ~= b then return end

local tab = {}
for i=0,self.max_q-1,1 do
if band(self.r.ALLRXDCTL[i](), bits { Enable = 25 }) > 0 then
Expand Down

0 comments on commit cc02601

Please sign in to comment.