@@ -248,13 +248,17 @@ static void rxclass_print_nfc_rule(struct ethtool_rx_flow_spec *fsp,
rxclass_print_nfc_spec_ext(fsp);
- if (fsp->flow_type & FLOW_RSS)
- fprintf(stdout, "\tRSS Context ID: %u\n", rss_context);
-
if (fsp->ring_cookie == RX_CLS_FLOW_DISC) {
fprintf(stdout, "\tAction: Drop\n");
} else if (fsp->ring_cookie == RX_CLS_FLOW_WAKE) {
fprintf(stdout, "\tAction: Wake-on-LAN\n");
+ } else if (fsp->flow_type & FLOW_RSS) {
+ u64 queue = ethtool_get_flow_spec_ring(fsp->ring_cookie);
+
+ fprintf(stdout, "\tAction: Direct to RSS Context %u", rss_context);
+ if (queue)
+ fprintf(stdout, " (queue base offset: %llu)", queue);
+ fprintf(stdout, "\n");
} else {
u64 vf = ethtool_get_flow_spec_ring_vf(fsp->ring_cookie);
u64 queue = ethtool_get_flow_spec_ring(fsp->ring_cookie);