diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-07-09 16:55:41 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-09 17:38:50 -0400 |
commit | 32f8c4093ac353a5f1b36cfed0ce0138faf8e15f (patch) | |
tree | 01564eb144db93dd12b2e2b23ec74704872afba3 /net/dsa | |
parent | 9c0e189ec988f306331036bc3f71085582b24fdc (diff) |
net: flow_offload: rename TCF_BLOCK_BINDER_TYPE_* to FLOW_BLOCK_BINDER_TYPE_*
Rename from TCF_BLOCK_BINDER_TYPE_* to FLOW_BLOCK_BINDER_TYPE_* and
remove temporary tcf_block_binder_type alias.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
-rw-r--r-- | net/dsa/slave.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/dsa/slave.c b/net/dsa/slave.c index 58a71ee0747a..9b5e202c255e 100644 --- a/net/dsa/slave.c +++ b/net/dsa/slave.c | |||
@@ -947,9 +947,9 @@ static int dsa_slave_setup_tc_block(struct net_device *dev, | |||
947 | { | 947 | { |
948 | tc_setup_cb_t *cb; | 948 | tc_setup_cb_t *cb; |
949 | 949 | ||
950 | if (f->binder_type == TCF_BLOCK_BINDER_TYPE_CLSACT_INGRESS) | 950 | if (f->binder_type == FLOW_BLOCK_BINDER_TYPE_CLSACT_INGRESS) |
951 | cb = dsa_slave_setup_tc_block_cb_ig; | 951 | cb = dsa_slave_setup_tc_block_cb_ig; |
952 | else if (f->binder_type == TCF_BLOCK_BINDER_TYPE_CLSACT_EGRESS) | 952 | else if (f->binder_type == FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS) |
953 | cb = dsa_slave_setup_tc_block_cb_eg; | 953 | cb = dsa_slave_setup_tc_block_cb_eg; |
954 | else | 954 | else |
955 | return -EOPNOTSUPP; | 955 | return -EOPNOTSUPP; |