lkml.org 
[lkml]   [2022]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[Patch RFC net-next 2/4] net: dsa: microchip: lan937x: remove vlan_filtering_is_global flag
    Date
    To have the similar implementation among the ksz switches, removed the
    vlan_filtering_is_global flag which is only present in the lan937x.

    Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
    ---
    drivers/net/dsa/microchip/lan937x_main.c | 5 -----
    1 file changed, 5 deletions(-)

    diff --git a/drivers/net/dsa/microchip/lan937x_main.c b/drivers/net/dsa/microchip/lan937x_main.c
    index daedd2bf20c1..9c1fe38efd1a 100644
    --- a/drivers/net/dsa/microchip/lan937x_main.c
    +++ b/drivers/net/dsa/microchip/lan937x_main.c
    @@ -401,11 +401,6 @@ int lan937x_setup(struct dsa_switch *ds)
    return ret;
    }

    - /* The VLAN aware is a global setting. Mixed vlan
    - * filterings are not supported.
    - */
    - ds->vlan_filtering_is_global = true;
    -
    /* Enable aggressive back off for half duplex & UNH mode */
    lan937x_cfg(dev, REG_SW_MAC_CTRL_0,
    (SW_PAUSE_UNH_MODE | SW_NEW_BACKOFF | SW_AGGR_BACKOFF),
    --
    2.36.1
    \
     
     \ /
      Last update: 2022-07-29 17:19    [W:4.049 / U:0.036 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site