]> 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)
commitd9eb8d920a5ac164f7fab42245ce1601de16787f
tree5e7301336c923b3ccfba6a9a70b52dd953df91c3
parent3be1fc5e77b388c44a727bff54aa800453e15d29
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