linux/drivers/net/ethernet/netronome/nfp/flower
Cong Wang 9f8a739e72 act_mirred: get rid of tcfm_ifindex from struct tcf_mirred
tcfm_dev always points to the correct netdev and we already
hold a refcnt, so no need to use tcfm_ifindex to lookup again.

If we would support moving target netdev across netns, using
pointer would be better than ifindex.

This also fixes dumping obsolete ifindex, now after the
target device is gone we just dump 0 as ifindex.

Cc: Jiri Pirko <jiri@mellanox.com>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-12-06 14:50:13 -05:00
..
action.c act_mirred: get rid of tcfm_ifindex from struct tcf_mirred 2017-12-06 14:50:13 -05:00
cmsg.c nfp: flower: vxlan - ensure no sleep in atomic context 2017-11-02 20:27:11 +09:00
cmsg.h nfp: flower: vxlan - ensure no sleep in atomic context 2017-11-02 20:27:11 +09:00
main.c nfp: register flower reprs for egress dev offload 2017-11-17 14:09:36 +09:00
main.h nfp: register flower reprs for egress dev offload 2017-11-17 14:09:36 +09:00
match.c nfp: add IPv6 ttl and tos match offloading support 2017-10-06 09:56:35 -07:00
metadata.c nfp: fix flower offload metadata flag usage 2017-11-17 14:09:35 +09:00
offload.c nfp: flower: add missing kdoc 2017-11-21 20:24:37 +09:00
tunnel_conf.c nfp: flower: vxlan - ensure no sleep in atomic context 2017-11-02 20:27:11 +09:00