]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: Fix to reset transparent vlan tagging
authorSomnath Kotur <somnath.kotur@emulex.com>
Mon, 3 Mar 2014 08:54:20 +0000 (14:24 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Mar 2014 20:48:11 +0000 (15:48 -0500)
commit7154a3f0f5eae740e4024764c78aa7b7fa07d24a
tree5e7301336c923b3ccfba6a9a70b52dd953df91c3
parent2794389190351330bd3757923942e141834e08ab
be2net: Fix to reset transparent vlan tagging

For disabling transparent tagging issue SET_HSW_CONFIG with pvid_valid=1
and pvid=0xFFFF and not with the default pvid as this case would fail in Lancer.
Hence removing the get_hsw_config call from be_vf_setup() as it's
only use of getting default pvid is no longer needed.

Also do proper housekeeping only if the FW command succeeds.

Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/emulex/benet/be_main.c