From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Herbert Subject: [PATCH net-next 0/4] ila: Cleanup Date: Wed, 27 Jun 2018 14:38:58 -0700 Message-ID: <1530135542-10372-1-git-send-email-tom@quantonium.net> Cc: Tom Herbert To: davem@davemloft.net, netdev@vger.kernel.org Return-path: Received: from mail-pg0-f46.google.com ([74.125.83.46]:38675 "EHLO mail-pg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751749AbeF0Vje (ORCPT ); Wed, 27 Jun 2018 17:39:34 -0400 Received: by mail-pg0-f46.google.com with SMTP id c9-v6so1484578pgf.5 for ; Wed, 27 Jun 2018 14:39:34 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: Perform some cleanup in ILA code. This includes: - Fix rhashtable walk for cases where nl dumps are done with muliple function calls. Add a skip index to skip over entries in a node that have been previously visitied. Call rhashtable_walk_peek to avoid dropping items between calls to ila_nl_dump. - Call alloc_bucket_spinlocks to create bucket locks. - Split out module initialization and netlink definitions into separate files. - Add ILA_CMD_FLUSH netlink command to clear the ILA translation table. Tom Herbert (4): ila: Fix use of rhashtable walk in ila_xlat.c ila: Call library function alloc_bucket_locks ila: Create main ila source file ila: Flush netlink command to clear xlat table include/uapi/linux/ila.h | 1 + net/ipv6/ila/Makefile | 2 +- net/ipv6/ila/ila.h | 27 ++++- net/ipv6/ila/ila_common.c | 30 ----- net/ipv6/ila/ila_main.c | 121 +++++++++++++++++++ net/ipv6/ila/ila_xlat.c | 291 +++++++++++++++++++++++----------------------- 6 files changed, 292 insertions(+), 180 deletions(-) create mode 100644 net/ipv6/ila/ila_main.c -- 2.7.4