]> 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)
commit0691d1b5bfb8c559bbe10710d96d275da3087c89
treea9146d385342f61ca383c7db75c5f58648c04850
parent6a0e8badfaeb0823fbbdf3aba500dcd6152b9127
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