bnx2x: Clean before update RSS arrives
authorMichal Kalderon <michals@broadcom.com>
Sun, 5 Jan 2014 16:33:52 +0000 (18:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jan 2014 01:22:24 +0000 (20:22 -0500)
commit5b622918cd6f4ff5b5200ea6b2e48ae2fa6ad09e
treea9146d385342f61ca383c7db75c5f58648c04850
parent89e18ae6e6288deb1940cd16afe4e6983545defa
bnx2x: Clean before update RSS arrives

When a PF receives a VF message indicating a change in RSS properties
it should clean the flags' bit-fields; Otherwise, it's possible that
some random values will be considered as flags by the lower layers configuring
the RSS in FW.

Signed-off-by: Michal Kalderon <michals@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c