Igb has a bug about queue index for rss rule flow configuration
when set redirection table.
Fixes:
424ae915baf0 ("net/e1000: move RSS to flow API")
Cc: stable@dpdk.org
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Tested-by: Yuan Peng <yuan.peng@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
} reta;
uint8_t q_idx;
- q_idx = conf->queue[j];
if (j == conf->num)
j = 0;
+ q_idx = conf->queue[j];
reta.bytes[i & 3] = (uint8_t)(q_idx << shift);
if ((i & 3) == 3)
E1000_WRITE_REG(hw, E1000_RETA(i >> 2), reta.dword);