ixgbe: fix flow director flexbytes offset
authorJingjing Wu <jingjing.wu@intel.com>
Fri, 19 Jun 2015 06:35:25 +0000 (14:35 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 22 Jun 2015 09:56:24 +0000 (11:56 +0200)
commit49b03b18b3affc11e275b283dcffa22c694000b1
tree37109b7481eb34e389859932375a0754614899da
parent00e481412a4c48412dc03a0b63fcf0c3dd3085f3
ixgbe: fix flow director flexbytes offset

The flexbytes offset can not be set, because the value is over written
when fdir is enabled.
This patch fixes this issue, and also removes some reduplicate lines.

Fixes: d54a9888267c ("ixgbe: support flexpayload configuration of flow director")

Reported-by: David Marchand <david.marchand@6wind.com>
Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Tested-by: Gaetan Rivet <gaetan.rivet@6wind.com>
Acked-by: David Marchand <david.marchand@6wind.com>
drivers/net/ixgbe/ixgbe_fdir.c