-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Hi,
Please clarify this portion of code :
case TC_SETUP_BLOCK:
return flow_block_cb_setup_simple(type_data,
&ice_block_cb_list,
ice_setup_tc_block_cb,
np, np, true);
#ifdef HAVE_TC_ETF_QOPT_OFFLOAD <------------------
case TC_SETUP_QDISC_ETF: <------------------
return ice_offload_txtime(netdev, type_data);
#else
return -EOPNOTSUPP;
#endif /* HAVE_TC_ETF_QOPT_OFFLOAD */
default:
return -EOPNOTSUPP;
}
shouldn't it be:
case TC_SETUP_BLOCK:
return flow_block_cb_setup_simple(type_data,
&ice_block_cb_list,
ice_setup_tc_block_cb,
np, np, true);
case TC_SETUP_QDISC_ETF: <------------------
#ifdef HAVE_TC_ETF_QOPT_OFFLOAD <------------------
return ice_offload_txtime(netdev, type_data);
#else
return -EOPNOTSUPP;
#endif /* HAVE_TC_ETF_QOPT_OFFLOAD */
default:
return -EOPNOTSUPP;
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels