commit | 8852ddb4dcdfe6f877a02f79bf2bca9ae63c039a | [log] [tgz] |
---|---|---|
author | Michael Chan <michael.chan@broadcom.com> | Mon Jun 06 02:37:16 2016 -0400 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 07 16:02:03 2016 -0700 |
tree | aa268a311f05adf73488b005fb08a3db73d8e1cb | |
parent | 5a9f6b238e59bc05afb4cdeaf3672990bf2a5309 [diff] |
bnxt_en: Simplify VLAN receive logic. Since both CTAG and STAG rx acceleration must be enabled together, we only need to check one feature flag (NETIF_F_HW_VLAN_CTAG_RX) before calling __vlan_hwaccel_put_tag(). Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>