Current code uses the old method of prio encoding in
flow_cls_common_offload. Fix to follow the changes introduced in
commit 
ef01adae0e43 ("net: sched: use major priority number as hardware priority").
Fixes: fcb64c0f5640 ("net/mlx5: E-Switch, add ingress rate support")
Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
                                struct tc_cls_matchall_offload *ma)
 {
        struct netlink_ext_ack *extack = ma->common.extack;
-       int prio = TC_H_MAJ(ma->common.prio) >> 16;
 
-       if (prio != 1) {
+       if (ma->common.prio != 1) {
                NL_SET_ERR_MSG_MOD(extack, "only priority 1 is supported");
                return -EINVAL;
        }