Lines Matching full:rss

5 API level tests for RSS (mostly Netlink vs IOCTL).
27 # Output will be something like: "New RSS context is 1" or
95 rss = cfg.ethnl.rss_get({"header": {"dev-index": cfg.ifindex}})
96 ksft_eq(set(rss.get("indir", [-1])), {1})
100 rss = cfg.ethnl.rss_get({"header": {"dev-index": cfg.ifindex}})
101 ksft_eq(set(rss.get("indir", [-1])), {0, 1})
111 rss = cfg.ethnl.rss_get({"header": {"dev-index": cfg.ifindex}})
112 ksft_eq(set(rss.get("indir", [-1])), set(range(qcnt)))
130 rss = cfg.ethnl.rss_get({"header": {"dev-index": cfg.ifindex},
132 ksft_eq(set(rss.get("indir", [-1])), {1})
139 rss = cfg.ethnl.rss_get({"header": {"dev-index": cfg.ifindex},
141 ksft_eq(set(rss.get("indir", [-1])), {0, 1})
155 Check that Netlink notifications are generated when RSS indirection
169 ksft_eq(ntf["name"], "rss-ntf")
176 ksft_eq(ntf["name"], "rss-ntf")
183 Check that Netlink notifications are generated when RSS indirection
184 table was modified on an additional RSS context.
199 ksft_eq(ntf["name"], "rss-ntf")
224 rss = cfg.ethnl.rss_get({"header": {"dev-index": cfg.ifindex}})
225 ksft_eq(rss.get("hkey", [-1]), mod)
231 rss = cfg.ethnl.rss_get({"header": {"dev-index": cfg.ifindex}})
232 ksft_eq(rss.get("hkey", [-1]), mod)
233 ksft_eq(set(rss.get("indir", [-1])), {0, 1})
381 ksft_eq(ntf["name"], "rss-ntf")
389 ksft_eq(ntf["name"], "rss-ntf")
395 """ Test creating an additional RSS context via Netlink """
416 # Test creating with a specified RSS table, and context ID
429 """ Test notifications for creating additional RSS contexts """
444 ksft_eq(ntf["name"], "rss-create-ntf")
450 ksft_eq(ntf["name"], "rss-delete-ntf")
458 ksft_eq(ntf["name"], "rss-create-ntf")
463 ksft_eq(ntf["name"], "rss-delete-ntf")