{"id":5576,"date":"2019-02-22T15:20:31","date_gmt":"2019-02-22T13:20:31","guid":{"rendered":"https:\/\/skeletor.org.ua\/?p=5576"},"modified":"2019-02-22T15:23:22","modified_gmt":"2019-02-22T13:23:22","slug":"solaris-%d0%94%d1%80%d0%b0%d0%b9%d0%b2%d0%b5%d1%80-%d0%b5%d1%81%d1%82%d1%8c-%d0%b0-nic-%d0%bd%d0%b5-%d0%b2%d0%b8%d0%b4%d0%bd%d0%b0","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=5576","title":{"rendered":"[Solaris] \u0414\u0440\u0430\u0439\u0432\u0435\u0440 \u0435\u0441\u0442\u044c, \u0430 NIC \u043d\u0435 \u0432\u0438\u0434\u043d\u0430"},"content":{"rendered":"\n<p><p>\u0412\u0437\u044f\u043b\u0438 \u043d\u043e\u0432\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 <strong>Dell R840<\/strong> \u0438 \u0441 \u043d\u0435\u0439 \u0448\u043b\u0430 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0430 <strong>Broadcom 57416 2 Port 10Gb Base-T<\/strong>. \u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e \u0438\u0437 \u0441\u0442\u0430\u0442\u044c\u0438, \u0441\u0435\u0442\u0435\u0432\u0430\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435 \u043e\u043f\u043e\u0437\u043d\u0430\u043b\u0430\u0441\u044c, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u0433\u0443\u0433\u043b\u0438\u043c \u043d\u0430 \u043f\u0440\u0435\u0434\u043c\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0433\u043e \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430. \u0418\u043c \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f bnxt (\u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e <strong>FreeBSD<\/strong>). \u0423\u0447\u0438\u0442\u044b\u0432\u0430\u044f, \u0447\u0442\u043e \u0438\u043c\u0435\u043d\u0430 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u043e\u0432 \u043f\u043e\u0447\u0442\u0438 \u0432 99% \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442 \u0441 <strong>FreeBSD <\/strong>\u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u0434\u043e\u0432\u0435\u0440\u0438\u0442\u044c\u0441\u044f \u0438\u043c \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c.<\/p> <\/p>\n\n\n<p><!--more--><\/p>\n\n\n<p>\u0418 \u0442\u0430\u043a, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c <strong>snanpci <\/strong>\u0438 \u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u043d\u0430\u0448\u0438 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0438: <\/p>\n\n\n<p><\/p>\n<pre># scanpci -v<br>...<br>pci bus 0x0017 cardnum 0x00 function 0x00: vendor 0x14e4 device 0x16d8\n Broadcom Limited BCM57416 NetXtreme-E Dual-Media 10G RDMA Ethernet Controller\n CardVendor 0x14e4 card 0x4160 (Broadcom Limited, Card unknown)\n  STATUS    0x0010  COMMAND 0x0006\n  CLASS     0x02 0x00 0x00  REVISION 0x01\n  BIST      0x00  HEADER 0x80  LATENCY 0x00  CACHE 0x00\n  BASE0     0x0000000097e10000 SIZE 65536  MEM64 PREFETCHABLE\n  BASE2     0x0000000097500000 SIZE 1048576  MEM64 PREFETCHABLE\n  BASE4     0x0000000097ea2000 SIZE 8192  MEM64 PREFETCHABLE\n  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x01  INT_LINE 0x0b\n\npci bus 0x0017 cardnum 0x00 function 0x01: vendor 0x14e4 device 0x16d8\n Broadcom Limited BCM57416 NetXtreme-E Dual-Media 10G RDMA Ethernet Controller\n CardVendor 0x14e4 card 0x4160 (Broadcom Limited, Card unknown)\n  STATUS    0x0010  COMMAND 0x0006\n  CLASS     0x02 0x00 0x00  REVISION 0x01\n  BIST      0x00  HEADER 0x80  LATENCY 0x00  CACHE 0x00\n  BASE0     0x0000000097e00000 SIZE 65536  MEM64 PREFETCHABLE\n  BASE2     0x0000000096c00000 SIZE 1048576  MEM64 PREFETCHABLE\n  BASE4     0x0000000097ea0000 SIZE 8192  MEM64 PREFETCHABLE\n  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x02  INT_LINE 0x06<br>...<\/pre>\n\n\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043c, \u043d\u0435 \u043e\u043f\u043e\u0437\u043d\u0430\u043b\u0430\u0441\u044c \u043b\u0438 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0430 \u043d\u0430\u0448\u0438\u043c \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u043e\u043c:<\/p>\n\n\n<pre># mdb -k\nLoading modules: [ unix genunix dtrace specfs mac cpu.generic uppc apix scsi_vhci iommu zfs rpcmod lmrc sas sd sockfs ip hook neti arp usba zvmisc random lofs idm sata cpc fcip fctl fcp ksplice ptm smbsrv nfs zvmm ufs logindmux nsmb ipc ]\n&gt; ::devbindings -q bnxt \n&gt;\n<\/pre>\n\n\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u0438\u043c, \u043d\u0435 \u043e\u043f\u043e\u0437\u043d\u0430\u043b\u0430\u0441\u044c. \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 <strong>\/etc\/driver_aliases<\/strong>:<\/p>\n\n\n<p><code><br>\n$ grep bnxt \/etc\/driver_aliases<br>\n...<br>\n<\/code><\/p>\n\n\n<p>\u0417\u0434\u0435\u0441\u044c \u043c\u044b \u0443\u0432\u0438\u0434\u0438\u043c \u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0449\u0438\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432. \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0439\u0434\u0451\u043c \u043a \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u043d\u0430\u0448\u0435\u0439 \u043a\u0430\u0440\u0442\u044b. \u0423 \u043d\u0430\u0441<strong> vendor=0x14e4, device=0x16d8<\/strong>, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u043f\u043e\u0438\u0449\u0435\u043c \u043f\u043e <strong>pciex14e4<\/strong> \u0432 <strong>\/etc\/driver_aliases<\/strong> \u0438 <strong>16d8<\/strong>. \u0417\u0434\u0435\u0441\u044c \u0435\u0441\u0442\u044c <strong>16d7 <\/strong>\u0438 <strong>16d9<\/strong>, \u043d\u043e \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e <strong>16d8<\/strong> &#8211; \u043d\u0435\u0442\u0443. \u0418\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e:<\/p>\n\n\n<p><code># update_drv -a -i 'pciex14e4,16d8' bnxt<\/code><\/p>\n\n\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0432 <strong>dmesg&#8217;e<\/strong> \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n\n\n<p><code><br>\nFeb 22 11:54:38 SRV mac: [ID 469746 kern.info] NOTICE: bnxt0 registered<br>\nFeb 22 11:54:38 SRV bnxt: [ID 611667 kern.info] NOTICE: bnxt0: Broadcom 25Gb Ethernet, bnxt 17.1.8<br>\nFeb 22 11:54:38 SRV pcieb: [ID 586369 kern.info] PCIE-device: pci14e4,4160@0, bnxt0<br>\nFeb 22 11:54:38 SRV npe: [ID 236367 kern.info] PCI Express-device: pci14e4,4160@0, bnxt0<br>\nFeb 22 11:54:38 SRV mac: [ID 469746 kern.info] NOTICE: bnxt1 registered<br>\nFeb 22 11:54:38 SRV bnxt: [ID 611667 kern.info] NOTICE: bnxt1: Broadcom 25Gb Ethernet, bnxt 17.1.8<br>\nFeb 22 11:54:38 SRV pcieb: [ID 586369 kern.info] PCIE-device: pci14e4,4160@0,1, bnxt1<br>\nFeb 22 11:54:38 SRV npe: [ID 236367 kern.info] PCI Express-device: pci14e4,4160@0,1, bnxt1<br>\n<\/code><\/p>\n\n\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043c <strong>binding<\/strong>:<\/p>\n\n\n<pre># mdb -k\nLoading modules: [ unix genunix dtrace specfs mac cpu.generic uppc apix scsi_vhci iommu zfs rpcmod lmrc sas sd sockfs ip hook neti arp usba zvmisc random lofs idm sata cpc fcip fctl fcp ksplice ptm smbsrv nfs zvmm ufs logindmux nsmb ipc ]\n&gt; ::devbindings -q bnxt\nffffa7003873f080 \/pci@1,0\/pci8086,2030@0\/pci14e4,4160@0 \/rootnex0\/npe1\/pcieb3\/bnxt0\nffffa7003873ed48 \/pci@1,0\/pci8086,2030@0\/pci14e4,4160@0,1 \/rootnex0\/npe1\/pcieb3\/bnxt1\n<\/pre>\n\n\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442<\/p>\n\n\n<pre># dladm show-phys\nLINK            MEDIA         STATE      SPEED  DUPLEX    DEVICE\nnet0            Ethernet      up         1000   full      bge0\nnet1            Ethernet      down       0      unknown   bge1\nnet2            Ethernet      down       0      unknown   bnxt0\nnet3            Ethernet      unknown    0      unknown   bnxt1\n<\/pre>","protected":false},"excerpt":{"rendered":"<p>\u0412\u0437\u044f\u043b\u0438 \u043d\u043e\u0432\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 Dell R840 \u0438 \u0441 \u043d\u0435\u0439 \u0448\u043b\u0430 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0430 Broadcom 57416 2 Port 10Gb Base-T. \u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e \u0438\u0437 \u0441\u0442\u0430\u0442\u044c\u0438, \u0441\u0435\u0442\u0435\u0432\u0430\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435 \u043e\u043f\u043e\u0437\u043d\u0430\u043b\u0430\u0441\u044c, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u0433\u0443\u0433\u043b\u0438\u043c \u043d\u0430 \u043f\u0440\u0435\u0434\u043c\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0433\u043e \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430. \u0418\u043c \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f bnxt (\u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e FreeBSD). \u0423\u0447\u0438\u0442\u044b\u0432\u0430\u044f, \u0447\u0442\u043e \u0438\u043c\u0435\u043d\u0430 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u043e\u0432 \u043f\u043e\u0447\u0442\u0438 \u0432 99% \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442 \u0441 FreeBSD \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u0434\u043e\u0432\u0435\u0440\u0438\u0442\u044c\u0441\u044f \u0438\u043c \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-5576","post","type-post","status-publish","format-standard","hentry","category-solaris"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/5576","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5576"}],"version-history":[{"count":2,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/5576\/revisions"}],"predecessor-version":[{"id":5578,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/5576\/revisions\/5578"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5576"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5576"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}