{"id":26,"date":"2018-07-27T15:18:25","date_gmt":"2018-07-27T07:18:25","guid":{"rendered":"https:\/\/pfsense.freeddns.org\/wp\/?p=26"},"modified":"2022-11-22T17:05:02","modified_gmt":"2022-11-22T09:05:02","slug":"pfsense%e8%b0%83%e6%95%b4%e5%92%8c%e8%a7%a3%e5%86%b3%e9%83%a8%e5%88%86%e7%bd%91%e5%8d%a1%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=26","title":{"rendered":"Broadcom\u7f51\u5361\u5728pfSense\u4e2d\u8fd0\u884c\u9700\u8981\u8c03\u6574\u7684\u9009\u9879"},"content":{"rendered":"<div id=\"general-issues\" class=\"section\" style=\"text-align: justify;\"><span style=\"font-weight: 300; color: #333333;\">\u67d0\u4e9bBroadcom(5719\u30015720\u7b49)\u7f51\u5361\u5728pfSense\u5f53\u4e2d\u8fd0\u884c\u5b58\u5728\u95ee\u9898\uff0c\u5c24\u5176\u662f\u6234\u5c14\u786c\u4ef6\u4e2d\u5185\u7f6e\u7684\u7f51\u5361\u3002\u5982\u679c<\/span><code class=\"docutils literal notranslate\" style=\"text-align: justify;\"><span class=\"pre\">bce<\/span><\/code><span style=\"font-weight: 300; color: #333333;\">\u63a5\u53e3\u884c\u4e3a\u4e0d\u7a33\u5b9a\u3001\u4e22\u5305\u6216\u5bfc\u81f4\u5d29\u6e83\uff0c\u90a3\u4e48\u4ee5\u4e0b\u8c03\u6574\u53ef\u80fd\u4f1a\u6709\u6240\u5e2e\u52a9\u3002<\/span><\/div>\n<div id=\"card-specific-issues\" class=\"section\">\n<p style=\"text-align: justify;\"><strong><span class=\"\">Broadcom bce(4) \u5361<\/span><\/strong><\/p>\n<div id=\"broadcom-bce-4-cards\" class=\"section\" style=\"text-align: justify;\">\n<p>\u5c06\u4ee5\u4e0b\u5185\u5bb9\u6dfb\u52a0\u5230<code class=\"docutils literal notranslate\"><span class=\"pre\">\/boot\/loader.conf.local<\/span><\/code>\uff1a<\/p>\n<div class=\"highlight-console notranslate\">\n<div class=\"highlight\">\n<pre><span class=\"go\">kern.ipc.nmbclusters=\"1000000\"<\/span>\r\n<span class=\"go\">hw.bce.tso_enable=\"0\"<\/span>\r\n<span class=\"go\">hw.pci.enable_msix=\"0\"<\/span>\r\n<\/pre>\n<\/div>\n<\/div>\n<p>\u8fd9\u5c06\u589e\u52a0\u7f51\u7edc\u5185\u5b58\u7f13\u51b2\u533a\u7684\u6570\u91cf\uff0c\u7981\u7528 TSO\u548cmsix\u3002<\/p>\n<div id=\"packet-loss-with-many-small-udp-packets\" class=\"section\">\n<h4><span class=\"\">\u8bb8\u591a\uff08\u5c0f\uff09UDP \u6570\u636e\u5305\u4e22\u5931<\/span><\/h4>\n<p>\u5982\u679c\u5728 bce \u5361\u4e0a\u4f7f\u7528 UDP \u89c2\u5bdf\u5230\u5927\u91cf\u6570\u636e\u5305\u4e22\u5931\uff0c\u8bf7\u5c1d\u8bd5\u66f4\u6539\u00a0<code class=\"docutils literal notranslate\"><span class=\"pre\">netisr<\/span><\/code>\u8bbe\u7f6e\u3002\u53ef\u4ee5\u5728<strong>\u7cfb\u7edf<\/strong><strong> &gt;\u9ad8\u7ea7\u9009\u9879&gt;<\/strong>\u53ef\u8c03\u53c2\u6570\u9009\u9879\u5361\u4e0a\uff0c\u6dfb\u52a0\u4e24\u4e2a\u65b0\u7684\u53ef\u8c03\u53c2\u6570\uff1a<\/p>\n<div class=\"highlight-console notranslate\">\n<div class=\"highlight\">\n<pre><span class=\"go\">net.isr.direct_force=\"1\"<\/span>\r\n<span class=\"go\">net.isr.direct=\"1\"\u66f4<\/span><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"broadcom-bge-4-cards\" class=\"section\" style=\"text-align: justify;\">\n<p>Broadcom bge(4) \u5361\u53c2\u89c1\u4e0a\u6587\uff0c\u9700\u8981\u5c06\u8bbe\u7f6e\u540d\u79f0\u4e2d\u7684\u201cbce\u201d\u66f4\u6539\u4e3a\u201cbge\u201d\u3002<\/p>\n<p>\u66f4\u6539\u5b8c\u6210\u540e\uff0c\u91cd\u542f\u9632\u706b\u5899\u3002<\/p>\n<\/div>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/docs.netgate.com\/pfsense\/en\/latest\/hardware\/tune.html#broadcom-bce-4-cards\">\u539f\u6587\u5730\u5740<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u67d0\u4e9bBroadcom(5719\u30015720\u7b49)\u7f51\u5361\u5728pfSense\u5f53\u4e2d\u8fd0\u884c\u5b58\u5728\u95ee\u9898 &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=26\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[404],"class_list":["post-26","post","type-post","status-publish","format-standard","hentry","category-pfsense","tag-broadcom"],"_links":{"self":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/26","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=26"}],"version-history":[{"count":0,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/26\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=26"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=26"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=26"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}