Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eba7927b authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller
Browse files

nfp: handle cls_flower command default case



Currently the default case is not handled, which with future command
introductions would introduce a warning. So handle it.

Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
Acked-by: default avatarJakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 83741bb0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -576,10 +576,10 @@ nfp_flower_repr_offload(struct nfp_app *app, struct net_device *netdev,
		return nfp_flower_del_offload(app, netdev, flower, egress);
	case TC_CLSFLOWER_STATS:
		return nfp_flower_get_stats(app, netdev, flower, egress);
	}

	default:
		return -EOPNOTSUPP;
	}
}

int nfp_flower_setup_tc_egress_cb(enum tc_setup_type type, void *type_data,
				  void *cb_priv)