10Gb on budged with fiber — what should IP choose?

2017-01-15 Thread Lev Serebryakov
Hello Freebsd-net,

  I want to attach my DIY-NAS (FreeBSD-based) to my desktop (Windows-based)
 with 10Gb link. I could not afford 10Gb switch for sure. So, it will be
 point-to-point connection only for my desktop and not other computers in my
 house.

  Also, I could not use my current twisted pair wiring, as I need connection
 to router for my desktop too :) Cable ducts ion my house is overcrouded,
 so, I think only fiber is way to go, there is no chance to add CAT6 cable
 between my room and storage room with server, and copper SFP-to-SFP
 patchcord is out of question!

  So, I need cheap PCIe cards with SFP+ slots which is not very picky about
 modules (I'm on budget!), with good FreeBSD support and drivers for
 Win'10 (which is another problem with very old cards).

  What should I choose? There are A LOT of old 10Gb cards on eBay. Should I
 choose Mellanox ConnectiX-2? Chelsio-T3? Something else? Intel X520 looks
 as safe variant, but it is much more expensive and, as far as I know, it
 supports only expensive branded SFP+ modules, too.


P.S. You could never stop upgrading your home NAS.

-- 
Best regards,
 Lev  mailto:l...@serebryakov.spb.ru
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: 10Gb on budged with fiber — what should IP choose?

2017-01-15 Thread Kevin Bowling
Intel is overpriced and still riding their Ethernet reputation from well
over a decade ago with little to show for it.  I would recommend cxgbe
anything, so Chelsio T420 and up.  The T520-SO-CR is within reason for
demanding home office/small office users to purchase new and I've deployed
over a thousand of these at work with flawless performance.  T420 are a bit
cheaper on i.e. US ebay if that is viable to you but not by too much.  I
bought a T420-BT that way for home use and have no complaints.  For non-TOE
use at 10g, the difference between T4 and T5 doesn't matter too much, pcie
2.0 vs 3.0.

You can use DAC twinax cables to connect 10G SFP+ ports together.  This
will save several watts of power and heat on each side vs 10G Base-T.
Sometimes DACs have interop problems, usually with switches.  Optics are
more forgiving, although again the switch side may have extra hoops like
approved vendors.

As far as a switch, I got a good deal on the beta UniFi version of
https://www.ubnt.com/edgemax/edgeswitch-16-xg/ for my home network.  Now
that it is full price, I would recommend the EdgeMax version unless you
have other UniFi gear.  They are inexpensive as far as the physical
connectivity versus the rest of the market but not quite cheap yet.  These
aren't exactly pro grade, the interop seems pretty poor in general, but
that's the price you pay for the price you didn't pay :)

Regards,

On Sun, Jan 15, 2017 at 2:32 AM, Lev Serebryakov  wrote:

> Hello Freebsd-net,
>
>   I want to attach my DIY-NAS (FreeBSD-based) to my desktop (Windows-based)
>  with 10Gb link. I could not afford 10Gb switch for sure. So, it will be
>  point-to-point connection only for my desktop and not other computers in
> my
>  house.
>
>   Also, I could not use my current twisted pair wiring, as I need
> connection
>  to router for my desktop too :) Cable ducts ion my house is overcrouded,
>  so, I think only fiber is way to go, there is no chance to add CAT6 cable
>  between my room and storage room with server, and copper SFP-to-SFP
>  patchcord is out of question!
>
>   So, I need cheap PCIe cards with SFP+ slots which is not very picky about
>  modules (I'm on budget!), with good FreeBSD support and drivers for
>  Win'10 (which is another problem with very old cards).
>
>   What should I choose? There are A LOT of old 10Gb cards on eBay. Should I
>  choose Mellanox ConnectiX-2? Chelsio-T3? Something else? Intel X520 looks
>  as safe variant, but it is much more expensive and, as far as I know, it
>  supports only expensive branded SFP+ modules, too.
>
>
> P.S. You could never stop upgrading your home NAS.
>
> --
> Best regards,
>  Lev  mailto:l...@serebryakov.spb.ru
> ___
> freebsd-net@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
>
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: 10Gb on budged with fiber — what should IP choose?

2017-01-15 Thread wonko
How good is FreeBSD's mellanox support? You can get a ConnectX-2 EN for $15 on 
eBay and they are amazing cards.

-brian

> On Jan 15, 2017, at 05:03, Kevin Bowling  wrote:
> 
> Intel is overpriced and still riding their Ethernet reputation from well
> over a decade ago with little to show for it.  I would recommend cxgbe
> anything, so Chelsio T420 and up.  The T520-SO-CR is within reason for
> demanding home office/small office users to purchase new and I've deployed
> over a thousand of these at work with flawless performance.  T420 are a bit
> cheaper on i.e. US ebay if that is viable to you but not by too much.  I
> bought a T420-BT that way for home use and have no complaints.  For non-TOE
> use at 10g, the difference between T4 and T5 doesn't matter too much, pcie
> 2.0 vs 3.0.
> 
> You can use DAC twinax cables to connect 10G SFP+ ports together.  This
> will save several watts of power and heat on each side vs 10G Base-T.
> Sometimes DACs have interop problems, usually with switches.  Optics are
> more forgiving, although again the switch side may have extra hoops like
> approved vendors.
> 
> As far as a switch, I got a good deal on the beta UniFi version of
> https://www.ubnt.com/edgemax/edgeswitch-16-xg/ for my home network.  Now
> that it is full price, I would recommend the EdgeMax version unless you
> have other UniFi gear.  They are inexpensive as far as the physical
> connectivity versus the rest of the market but not quite cheap yet.  These
> aren't exactly pro grade, the interop seems pretty poor in general, but
> that's the price you pay for the price you didn't pay :)
> 
> Regards,
> 
>> On Sun, Jan 15, 2017 at 2:32 AM, Lev Serebryakov  wrote:
>> 
>> Hello Freebsd-net,
>> 
>>  I want to attach my DIY-NAS (FreeBSD-based) to my desktop (Windows-based)
>> with 10Gb link. I could not afford 10Gb switch for sure. So, it will be
>> point-to-point connection only for my desktop and not other computers in
>> my
>> house.
>> 
>>  Also, I could not use my current twisted pair wiring, as I need
>> connection
>> to router for my desktop too :) Cable ducts ion my house is overcrouded,
>> so, I think only fiber is way to go, there is no chance to add CAT6 cable
>> between my room and storage room with server, and copper SFP-to-SFP
>> patchcord is out of question!
>> 
>>  So, I need cheap PCIe cards with SFP+ slots which is not very picky about
>> modules (I'm on budget!), with good FreeBSD support and drivers for
>> Win'10 (which is another problem with very old cards).
>> 
>>  What should I choose? There are A LOT of old 10Gb cards on eBay. Should I
>> choose Mellanox ConnectiX-2? Chelsio-T3? Something else? Intel X520 looks
>> as safe variant, but it is much more expensive and, as far as I know, it
>> supports only expensive branded SFP+ modules, too.
>> 
>> 
>> P.S. You could never stop upgrading your home NAS.
>> 
>> --
>> Best regards,
>> Lev  mailto:l...@serebryakov.spb.ru
>> ___
>> freebsd-net@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-net
>> To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
>> 
> ___
> freebsd-net@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: 10Gb on budged with fiber — what should IP choose?

2017-01-15 Thread Ben RUBSON
> On 15 Jan 2017, at 13:33, wo...@4amlunch.net wrote:
> 
> How good is FreeBSD's mellanox support?

>From my own experience with ConnectX-3 adapters, very good !

Ben

___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: 10Gb on budged with fiber — what should IP choose?

2017-01-15 Thread wonko
SRP target support yet? Last time I looked there wasn't any. :(

-brian

On Jan 15, 2017, at 08:22, Ben RUBSON  wrote:

>> On 15 Jan 2017, at 13:33, wo...@4amlunch.net wrote:
>> 
>> How good is FreeBSD's mellanox support?
> 
> From my own experience with ConnectX-3 adapters, very good !
> 
> Ben
> 
> ___
> freebsd-net@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: 10Gb on budged with fiber — what should IP choose?

2017-01-15 Thread Ben RUBSON
iSER is supported as initiator, however iSER target is missing, you then have 
to run a non-FreeBSD iSER target :-/

I'm not sure for SRP.

Ben

> On 15 Jan 2017, at 14:31, wo...@4amlunch.net wrote:
> 
> SRP target support yet? Last time I looked there wasn't any. :(
> 
> -brian
> 
> On Jan 15, 2017, at 08:22, Ben RUBSON  wrote:
> 
>>> On 15 Jan 2017, at 13:33, wo...@4amlunch.net wrote:
>>> 
>>> How good is FreeBSD's mellanox support?
>> 
>> From my own experience with ConnectX-3 adapters, very good !
>> 
>> Ben
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: 10Gb on budged with fiber — what should IP choose?

2017-01-15 Thread Lev Serebryakov
Hello Wonko,

Sunday, January 15, 2017, 3:33:35 PM, you wrote:

 It is what I want to know! :)

> How good is FreeBSD's mellanox support? You can get a ConnectX-2 EN for
> $15 on eBay and they are amazing cards.

-- 
Best regards,
 Levmailto:l...@freebsd.org
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: 10Gb on budged with fiber — what should IP choose?

2017-01-15 Thread Lev Serebryakov
Hello Kevin,

Sunday, January 15, 2017, 1:03:16 PM, you wrote:

> Intel is overpriced and still riding their Ethernet reputation from well
> over a decade ago with little to show for it.  I would recommend cxgbe
> anything, so Chelsio T420 and up.  The T520-SO-CR is within reason for
> demanding home office/small office users to purchase new and I've deployed
> over a thousand of these at work with flawless performance.  T420 are a bit
> cheaper on i.e. US ebay if that is viable to you but not by too much.  I
> bought a T420-BT that way for home use and have no complaints.
  Looks like our views of term "budget" is very different :). If I could spend
 $200+/card then it would be noo-rainer.

> You can use DAC twinax cables to connect 10G SFP+ ports together.  This
> will save several watts of power and heat on each side vs 10G Base-T.
 Twinax is not what I could fit in my old house's (not datacenter!) cable ducts
 :( And new cable ducts means a LOT of dusty work (reinforced concrete
 walls) & new wallpapers & stuff.


-- 
Best regards,
 Levmailto:l...@freebsd.org
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: 10Gb on budged with fiber — what should IP choose?

2017-01-15 Thread wonko
Ok I'm going to guess not then as it didn't last time i looked. Ended up going 
to OmniOS for the storage array as COMSTAR has IB SRP target support out of the 
box.

-brian

> On Jan 15, 2017, at 08:37, Ben RUBSON  wrote:
> 
> iSER is supported as initiator, however iSER target is missing, you then have 
> to run a non-FreeBSD iSER target :-/
> 
> I'm not sure for SRP.
> 
> Ben
> 
>> On 15 Jan 2017, at 14:31, wo...@4amlunch.net wrote:
>> 
>> SRP target support yet? Last time I looked there wasn't any. :(
>> 
>> -brian
>> 
>> On Jan 15, 2017, at 08:22, Ben RUBSON  wrote:
>> 
 On 15 Jan 2017, at 13:33, wo...@4amlunch.net wrote:
 
 How good is FreeBSD's mellanox support?
>>> 
>>> From my own experience with ConnectX-3 adapters, very good !
>>> 
>>> Ben
> ___
> freebsd-net@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: 10Gb on budged with fiber — what should IP choose?

2017-01-15 Thread wonko
So it looks like the answer is yes!

Great cards. They will work well for you.

-brian

> On Jan 15, 2017, at 08:47, Lev Serebryakov  wrote:
> 
> Hello Wonko,
> 
> Sunday, January 15, 2017, 3:33:35 PM, you wrote:
> 
> It is what I want to know! :)
> 
>> How good is FreeBSD's mellanox support? You can get a ConnectX-2 EN for
>> $15 on eBay and they are amazing cards.
> 
> -- 
> Best regards,
> Levmailto:l...@freebsd.org
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


[Bug 213869] when setting an ipsec policy with spdadd src[port], outbound traffic from 2049/tcp is not encrypted

2017-01-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213869

--- Comment #11 from commit-h...@freebsd.org ---
A commit references this bug:

Author: ae
Date: Sun Jan 15 15:43:19 UTC 2017
New revision: 312233
URL: https://svnweb.freebsd.org/changeset/base/312233

Log:
  MFC r311679:
Add direction argument to ipsec_setspidx_inpcb() function.

This function is used only by ipsec_getpolicybysock() to fill security
policy index selector for locally generated packets (that have INPCB).
The function incorrectly assumes that spidx is the same for both
directions.
Fix this by using new direction argument to specify correct INPCB security
policy - sp_in or sp_out. There is no need to fill both policy indeces,
because they are overwritten for each packet.
This fixes security policy matching for outbound packets when user has
specified TCP/UDP ports in the security policy upperspec.

PR: 213869

Changes:
_U  stable/11/
  stable/11/sys/netipsec/ipsec.c

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


[Bug 213869] when setting an ipsec policy with spdadd src[port], outbound traffic from 2049/tcp is not encrypted

2017-01-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213869

Andrey V. Elsukov  changed:

   What|Removed |Added

 Status|New |Closed
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


iwn logging "need promiscuous mode update callback"

2017-01-15 Thread Kevin Oberman
Some time around two months ago I started seeing the message "iwn0: need
promiscuous mode update callback" logged every time promiscuous mode was
either enabled or disabled. Things still seem to work OK.

System is normally built from source and updated about once a month.
FreeBSD rogue 11.0-STABLE FreeBSD 11.0-STABLE #0 r311919: Wed Jan 11
09:35:06 PST 2017 root@rogue:/usr/obj/usr/src/sys/GENERIC.4BSD  amd64

Added oddness... the message is often split into two log entries:
Jan 15 09:41:13 rogue kernel: iwn0:
Jan 15 09:41:13 rogue kernel: wlan0: promiscuous mode disabled
Jan 15 09:41:13 rogue kernel: need promiscuous mode update callback
I don't see how this is even possible as I always thought syslog messages
were atomic. Guess not.

Again, this is not causing problems that I am aware of, but is a bit
disturbing.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkober...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Problem reports for freebsd-net@FreeBSD.org that need special attention

2017-01-15 Thread bugzilla-noreply
To view an individual PR, use:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id).

The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status  |Bug Id | Description
+---+---
In Progress |165622 | [ndis][panic][patch] Unregistered use of FPU in k 
In Progress |203422 | mpd/ppoe not working with re(4) with revision 285 
In Progress |206581 | bxe_ioctl_nvram handler is faulty 
New |204438 | setsockopt() handling of kern.ipc.maxsockbuf limi 
New |205592 | TCP processing in IPSec causes kernel panic   
New |206053 | kqueue support code of netmap causes panic
New |213410 | [carp] service netif restart causes hang only whe 
Open|148807 | [panic] "panic: sbdrop" and "panic: sbsndptr: soc 
Open|193452 | Dell PowerEdge 210 II -- Kernel panic bce (broadc 
Open|194485 | Userland cannot add IPv6 prefix routes
Open|194515 | Fatal Trap 12 Kernel with vimage  
Open|199136 | [if_tap] Added down_on_close sysctl variable to t 
Open|202510 | [CARP] advertisements sourced from CARP IP cause  
Open|206544 | sendmsg(2) (sendto(2) too?) can fail with EINVAL; 
Open|211031 | [panic] in ng_uncallout when argument is NULL 
Open|211962 | bxe driver queue soft hangs and flooding tx_soft_ 
Open|213257 | Crash in IGB driver with ALTQ 

17 problems total for which you should take action.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: 10Gb on budged with fiber — what should IP choose?

2017-01-15 Thread Kevin Bowling
You should be able to find T420-CR or T420-BT for half that.  The primary
difference is that cxgbe is still a supported driver, and it's been high
quality from the start unlike a lot of other vendors.  You are engaging in
archeology with the other cards you mentioned, and may spend way more value
in time than you would in the purchase cost of two NICs :)

On Sun, Jan 15, 2017 at 6:47 AM, Lev Serebryakov  wrote:

> Hello Kevin,
>
> Sunday, January 15, 2017, 1:03:16 PM, you wrote:
>
> > Intel is overpriced and still riding their Ethernet reputation from well
> > over a decade ago with little to show for it.  I would recommend cxgbe
> > anything, so Chelsio T420 and up.  The T520-SO-CR is within reason for
> > demanding home office/small office users to purchase new and I've
> deployed
> > over a thousand of these at work with flawless performance.  T420 are a
> bit
> > cheaper on i.e. US ebay if that is viable to you but not by too much.  I
> > bought a T420-BT that way for home use and have no complaints.
>   Looks like our views of term "budget" is very different :). If I could
> spend
>  $200+/card then it would be noo-rainer.
>
> > You can use DAC twinax cables to connect 10G SFP+ ports together.  This
> > will save several watts of power and heat on each side vs 10G Base-T.
>  Twinax is not what I could fit in my old house's (not datacenter!) cable
> ducts
>  :( And new cable ducts means a LOT of dusty work (reinforced concrete
>  walls) & new wallpapers & stuff.
>
>
> --
> Best regards,
>  Levmailto:l...@freebsd.org
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


[Bug 215933] SCM_RIGHTS messages being lost, socket data being lost as well (with example code)

2017-01-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215933

Sepherosa Ziehau  changed:

   What|Removed |Added

 CC||sepher...@gmail.com

--- Comment #2 from Sepherosa Ziehau  ---
I believe this is exact same as:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=181741

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


[Differential] D9058: alc: Add Killer E2500 support.

2017-01-15 Thread Phabricator
This revision was automatically updated to reflect the committed changes.
Closed by commit rS312250: alc: Add Killer E2500 support (authored by sephe).

CHANGED PRIOR TO COMMIT
  https://reviews.freebsd.org/D9058?vs=23647&id=24056#toc

REPOSITORY
  rS FreeBSD src repository

CHANGES SINCE LAST UPDATE
  https://reviews.freebsd.org/D9058?vs=23647&id=24056

REVISION DETAIL
  https://reviews.freebsd.org/D9058

AFFECTED FILES
  head/share/man/man4/alc.4
  head/sys/dev/alc/if_alc.c
  head/sys/dev/alc/if_alcreg.h
  head/sys/dev/pci/pci.c

EMAIL PREFERENCES
  https://reviews.freebsd.org/settings/panel/emailpreferences/

To: sepherosa_gmail.com, decui_microsoft.com, jhb
Cc: freebsd-net-list
diff --git a/head/sys/dev/pci/pci.c b/head/sys/dev/pci/pci.c
--- a/head/sys/dev/pci/pci.c
+++ b/head/sys/dev/pci/pci.c
@@ -281,13 +281,14 @@
 	{ 0x43851002, PCI_QUIRK_UNMAP_REG,	0x14,	0 },
 
 	/*
-	 * Atheros AR8161/AR8162/E2200/E2400 Ethernet controllers have a
-	 * bug that MSI interrupt does not assert if PCIM_CMD_INTxDIS bit
+	 * Atheros AR8161/AR8162/E2200/E2400/E2500 Ethernet controllers have
+	 * a bug that MSI interrupt does not assert if PCIM_CMD_INTxDIS bit
 	 * of the command register is set.
 	 */
 	{ 0x10911969, PCI_QUIRK_MSI_INTX_BUG,	0,	0 },
 	{ 0xE0911969, PCI_QUIRK_MSI_INTX_BUG,	0,	0 },
 	{ 0xE0A11969, PCI_QUIRK_MSI_INTX_BUG,	0,	0 },
+	{ 0xE0B11969, PCI_QUIRK_MSI_INTX_BUG,	0,	0 },
 	{ 0x10901969, PCI_QUIRK_MSI_INTX_BUG,	0,	0 },
 
 	/*
diff --git a/head/sys/dev/alc/if_alcreg.h b/head/sys/dev/alc/if_alcreg.h
--- a/head/sys/dev/alc/if_alcreg.h
+++ b/head/sys/dev/alc/if_alcreg.h
@@ -50,6 +50,7 @@
 #define	DEVICEID_ATHEROS_AR8172		0x10A0
 #define	DEVICEID_ATHEROS_E2200		0xE091
 #define	DEVICEID_ATHEROS_E2400		0xE0A1
+#define	DEVICEID_ATHEROS_E2500		0xE0B1
 
 #define	ATHEROS_AR8152_B_V10		0xC0
 #define	ATHEROS_AR8152_B_V11		0xC1
diff --git a/head/sys/dev/alc/if_alc.c b/head/sys/dev/alc/if_alc.c
--- a/head/sys/dev/alc/if_alc.c
+++ b/head/sys/dev/alc/if_alc.c
@@ -123,6 +123,8 @@
 		"Killer E2200 Gigabit Ethernet" },
 	{ VENDORID_ATHEROS, DEVICEID_ATHEROS_E2400, 9 * 1024,
 		"Killer E2400 Gigabit Ethernet" },
+	{ VENDORID_ATHEROS, DEVICEID_ATHEROS_E2500, 9 * 1024,
+		"Killer E2500 Gigabit Ethernet" },
 	{ 0, 0, 0, NULL}
 };
 
@@ -1083,6 +1085,7 @@
 	case DEVICEID_ATHEROS_AR8161:
 	case DEVICEID_ATHEROS_E2200:
 	case DEVICEID_ATHEROS_E2400:
+	case DEVICEID_ATHEROS_E2500:
 	case DEVICEID_ATHEROS_AR8162:
 	case DEVICEID_ATHEROS_AR8171:
 	case DEVICEID_ATHEROS_AR8172:
@@ -1402,6 +1405,7 @@
 	switch (sc->alc_ident->deviceid) {
 	case DEVICEID_ATHEROS_E2200:
 	case DEVICEID_ATHEROS_E2400:
+	case DEVICEID_ATHEROS_E2500:
 		sc->alc_flags |= ALC_FLAG_E2X00;
 		/* FALLTHROUGH */
 	case DEVICEID_ATHEROS_AR8161:
@@ -1480,7 +1484,8 @@
 		if (alc_dma_burst[sc->alc_dma_wr_burst] > 1024)
 			sc->alc_dma_wr_burst = 3;
 		/*
-		 * Force maximum payload size to 128 bytes for E2200/E2400.
+		 * Force maximum payload size to 128 bytes for
+		 * E2200/E2400/E2500.
 		 * Otherwise it triggers DMA write error.
 		 */
 		if ((sc->alc_flags & ALC_FLAG_E2X00) != 0)
diff --git a/head/share/man/man4/alc.4 b/head/share/man/man4/alc.4
--- a/head/share/man/man4/alc.4
+++ b/head/share/man/man4/alc.4
@@ -124,6 +124,8 @@
 Killer E2200 Gigabit Ethernet controller
 .It
 Killer E2400 Gigabit Ethernet controller
+.It
+Killer E2500 Gigabit Ethernet controller
 .El
 .Sh LOADER TUNABLES
 Tunables can be set at the

___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"