diff options
| author | David S. Miller <davem@davemloft.net> | 2017-03-10 05:35:35 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-03-10 05:35:35 +0300 |
| commit | 1015d743fedab72ff2f5bbbc31bcc1a2a291c3c5 (patch) | |
| tree | 3177b6d8736e4d4249f62aeb1b364e2586400d1e /include | |
| parent | a30aad50c26cac63026e5dfcc2e055ae63fe6ef7 (diff) | |
| parent | 9caab08a7685c874e7f20ef16f8191daf85609ae (diff) | |
| download | linux-1015d743fedab72ff2f5bbbc31bcc1a2a291c3c5.tar.xz | |
Merge branch 'mlxsw-VLAN-offload-cls_flower'
Jiri Pirko says:
====================
mlxsw: spectrum: Add support for VLAN offload for cls_flower
This patchset adds support to offload VLAN modify TC action and adds support
to offload cls_flower rules that include VID and PCP matching.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/tc_act/tc_vlan.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/tc_act/tc_vlan.h b/include/net/tc_act/tc_vlan.h index 48cca321ee6c..9690c047b6cf 100644 --- a/include/net/tc_act/tc_vlan.h +++ b/include/net/tc_act/tc_vlan.h @@ -49,4 +49,9 @@ static inline __be16 tcf_vlan_push_proto(const struct tc_action *a) return to_vlan(a)->tcfv_push_proto; } +static inline u8 tcf_vlan_push_prio(const struct tc_action *a) +{ + return to_vlan(a)->tcfv_push_prio; +} + #endif /* __NET_TC_VLAN_H */ |
