]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
qed: Fix setting of incorrect eswitch mode.
authorSudarsana Reddy Kalluru <sudarsana.kalluru@cavium.com>
Mon, 2 Jul 2018 03:03:06 +0000 (20:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Jul 2018 11:41:30 +0000 (20:41 +0900)
commit538f8d00ba8bb417c4d9e76c61dee59d812d8287
tree78823fc21b16d4c238d70689d9b123ecf8c53807
parentbb7858ba1102f82470a917e041fd23e6385c31be
qed: Fix setting of incorrect eswitch mode.

By default, driver sets the eswitch mode incorrectly as VEB (virtual
Ethernet bridging).
Need to set VEB eswitch mode only when sriov is enabled, and it should be
to set NONE by default. The patch incorporates this change.

Fixes: 0fefbfbaa ("qed*: Management firmware - notifications and defaults")
Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_dev.c
drivers/net/ethernet/qlogic/qed/qed_sriov.c