Home
last modified time | relevance | path

Searched refs:nfccmd (Results 1 – 2 of 2) sorted by relevance

/external/ethtool/
Drxclass.c312 struct ethtool_rxnfc nfccmd; in rxclass_get_dev_info() local
315 nfccmd.cmd = ETHTOOL_GRXCLSRLCNT; in rxclass_get_dev_info()
316 nfccmd.data = 0; in rxclass_get_dev_info()
317 err = send_ioctl(ctx, &nfccmd); in rxclass_get_dev_info()
318 *count = nfccmd.rule_cnt; in rxclass_get_dev_info()
320 *driver_select = !!(nfccmd.data & RX_CLS_LOC_SPECIAL); in rxclass_get_dev_info()
329 struct ethtool_rxnfc nfccmd; in rxclass_rule_get() local
333 nfccmd.cmd = ETHTOOL_GRXCLSRULE; in rxclass_rule_get()
334 memset(&nfccmd.fs, 0, sizeof(struct ethtool_rx_flow_spec)); in rxclass_rule_get()
335 nfccmd.fs.location = loc; in rxclass_rule_get()
[all …]
Dethtool.c3636 struct ethtool_rxnfc nfccmd; in do_srxclass() local
3643 nfccmd.rss_context = get_u32(ctx->argp[4], 0); in do_srxclass()
3653 nfccmd.cmd = ETHTOOL_SRXFH; in do_srxclass()
3654 nfccmd.flow_type = rx_fhash_set; in do_srxclass()
3655 nfccmd.data = rx_fhash_val; in do_srxclass()
3657 nfccmd.flow_type |= FLOW_RSS; in do_srxclass()
3659 err = send_ioctl(ctx, &nfccmd); in do_srxclass()
3703 struct ethtool_rxnfc nfccmd; in do_grxclass() local
3714 nfccmd.rss_context = get_u32(ctx->argp[3], 0); in do_grxclass()
3723 nfccmd.cmd = ETHTOOL_GRXFH; in do_grxclass()
[all …]