{"id":112301,"date":"2023-12-18T15:10:14","date_gmt":"2023-12-18T13:10:14","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/v-yadro-linux-6-8-namecheno-vklyuchenie-pervogo-setevogo-drajvera-na-yazyke-rust"},"modified":"2023-12-18T15:10:14","modified_gmt":"2023-12-18T13:10:14","slug":"v-yadro-linux-6-8-namecheno-vklyuchenie-pervogo-setevogo-drajvera-na-yazyke-rust","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sv\/blog\/news\/v-yadro-linux-6-8-namecheno-vklyuchenie-pervogo-setevogo-drajvera-na-yazyke-rust","title":{"rendered":"I k\u00e4rnan Linux 6.8 planeras det att inkludera den f\u00f6rsta n\u00e4tverksdrivrutinen p\u00e5 Rust-spr\u00e5ket","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>I grenen net-next, d\u00e4r \u00e4ndringar f\u00f6r Linux-k\u00e4rnan 6.8 utvecklas, har det lagts till \u00e4ndringar som inf\u00f6r rust-bindningar ovanf\u00f6r phylib-abstraktionsniv\u00e5n och anv\u00e4nder denna bindning f\u00f6r drivrutinen ax88796b_rust, som ger st\u00f6d f\u00f6r PHY-gr\u00e4nssnittet f\u00f6r Ethernet-kontroller Asix AX88772A (100MBit). Drivrutinen inkluderar 135 rader kod och positioneras som ett enkelt arbetsprov f\u00f6r att skapa n\u00e4tverksdrivrutiner p\u00e5 spr\u00e5k Rust, redo att anv\u00e4ndas med riktig h\u00e5rdvara.    <\/p>\n<p> N\u00e4r det g\u00e4ller funktionalitet \u00e4r drivrutinen p\u00e5 Rust helt ekvivalent med den gamla drivrutinen ax88796b, skriven i C, och kan anv\u00e4ndas med n\u00e4tverkskort X-Surf 100, utrustade med chipet AX88796B. B\u00e5da drivrutinerna, p\u00e5 C och Rust, kommer att samexistera i k\u00e4rnan och kan aktiveras beroende p\u00e5 anv\u00e4ndarens preferenser. F\u00f6r att aktivera drivrutinen p\u00e5 Rust i Kconfig finns inst\u00e4llningen AX88796B_RUST_PHY, tillsammans med vilket parameter RUST_PHYLIB_ABSTRACTIONS \u00e4ven beh\u00f6ver aktiveras f\u00f6r att inkludera Rust-bindningen ovanf\u00f6r phylib.     <\/p>\n<p>Dessutom har en Ethernet-drivrutin f\u00f6r Realtek Generic FE-GE utvecklats p\u00e5 spr\u00e5k Rust, vilket \u00e4nnu inte har f\u00f6reslagits f\u00f6r inkludering i k\u00e4rnan. Tidigare presenterades \u00e4ven en prototyp av drivrutinen rust-e1000 f\u00f6r Ethernet-adaptrar fr\u00e5n Intel, eftersom den skrivits om f\u00f6r Rust.<br \/>\n<br \/>K\u00e4lla: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=60303\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0412 \u0432\u0435\u0442\u043a\u0443 net-next, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u044f\u0434\u0440\u0430 Linux 6.8, \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0435 \u0432 \u0441\u043e\u0441\u0442\u0430\u0432 \u044f\u0434\u0440\u0430 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u0443\u044e Rust-\u043e\u0431\u0432\u044f\u0437\u043a\u0443 \u043d\u0430\u0434 \u0443\u0440\u043e\u0432\u043d\u0435\u043c \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0446\u0438\u0438 phylib \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u0439 \u0434\u0430\u043d\u043d\u0443\u044e \u043e\u0431\u0432\u044f\u0437\u043a\u0443 \u0434\u0440\u0430\u0439\u0432\u0435\u0440 ax88796b_rust, \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u044e\u0449\u0438\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 PHY-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 Ethernet-\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 Asix AX88772A (100MBit). \u0414\u0440\u0430\u0439\u0432\u0435\u0440 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 135 \u0441\u0442\u0440\u043e\u043a \u043a\u043e\u0434\u0430 \u0438 \u043f\u043e\u0437\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u043e\u0432 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust, \u0433\u043e\u0442\u043e\u0432\u044b\u0439 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-112301","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0412 \u0432\u0435\u0442\u043a\u0443 net-next, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u044f\u0434\u0440\u0430 Linux 6.8, \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0435 \u0432 \u0441\u043e\u0441\u0442\u0430\u0432 \u044f\u0434\u0440\u0430 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u0443\u044e Rust-\u043e\u0431\u0432\u044f\u0437\u043a\u0443 \u043d\u0430\u0434 \u0443\u0440\u043e\u0432\u043d\u0435\u043c \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0446\u0438\u0438 phylib \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u0439 \u0434\u0430\u043d\u043d\u0443\u044e \u043e\u0431\u0432\u044f\u0437\u043a\u0443 \u0434\u0440\u0430\u0439\u0432\u0435\u0440.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/sv\/blog\/news\/v-yadro-linux-6-8-namecheno-vklyuchenie-pervogo-setevogo-drajvera-na-yazyke-rust\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"sv_SE\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0412 \u044f\u0434\u0440\u043e Linux 6.8 \u043d\u0430\u043c\u0435\u0447\u0435\u043d\u043e \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0441\u0435\u0442\u0435\u0432\u043e\u0433\u043e \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0412 \u0432\u0435\u0442\u043a\u0443 net-next, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u044f\u0434\u0440\u0430 Linux 6.8, \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0435 \u0432 \u0441\u043e\u0441\u0442\u0430\u0432 \u044f\u0434\u0440\u0430 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u0443\u044e Rust-\u043e\u0431\u0432\u044f\u0437\u043a\u0443 \u043d\u0430\u0434 \u0443\u0440\u043e\u0432\u043d\u0435\u043c \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0446\u0438\u0438 phylib \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u0439 \u0434\u0430\u043d\u043d\u0443\u044e \u043e\u0431\u0432\u044f\u0437\u043a\u0443 \u0434\u0440\u0430\u0439\u0432\u0435\u0440.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sv\/blog\/news\/v-yadro-linux-6-8-namecheno-vklyuchenie-pervogo-setevogo-drajvera-na-yazyke-rust\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-12-18T13:10:14+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-12-18T13:10:14+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47 Inkluderingen av den f\u00f6rsta n\u00e4tverksdrivrutinen p\u00e5 spr\u00e5k Rust i Linux-k\u00e4rnan 6.8 \u00e4r planerad | ProHoster","description":"I grenen net-next, d\u00e4r \u00e4ndringar f\u00f6r Linux-k\u00e4rnan 6.8 utvecklas, har det lagts till \u00e4ndringar som inf\u00f6r rust-bindningar ovanf\u00f6r phylib-abstraktionsniv\u00e5n och anv\u00e4nder denna bindning f\u00f6r drivrutinen.","canonical_url":"https:\/\/prohoster.info\/sv\/blog\/news\/v-yadro-linux-6-8-namecheno-vklyuchenie-pervogo-setevogo-drajvera-na-yazyke-rust","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sv_SE","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0412 \u044f\u0434\u0440\u043e Linux 6.8 \u043d\u0430\u043c\u0435\u0447\u0435\u043d\u043e \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0441\u0435\u0442\u0435\u0432\u043e\u0433\u043e \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust | ProHoster","og:description":"\u0412 \u0432\u0435\u0442\u043a\u0443 net-next, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u044f\u0434\u0440\u0430 Linux 6.8, \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0435 \u0432 \u0441\u043e\u0441\u0442\u0430\u0432 \u044f\u0434\u0440\u0430 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u0443\u044e Rust-\u043e\u0431\u0432\u044f\u0437\u043a\u0443 \u043d\u0430\u0434 \u0443\u0440\u043e\u0432\u043d\u0435\u043c \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0446\u0438\u0438 phylib \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u0439 \u0434\u0430\u043d\u043d\u0443\u044e \u043e\u0431\u0432\u044f\u0437\u043a\u0443 \u0434\u0440\u0430\u0439\u0432\u0435\u0440.","og:url":"https:\/\/prohoster.info\/sv\/blog\/news\/v-yadro-linux-6-8-namecheno-vklyuchenie-pervogo-setevogo-drajvera-na-yazyke-rust","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2023-12-18T13:10:14+00:00","article:modified_time":"2023-12-18T13:10:14+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/posts\/112301","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/comments?post=112301"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/posts\/112301\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/media?parent=112301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/categories?post=112301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/tags?post=112301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}