Home
last modified time | relevance | path

Searched full:rss (Results 1 – 25 of 527) sorted by relevance

12345678910>>...22

/freebsd/sys/net/
H A Drss_config.c51 * Operating system parts of receiver-side scaling (RSS), which allows
53 * of header tuples. This implementation aligns RSS buckets with connection
58 * Network device drivers needing to configure RSS will query this framework
59 * for parameters, such as the current RSS key, hashing policies, number of
63 * into the stack on as close to the right CPU as possible, if playing by RSS
69 * - Event handler drivers can register to pick up RSS configuration changes.
82 SYSCTL_NODE(_net_inet, OID_AUTO, rss, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
86 * Toeplitz is the only required hash function in the RSS spec, so use it by
91 "RSS hash algorithm");
93 #ifdef RSS
[all …]
H A Drss_config.h36 * Supported RSS hash functions.
39 #define RSS_HASH_TOEPLITZ 0x00000002 /* Required by RSS. */
45 * Instances of struct inpcbinfo declare an RSS hash type indicating what
53 * Define RSS representations of the M_HASHTYPE_* values, representing
83 * For RSS hash methods that do a software hash on an mbuf, the packet
100 printf("RSS (%s:%u): " format, __func__, __LINE__,\
107 #ifdef RSS
109 * Device driver interfaces to query RSS properties that must be programmed
128 #endif /* RSS */
/freebsd/lib/librss/
H A Dlibrss.330 the system RSS configuration and interacting with RSS aware
35 to fetch the current RSS configuration from the system and perform
37 This typically involves spawning worker threads, one per RSS bucket,
54 function to fetch the number of RSS buckets, create one thread
55 per RSS bucket for RSS aware work, then one RSS aware socket to receive
57 in each particular RSS bucket / thread.
91 rebalances RSS buckets.
93 reprogram the RSS key, so typically the only work to be performed
96 Once RSS setup is completed,
98 is called to free the RSS configuration structure.
[all …]
H A Dlibrss.c77 /* Enable/disable RSS bucket reception */ in rss_sock_set_recvrss()
119 retval = sysctlbyname("net.inet.rss.bucket_mapping", bstr, &rlen, NULL, 0); in rss_getbucketmap()
121 warn("sysctlbyname (net.inet.rss.bucket_mapping)"); in rss_getbucketmap()
158 rc->rss_ncpus = rss_getsysctlint("net.inet.rss.ncpus"); in rss_config_get()
160 fprintf(stderr, "%s: couldn't fetch net.inet.rss.ncpus\n", __func__); in rss_config_get()
164 rc->rss_nbuckets = rss_getsysctlint("net.inet.rss.buckets"); in rss_config_get()
166 fprintf(stderr, "%s: couldn't fetch net.inet.rss.nbuckets\n", __func__); in rss_config_get()
170 rc->rss_basecpu = rss_getsysctlint("net.inet.rss.basecpu"); in rss_config_get()
172 fprintf(stderr, "%s: couldn't fetch net.inet.rss.basecpu\n", __func__); in rss_config_get()
178 warn("%s: calloc (rss buckets; %d entries)", __func__, rc->rss_nbuckets); in rss_config_get()
[all …]
H A Dlibrss.h48 * Enable or disable receiving RSS/flowid information on
54 * Fetch RSS configuration information.
59 * Free an RSS configuration structure.
64 * Return how many RSS buckets there are.
69 * Fetch the cpuset configuration for the given RSS bucket and
/freebsd/sys/dev/ice/
H A Dice_rss.h34 * @brief default RSS values if kernel RSS is not enabled
36 * This header includes default definitions for RSS functionality if the
37 * kernel RSS interface is not enabled. This allows main driver code to avoid
38 * having to check the RSS ifdef throughout, but instead just use the RSS
47 /* Make sure our key size buffer has enough space to store the kernel RSS key */
50 #ifdef RSS
51 /* RSS CPU/bucket mapping functions - only available with options RSS */
53 /* Stub CPU/bucket functions when RSS not configured */
86 #endif /* !RSS */
/titanic_51/usr/src/uts/common/sys/
H A Dvm_usage.h36 * The flags passed to getvmusage() request how to aggregate rss/swap results.
54 #define VMUSAGE_SYSTEM 0x1 /* rss/swap for ALL processes */
55 #define VMUSAGE_ZONE 0x2 /* rss/swap for caller's zone */
56 #define VMUSAGE_PROJECTS 0x4 /* rss/swap for all projects in */
58 #define VMUSAGE_TASKS 0x8 /* rss/swap for all tasks in */
60 #define VMUSAGE_RUSERS 0x10 /* rss/swap for all users (by process */
65 #define VMUSAGE_ALL_ZONES 0x40 /* rss/swap for all zones */
66 #define VMUSAGE_ALL_PROJECTS 0x80 /* rss/swap for all projects in */
68 #define VMUSAGE_ALL_TASKS 0x100 /* rss/swap for all tasks in all */
70 #define VMUSAGE_ALL_RUSERS 0x200 /* rss/swa
[all...]
/freebsd/sys/contrib/ena-com/
H A Dena_com.c1146 return ena_dev->rss.hash_func; in ena_com_get_current_hash_function()
1152 (ena_dev->rss).hash_key; in ena_com_hash_key_fill_default_key()
1163 struct ena_rss *rss = &ena_dev->rss; in ena_com_hash_key_allocate() local
1169 sizeof(*rss->hash_key), in ena_com_hash_key_allocate()
1170 rss->hash_key, in ena_com_hash_key_allocate()
1171 rss->hash_key_dma_addr, in ena_com_hash_key_allocate()
1172 rss->hash_key_mem_handle); in ena_com_hash_key_allocate()
1174 if (unlikely(!rss->hash_key)) in ena_com_hash_key_allocate()
1182 struct ena_rss *rss = &ena_dev->rss; in ena_com_hash_key_destroy() local
1184 if (rss->hash_key) in ena_com_hash_key_destroy()
[all …]
/titanic_51/usr/src/man/man1/
H A Drcapstat.1236 id project nproc vm rss cap at avgat pg avgpg
239 id project nproc vm rss cap at avgat pg avgpg
242 id project nproc vm rss cap at avgat pg avgpg
245 id project nproc vm rss cap at avgat pg avgpg
248 id project nproc vm rss cap at avgat pg avgpg
269 \fBExample 2 \fRUsing \fBrcapstat\fR to Monitor the RSS of a Project
274 id project nproc vm rss cap at avgat pg avgpg
310 id project nproc vm rss cap at avgat pg avgpg
/freebsd/sys/dev/cxgbe/common/
H A Dt4vf_hw.c228 * t4vf_get_rss_glb_config - retrieve adapter RSS Global Configuration
231 * Retrieves global RSS mode and parameters with which we have to live
232 * and stores them in the @adapter's RSS parameters.
236 struct rss_params *rss = &adapter->params.rss; in t4vf_get_rss_glb_config() local
241 * Execute an RSS Global Configuration read command to retrieve in t4vf_get_rss_glb_config()
242 * our RSS configuration. in t4vf_get_rss_glb_config()
254 * Transate the big-endian RSS Global Configuration into our in t4vf_get_rss_glb_config()
255 * cpu-endian format based on the RSS mode. We also do first level in t4vf_get_rss_glb_config()
259 rss->mode = G_FW_RSS_GLB_CONFIG_CMD_MODE( in t4vf_get_rss_glb_config()
261 switch (rss->mode) { in t4vf_get_rss_glb_config()
[all …]
/titanic_51/usr/src/man/man1m/
H A Drcapd.1m23 When the resident set size (RSS) of a collection of processes exceeds its cap,
24 \fBrcapd\fR takes action and reduces the RSS of the collection.
38 \fB\fBrcap.max-rss\fR\fR
51 \fBrcap.max-rss\fR value for a zone with \fBrcapadm\fR(1M). To set a persistent
77 The following line in the \fB/etc/project\fR database sets an RSS cap of
83 foo:100::foo,root::rcap.max-rss=10737418240
162 A collection's RSS can exceed its cap for some time before the cap is enforced,
164 reduced by shortening the RSS sampling interval with \fBrcapadm\fR.
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonRegisterInfo.td95 // Rss - 64-bit system registers.
96 class Rss<bits<7> num, string n, list<Register> subregs,
373 def SGP1_0 : Rss<0, "s1:0", [SGP0, SGP1], ["sgp1:0"]>, DwarfRegNum<[144]>;
374 def S3_2 : Rss<2, "s3:2", [STID, ELR]>, DwarfRegNum<[146]>;
375 def S5_4 : Rss<4, "s5:4", [BADVA0, BADVA1], ["badva1:0"]>,
377 def S7_6 : Rss<6, "s7:6", [SSR, CCR], ["ccr:ssr"]>, DwarfRegNum<[150]>;
378 def S9_8 : Rss<8, "s9:8", [HTID, BADVA]>, DwarfRegNum<[152]>;
379 def S11_10 : Rss<10, "s11:10", [IMASK, S11]>, DwarfRegNum<[154]>;
380 def S13_12 : Rss<12, "s13:12", [S12, S13]>, DwarfRegNum<[156]>;
381 def S15_14 : Rss<14, "s15:14", [S14, S15]>, DwarfRegNum<[158]>;
[all …]
H A DHexagonIntrinsicsV5.td24 //Rdd=vrmpyweh(Rss,Rtt)[:<<1]
28 //Rdd=vrmpywoh(Rss,Rtt)[:<<1]
32 //Rdd+=vrmpyweh(Rss,Rtt)[:<<1]
36 //Rdd=vrmpywoh(Rss,Rtt)[:<<1]
61 //Rxx^=asr(Rss,Rt)
63 //Rxx^=asl(Rss,Rt)
65 //Rxx^=lsr(Rss,Rt)
67 //Rxx^=lsl(Rss,Rt)
154 // Rdd=vcnegh(Rss,Rt)
182 // Rxx+=vrcrotate(Rss,Rt,#u2)
[all …]
/freebsd/share/man/man4/
H A Dena.472 When RSS is enabled, each Tx/Rx queue pair is bound to a corresponding
74 The order of those bindings is based on the RSS bucket mapping.
75 For builds with RSS support disabled, the
77 Receive-side scaling (RSS) is supported for multi-core scaling.
273 .It Va dev.ena.X.rss.indir_table_size
276 Returns the number of entries in the RSS indirection table.
279 To read the RSS indirection table size, the following command should be used:
281 sysctl dev.ena.0.rss.indir_table_size
283 .It Va dev.ena.X.rss.indir_table
286 Updates selected indices of the RSS indirection table.
[all …]
/titanic_51/usr/src/lib/libshell/common/scripts/
H A Drssread.sh29 # rssread - a simple RSS2.0 reader with RSS to XHTML to
418 # note that each RSS item needs to be converted seperately from RSS to HTML to plain text
419 # to make sure that the state of one RSS item doesn't affect others
421 printf $"<br />#### RSS item: title: %s ####" "${item["title"]}"
430 html_entity_to_ascii | # convert XML entities (e.g. decode RSS content to HTML code)
548 # set unicode locale since RSS is encoded in UTF-8
561 # return non-zero exit code for this function if the rss processing below fails
572 print -u2 -f "# Got %d lines of RSS data, processing...\n" "${ wc -l <<< "${data}" ; }"
610 …ng=d&q=(%22ksh93%22%7C%22ksh+93%22+%7C+%22korn93%22+%7C+%22korn+93%22)&ie=utf-8&num=100&output=rss"
612 ["blogs_sun_com"]="http://blogs.sun.com/main/feed/entries/rss"
[all …]
/titanic_51/usr/src/cmd/ast/libshell/common/scripts/
H A Drssread.sh29 # rssread - a simple RSS2.0 reader with RSS to XHTML to
418 # note that each RSS item needs to be converted seperately from RSS to HTML to plain text
419 # to make sure that the state of one RSS item doesn't affect others
421 printf $"<br />#### RSS item: title: %s ####" "${item["title"]}"
430 html_entity_to_ascii | # convert XML entities (e.g. decode RSS content to HTML code)
548 # set unicode locale since RSS is encoded in UTF-8
561 # return non-zero exit code for this function if the rss processing below fails
572 print -u2 -f "# Got %d lines of RSS data, processing...\n" "${ wc -l <<< "${data}" ; }"
610 ["google_blogs_ksh"]="http://blogsearch.google.com/blogsearch_feeds?hl=en&scoring=d&q=(%22ksh93%22%7C%22ksh+93%22+%7C+%22korn93%22+%7C+%22korn+93%22)&ie=utf-8&num=100&output=rss"
[all...]
/titanic_51/usr/src/cmd/rcap/common/
H A Drcapd.h126 uint64_t lcols_rss_sample; /* RSS samplings */
131 uint64_t lcols_rss_sum; /* sum of sampled RSS values */
132 uint64_t lcols_rss_act_sum; /* sum of sampled, excess RSS values */
133 uint64_t lcols_min_rss; /* minimum RSS (kB), this interval */
134 uint64_t lcols_max_rss; /* maximum RSS (kB), this interval */
157 uint64_t lcol_rss; /* RSS of all processes (kB) */
159 uint64_t lcol_rss_cap; /* RSS cap (kB) */
175 uint64_t lcol_rss; /* RSS of all processes (kB) */
177 uint64_t lcol_rss_cap; /* RSS limit (kB) */
/freebsd/sys/netinet/
H A Din_rss.c53 /* for software rss hash support */
104 * tuple. This depends upon the currently configured RSS hash types.
135 /* RSS doesn't hash on other protocols like SCTP; so 2-tuple */ in rss_proto_software_hash_v4()
153 * tuple. This depends upon the currently configured RSS hash types.
179 /* RSS doesn't hash on other protocols like SCTP; so 2-tuple */ in xps_proto_software_hash_v4()
190 * Do a software calculation of the RSS for the given mbuf.
192 * This is typically used by the input path to recalculate the RSS after
199 * the mbuf already had a valid RSS flowid.
354 #ifdef RSS
359 * If an existing RSS hash exists and it matches what the configured
[all …]
/freebsd/sys/netinet6/
H A Din6_rss.c53 /* for software rss hash support */
105 * tuple. This depends upon the currently configured RSS hash types.
136 /* RSS doesn't hash on other protocols like SCTP; so 2-tuple */ in rss_proto_software_hash_v6()
154 * tuple. This depends upon the currently configured RSS hash types.
181 /* RSS doesn't hash on other protocols like SCTP; so 2-tuple */ in xps_proto_software_hash_v6()
193 * Do a software calculation of the RSS for the given mbuf.
195 * This is typically used by the input path to recalculate the RSS after
202 * the mbuf already had a valid RSS flowid.
379 #ifdef RSS
384 * If an existing RSS hash exists and it matches what the configured
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_libcdep.cpp40 // If RSS has grown 10% since last time, print some information. in BackgroundThread()
42 Printf("%s: RSS: %zdMb\n", SanitizerToolName, current_rss_mb); in BackgroundThread()
54 // Check RSS against the limit. in BackgroundThread()
56 Report("%s: hard rss limit exhausted (%zdMb vs %zdMb)\n", in BackgroundThread()
64 Report("%s: soft rss limit exhausted (%zdMb vs %zdMb)\n", in BackgroundThread()
70 Report("%s: soft rss limit unexhausted (%zdMb vs %zdMb)\n", in BackgroundThread()
77 Printf("\n\nHEAP PROFILE at RSS %zdMb\n", current_rss_mb); in BackgroundThread()
86 // Start the background thread if one of the rss limits is given. in MaybeStartBackgroudThread()
/titanic_51/usr/src/uts/common/syscall/
H A Dsysconfig.c182 * the phys. memory cap - zone's current rss. We always in sysconfig()
188 pgcnt_t cap, rss, free; in sysconfig() local
199 rss = btop(in_use.vmu_rss_all); in sysconfig()
202 * for rss to be temporarily over the cap. in sysconfig()
204 if (cap > rss) in sysconfig()
205 free = cap - rss; in sysconfig()
/freebsd/sys/dev/ixgbe/
H A Dixgbe_rss.h40 #ifdef RSS
41 /* RSS CPU/bucket mapping functions - only available with options RSS */
43 /* Stub CPU/bucket functions when RSS not configured */
/titanic_51/usr/src/cmd/rcap/rcapd/
H A Drcapd_main.c105 static size_t nvmu_vals = 0; /* # of kernel RSS/swap vals in array */
106 static size_t vmu_vals_len = 0; /* size of RSS/swap vals array */
107 static vmusage_t *vmu_vals = NULL; /* snapshot of kernel RSS/swap values */
430 * Get the zone's & project's RSS from the kernel.
461 warn(gettext("can't read RSS from kernel\n")); in rss_sample()
476 warn(gettext("out of memory: could not read RSS from " in rss_sample()
518 /* we found the right RSS entry, update the collection vals */ in update_col_rss()
526 * Sample the collection RSS, updating the collection's statistics with the
527 * results. Also, sum the rss of all capped projects & return true if
534 uint64_t rss; in rss_sample_col_cb() local
[all...]
/freebsd/contrib/blocklist/bin/
H A Dblacklistd.c120 getremoteaddress(bl_info_t *bi, struct sockaddr_storage *rss, socklen_t *rsl) in getremoteaddress() argument
122 *rsl = sizeof(*rss); in getremoteaddress()
123 memset(rss, 0, *rsl); in getremoteaddress()
125 if (getpeername(bi->bi_fd, (void *)rss, rsl) != -1) in getremoteaddress()
157 memcpy(rss, &bi->bi_ss, *rsl); in getremoteaddress()
160 if (*rsl != rss->ss_len) { in getremoteaddress()
163 (unsigned)*rsl, (unsigned)rss->ss_len); in getremoteaddress()
173 struct sockaddr_storage rss; in process() local
193 if (getremoteaddress(bi, &rss, &rsl) == -1) in process()
197 sockaddr_snprintf(rbuf, sizeof(rbuf), "%a:%p", (void *)&rss); in process()
[all …]
H A Dblocklistd.c120 getremoteaddress(bl_info_t *bi, struct sockaddr_storage *rss, socklen_t *rsl) in getremoteaddress() argument
122 *rsl = sizeof(*rss); in getremoteaddress()
123 memset(rss, 0, *rsl); in getremoteaddress()
125 if (getpeername(bi->bi_fd, (void *)rss, rsl) != -1) in getremoteaddress()
157 memcpy(rss, &bi->bi_ss, *rsl); in getremoteaddress()
160 if (*rsl != rss->ss_len) { in getremoteaddress()
163 (unsigned)*rsl, (unsigned)rss->ss_len); in getremoteaddress()
173 struct sockaddr_storage rss; in process() local
193 if (getremoteaddress(bi, &rss, &rsl) == -1) in process()
197 sockaddr_snprintf(rbuf, sizeof(rbuf), "%a:%p", (void *)&rss); in process()
[all …]

12345678910>>...22