Lines Matching defs:nfc
3565 * @nfc: pointer to user request
3571 struct ethtool_rxnfc *nfc,
3577 if (nfc->data & RXH_L4_B_0_1)
3581 if (nfc->data & RXH_L4_B_2_3)
3586 if (nfc->flow_type == TCP_V6_FLOW || nfc->flow_type == UDP_V6_FLOW) {
3589 } else if (nfc->flow_type == TCP_V4_FLOW ||
3590 nfc->flow_type == UDP_V4_FLOW) {
3603 if (nfc->data & RXH_IP_SRC)
3607 if (nfc->data & RXH_IP_DST)
3619 * @nfc: ethtool rxnfc command
3623 static int i40e_set_rss_hash_opt(struct i40e_pf *pf, struct ethtool_rxnfc *nfc)
3642 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST |
3646 switch (nfc->flow_type) {
3687 if ((nfc->data & RXH_L4_B_0_1) ||
3688 (nfc->data & RXH_L4_B_2_3))
3696 if ((nfc->data & RXH_L4_B_0_1) ||
3697 (nfc->data & RXH_L4_B_2_3))
3719 i_set = i40e_get_rss_hash_bits(&pf->hw, nfc, i_setc);