From: Ariel Elior Date: Tue, 1 Jan 2013 05:22:29 +0000 (+0000) Subject: bnx2x: Support ndo_set_rxmode in VF driver X-Git-Tag: v3.9-rc1~139^2~502 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=381ac16b10ae9369ebbbd74bb52b970818f68022;p=pandora-kernel.git bnx2x: Support ndo_set_rxmode in VF driver The VF driver uses the 'q_filter' request in the VF <-> PF channel to have the PF configure the requested rxmode to device. ndo_set_rxmode is called under bottom half lock, so sleeping until the response arrives over the VF <-> PF channel is out of the question. For this reason the VF driver returns from the ndo after scheduling a work item, which in turn processes the rx mode request and adds the classification information through the VF <-> PF channel accordingly. Signed-off-by: Ariel Elior Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- Reading git-diff-tree failed