文章目录
英语是一个显式表征的语言。
rdma中经常见到syndrome单词。
1.词典释义
1.1 牛津
syn·drome 名词. /ˈsɪndrəʊm/
- a set of physical conditions that show you have a particular disease or medical problem综合征;综合症状
This syndrome is associated with frequent coughing.这种综合征与经常咳嗽有关。
- a set of opinions or a way of behaving that is typical of a particular type of person, attitude or social problem典型意见;典型表现
With teenagers, be prepared for the ‘Me, me, me!’ syndrome (= they think of themselves first) .跟青少年在一起,对他们那种凡事只想到“我、我、我!”的典型心理不要大惊小怪。
要点:
- 是set of xxx,一系列的xxx
- 是选项或者行为方式,在rdma中主要是指rdma的一些典型的行为方式。所以叫rdma的syndrome
1.2 韦氏词典
要点:
- set of 并存的事物
1.3 21世纪大英汉词典
1.同时发生(或存在)的一组事物(如举动、情绪等);(行为、情绪、看法等的)一组表现(或特征)
2.行为型,标明行为的特征
3.【病理学】综合征状,征群,综合征
1.4 词根词缀分析
syndrome (n.) - “a number of symptoms occurring together”,16世纪40年代,源自医学拉丁语,源自希腊语syndrome “concurrence of symptoms, concourse of people”,源自syndromos “place where several roads meet”,字面含义 “a running together”,源自syn- “with” (参看:syn-) + dromos “a running, course” (参看:dromedary)。心理学含义始于1955。
syndrome : syn-,一起,-drom,跑,词源同dromedary,hippodrome.引申比喻义综合症状,症候群等。
例子:
Down syndrome唐氏综合症
Crush syndrome压伤综合症
irritable bowel syndrome[医]肠道易激综合症
2. rdma中的syndrome
2.1 某段驱动代码
static int mlx5_cmd_check(struct mlx5_core_dev *dev, void *in, void *out)
{
mlx5_cmd_mbox_status(out, &status, &syndrome);
if (!status)
return 0;
mlx5_core_dbg(dev,
"%s(0x%x) op_mod(0x%x) failed, status %s(0x%x), syndrome (0x%x)\n",
...
return cmd_status_to_err(status);
}
获取命令的outbox 检查结果,伴随命令状态,然后返回syndrome值。只有异常场景需要关注syndrome。
2.2 某段代码2
/* check the completion status (here we don't care about the completion opcode */