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
| ||
|
Message-ID: <PH0PR11MB5013DBE8C847748166431F4196679@PH0PR11MB5013.namprd11.prod.outlook.com> Date: Mon, 24 Apr 2023 06:43:16 +0000 From: "Buvaneswaran, Sujai" <sujai.buvaneswaran@...el.com> To: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>, "intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org> CC: "pmenzel@...gen.mpg.de" <pmenzel@...gen.mpg.de>, "netdev@...r.kernel.org" <netdev@...r.kernel.org>, Simon Horman <simon.horman@...igine.com> Subject: RE: [Intel-wired-lan] [PATCH net-next v4 1/5] ice: define meta data to match in switch > -----Original Message----- > From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of > Michal Swiatkowski > Sent: Friday, April 7, 2023 10:22 PM > To: intel-wired-lan@...ts.osuosl.org > Cc: pmenzel@...gen.mpg.de; netdev@...r.kernel.org; Simon Horman > <simon.horman@...igine.com> > Subject: [Intel-wired-lan] [PATCH net-next v4 1/5] ice: define meta data to > match in switch > > Add description for each meta data. Redefine tunnel mask to match only > tunneled MAC and tunneled VLAN. It shouldn't try to match other flags > (previously it was 0xff, it is redundant). > > VLAN mask was 0xd000, change it to 0xf000. 4 last bits are flags depending > on the same field in packets (VLAN tag). Because of that, It isn't harmful to > match also on ITAG. > > Group all MDID and MDID offsets into enums to keep things organized. > > Signed-off-by: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com> > Reviewed-by: Piotr Raczynski <piotr.raczynski@...el.com> > Reviewed-by: Simon Horman <simon.horman@...igine.com> > --- > .../ethernet/intel/ice/ice_protocol_type.h | 186 +++++++++++++++++- > drivers/net/ethernet/intel/ice/ice_switch.c | 11 +- > .../net/ethernet/intel/ice/ice_vlan_mode.c | 2 +- > 3 files changed, 183 insertions(+), 16 deletions(-) > Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran@...el.com>
Powered by blists - more mailing lists