Revision 71c190249f0ced5b26377ea6bf829ab3af77a40c authored by Jiong Wang on 22 February 2019, 22:36:03 UTC, committed by Daniel Borkmann on 22 February 2019, 23:07:47 UTC
The intended optimization should be A ^ 0 = A, not A ^ -1 = A. Fixes: cd7df56ed3e6 ("nfp: add BPF to NFP code translator") Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Jiong Wang <jiong.wang@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
1 parent 7c0cdf0
tc_defact.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __NET_TC_DEF_H
#define __NET_TC_DEF_H
#include <net/act_api.h>
struct tcf_defact {
struct tc_action common;
u32 tcfd_datalen;
void *tcfd_defdata;
};
#define to_defact(a) ((struct tcf_defact *)a)
#endif /* __NET_TC_DEF_H */
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...