]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Fix LACP pdu drops for VFs
authorManish Chopra <manishc@marvell.com>
Mon, 28 Jan 2019 18:05:05 +0000 (10:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2019 19:13:34 +0000 (11:13 -0800)
commit4c1e8fd80a58e9d84efa36d0d82b75897059b1f4
tree03bc61f1b875f50531b6c1afcba0f7db3519aa1b
parentb5c68ba4c4d690607e1d3adcbb40c24f29689cd8
qed: Fix LACP pdu drops for VFs

VF is always configured to drop control frames
(with reserved mac addresses) but to work LACP
on the VFs, it would require LACP control frames
to be forwarded or transmitted successfully.

This patch fixes this in such a way that trusted VFs
(marked through ndo_set_vf_trust) would be allowed to
pass the control frames such as LACP pdus.

Signed-off-by: Manish Chopra <manishc@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_l2.c
drivers/net/ethernet/qlogic/qed/qed_l2.h
drivers/net/ethernet/qlogic/qed/qed_sriov.c