net/bnx2x: restrict Rx mask flags sent to the PF
authorChas Williams <3chas3@gmail.com>
Tue, 11 Oct 2016 23:04:56 +0000 (19:04 -0400)
committerBruce Richardson <bruce.richardson@intel.com>
Thu, 13 Oct 2016 13:30:59 +0000 (15:30 +0200)
commit5dbc53d7e5a2a46a27a8978367b80fa1d4e41601
tree3f9b770418247ce846c09cc9d39df8d3ec2eee96
parentcf3d07b1e6723343ecf63e51fff47aa2ff92af70
net/bnx2x: restrict Rx mask flags sent to the PF

Don't use bnx2x_fill_accept_flags() to fill the RX mask in the VF
since the PF only handles a subset of the existing flags.  now,
bnx2x_fill_accept_flags() can be static.

Fixes: 540a211084a7 ("bnx2x: driver core")

Signed-off-by: Chas Williams <3chas3@gmail.com>
Acked-by: Harish Patil <harish.patil@qlogic.com>
drivers/net/bnx2x/bnx2x.c
drivers/net/bnx2x/bnx2x.h
drivers/net/bnx2x/bnx2x_vfpf.c
drivers/net/bnx2x/bnx2x_vfpf.h