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
| ||
|
Date: Thu, 16 Jul 2015 10:22:29 +0200 From: Jiri Pirko <jiri@...nulli.us> To: sfeldma@...il.com Cc: netdev@...r.kernel.org, roopa@...ulusnetworks.com, simon.horman@...ronome.com Subject: Re: [PATCH net-next v2 3/5] switchdev: add offload_fwd_mark generator helper Thu, Jul 16, 2015 at 10:04:55AM CEST, sfeldma@...il.com wrote: >From: Scott Feldman <sfeldma@...il.com> > >skb->offload_fwd_mark and dev->offload_fwd_mark are 32-bit and should be >unique for device and may even be unique for a sub-set of ports within >device, so add switchdev helper function to generate unique marks based on >port's switch ID and group_ifindex. group_ifindex would typically be the >container dev's ifindex, such as the bridge's ifindex. > >The generator uses a global hash table to store offload_fwd_marks hashed by >{switch ID, group_ifindex} key. > >Signed-off-by: Scott Feldman <sfeldma@...il.com> Acked-by: Jiri Pirko <jiri@...nulli.us> -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists