]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit77e20fa73cff98cf8daa005c28853b1c27aad702
treea9146d385342f61ca383c7db75c5f58648c04850
parenta4c5b3329636c8b01440e78f6dc9e0611d394589
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