commit | b6069a95706ca5738be3f5d90fd286cbd13ac695 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Fri Sep 07 22:03:35 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Sep 10 15:44:56 2012 -0400 |
tree | 8d3d2f11385265b3a0a7d03f07d98752b694ed14 | |
parent | c6bb8136c95ce16545f8c4028e958c0ee6c86f23 [diff] |
filter: add MOD operation Add a new ALU opcode, to compute a modulus. Commit ffe06c17afbbb used an ancillary to implement XOR_X, but here we reserve one of the available ALU opcode to implement both MOD_X and MOD_K Signed-off-by: Eric Dumazet <edumazet@google.com> Suggested-by: George Bakos <gbakos@alpinista.org> Cc: Jay Schulist <jschlst@samba.org> Cc: Jiri Pirko <jpirko@redhat.com> Cc: Andi Kleen <ak@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>