netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v6 0/3] Incorporated all required changes
@ 2017-11-03 15:49 Manish Kurup
  2017-11-05 13:08 ` David Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Manish Kurup @ 2017-11-03 15:49 UTC (permalink / raw)
  To: jhs, xiyou.wangcong, jiri, davem, jakub.kicinski,
	pieter.jansenvanvuuren, simon.horman, john.hurley, oss-drivers,
	netdev
  Cc: aring, mrv, kurup.manish, Manish Kurup

Hi everyone,

Modified the netronome drivers (flower action) to use the VLAN helper
functions instead of dereferencing the structure directly. This is
required for the VLAN action patch.

Could you please review?

Here're the changes:
v2: Fixed all helper functions to use RCU (rtnl_dereference) - Eric, Jamal
v2: Fixed indentation, extra line nits - Jamal, Jiri
v2: Moved rcu_head to the end of the struct - Jiri
v2: Re-formatted locals to reverse-christmas-tree - Jiri
v2: Removed mismatched spin_lock() - Cong
v2: Removed spin_lock_bh() in tcf_vlan_init, rtnl_dereference() should
    suffice - Cong, Jiri
v4: Modified the nfp flower action code to use the VLAN helper functions
    instead of referencing the structure directly. Isolated this into a
    separate patch - Pieter Jansen
v5: Got rid of the unlikely() for the allocation case - Simon Horman
v6: Added cleanup functions for RCU alloc - Dave Miller

Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Manish Kurup <manish.kurup@verizon.com>

Manish Kurup (3):
  act_vlan: Change stats update to use per-core stats
  nfp flower action: Modified to use VLAN helper functions
  act_vlan: VLAN action rewrite to use RCU lock/unlock and update

 drivers/net/ethernet/netronome/nfp/flower/action.c |  5 +-
 include/net/tc_act/tc_vlan.h                       | 46 +++++++++---
 net/sched/act_vlan.c                               | 81 +++++++++++++++-------
 3 files changed, 94 insertions(+), 38 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-11-06 23:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-03 15:49 [PATCH net-next v6 0/3] Incorporated all required changes Manish Kurup
2017-11-05 13:08 ` David Miller
     [not found]   ` <CAJrKpLaNX4gX0yTkKkRvmU=Ti3xYGkoEu4cAcDhwnZF2tZU1SA@mail.gmail.com>
2017-11-06 18:25     ` Pieter Jansen van Vuuren
2017-11-06 23:45     ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).