Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -7437,6 +7437,8 @@ static int i40e_setup_tc_cls_flower(struct i40e_netdev_priv *np,
|
||||
{
|
||||
struct i40e_vsi *vsi = np->vsi;
|
||||
|
||||
if (!tc_can_offload(vsi->netdev))
|
||||
return -EOPNOTSUPP;
|
||||
if (cls_flower->common.chain_index)
|
||||
return -EOPNOTSUPP;
|
||||
|
||||
|
Reference in New Issue
Block a user