lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200929074504.331218ef@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date:   Tue, 29 Sep 2020 07:45:04 -0700
From:   Jakub Kicinski <kuba@...nel.org>
To:     Vladimir Oltean <vladimir.oltean@....com>
Cc:     davem@...emloft.net, alexandre.belloni@...tlin.com, andrew@...n.ch,
        f.fainelli@...il.com, vivien.didelot@...il.com,
        horatiu.vultur@...rochip.com, joergen.andreasen@...rochip.com,
        allan.nielsen@...rochip.com, alexandru.marginean@....com,
        claudiu.manoil@....com, xiaoliang.yang_1@....com,
        hongbo.wang@....com, netdev@...r.kernel.org, jiri@...nulli.us,
        idosch@...sch.org, UNGLinuxDriver@...rochip.com
Subject: Re: [RFC PATCH v2 net-next 17/21] net: mscc: ocelot: offload egress
 VLAN rewriting to VCAP ES0

On Tue, 29 Sep 2020 13:10:12 +0300 Vladimir Oltean wrote:
> From: Xiaoliang Yang <xiaoliang.yang_1@....com>
> 
> VCAP ES0 is an egress VCAP operating on all outgoing frames.
> This patch added ES0 driver to support vlan push action of tc filter.
> Usage:
> 
> tc filter add dev swp1 egress protocol 802.1Q flower indev swp0 skip_sw \
>         vlan_id 1 vlan_prio 1 action vlan push id 2 priority 2
> 
> Signed-off-by: Xiaoliang Yang <xiaoliang.yang_1@....com>
> Signed-off-by: Vladimir Oltean <vladimir.oltean@....com>

drivers/net/ethernet/mscc/ocelot_flower.c:295:31: warning: cast to restricted __be16
drivers/net/ethernet/mscc/ocelot_flower.c:295:31: warning: cast to restricted __be16
drivers/net/ethernet/mscc/ocelot_flower.c:295:31: warning: cast to restricted __be16
drivers/net/ethernet/mscc/ocelot_flower.c:295:31: warning: cast to restricted __be16
drivers/net/ethernet/mscc/ocelot_flower.c:298:31: warning: cast to restricted __be16
drivers/net/ethernet/mscc/ocelot_flower.c:298:31: warning: cast to restricted __be16
drivers/net/ethernet/mscc/ocelot_flower.c:298:31: warning: cast to restricted __be16
drivers/net/ethernet/mscc/ocelot_flower.c:298:31: warning: cast to restricted __be16
drivers/net/ethernet/mscc/ocelot_flower.c:294:40: warning: restricted __be16 degrades to integer
drivers/net/ethernet/mscc/ocelot_flower.c:294:40: warning: restricted __be16 degrades to integer

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ