net: stmmac: replace the vlan_fail_q_en field with a flag
[platform/kernel/linux-rpi.git] / include / linux / stmmac.h
index aeb3e75..155cb11 100644 (file)
@@ -210,6 +210,7 @@ struct dwmac4_addrs {
 #define STMMAC_FLAG_HAS_SUN8I                  BIT(3)
 #define STMMAC_FLAG_TSO_EN                     BIT(4)
 #define STMMAC_FLAG_SERDES_UP_AFTER_PHY_LINKUP BIT(5)
+#define STMMAC_FLAG_VLAN_FAIL_Q_EN             BIT(6)
 
 struct plat_stmmacenet_data {
        int bus_id;
@@ -278,7 +279,6 @@ struct plat_stmmacenet_data {
        bool en_tx_lpi_clockgating;
        bool rx_clk_runs_in_lpi;
        int has_xgmac;
-       bool vlan_fail_q_en;
        u8 vlan_fail_q;
        unsigned int eee_usecs_rate;
        struct pci_dev *pdev;