On Mon, Oct 31, 2016 at 01:44:29PM +0100, Florian Westphal wrote: > Signed-off-by: Florian Westphal <fw@xxxxxxxxx> > --- > NB1: Alternative is to place this in nft_hash, but that uses > an sreg so i think meta is fine. Right. We may still reuse all these attributes though if we use the hash expression: * @NFTA_HASH_DREG: destination register (NLA_U32) * @NFTA_HASH_MODULUS: modulus value (NLA_U32) * @NFTA_HASH_OFFSET: add this offset value to hash result (NLA_U32) This would need a new NFTA_HASH_TYPE, defaulting on jhash. Otherwise we would need a scaling expression in case we want to use this new meta field for load balancing just like af_packet fanout. Do you prefer to follow up this path? -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html