CVS commit: src/sys/dev/pci/ixgbe

2019-09-04 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Sep 4 07:29:34 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe_netbsd.c ixv.c Log Message: printf -> device_printf To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55

CVS commit: src/sys/dev/pci/ixgbe

2019-09-04 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Sep 4 07:29:34 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe_netbsd.c ixv.c Log Message: printf -> device_printf To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55

CVS commit: src/sys/dev/pci/ixgbe

2019-08-29 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Aug 29 09:45:22 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Fix panic when ncpu == 1 && sysctl -w hw.ixg0.txrx_workqueue=1. Reported by nonaka@n.o. ok by msaitoh@n.o and nonaka@n.o pullup-8,

CVS commit: src/sys/dev/pci/ixgbe

2019-08-29 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Aug 29 09:45:22 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Fix panic when ncpu == 1 && sysctl -w hw.ixg0.txrx_workqueue=1. Reported by nonaka@n.o. ok by msaitoh@n.o and nonaka@n.o pullup-8,

CVS commit: src/sys/dev/pci/ixgbe

2019-08-29 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Aug 29 09:35:18 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: fix typo in error handling of ixgbe_allocate_legacy(). ok by msaitoh@n.o pullup-8, pullup-9 To generate a diff of this commit: cvs

CVS commit: src/sys/dev/pci/ixgbe

2019-08-29 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Aug 29 09:35:18 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: fix typo in error handling of ixgbe_allocate_legacy(). ok by msaitoh@n.o pullup-8, pullup-9 To generate a diff of this commit: cvs

CVS commit: src/sys/dev/pci/ixgbe

2019-08-28 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Aug 28 08:54:21 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: An interrupt might not arrive when a module is inserted. When an link status change interrupt occurred and the driver still regard SFP as

CVS commit: src/sys/dev/pci/ixgbe

2019-08-28 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Aug 28 08:54:21 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: An interrupt might not arrive when a module is inserted. When an link status change interrupt occurred and the driver still regard SFP as

CVS commit: src/sys/dev/pci/ixgbe

2019-08-28 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Aug 28 08:23:35 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: X550EM supports QSFP, so check ixgbe_media_type_fiber_qsfp too. To generate a diff of this commit: cvs rdiff -u -r1.202 -r1.203

CVS commit: src/sys/dev/pci/ixgbe

2019-08-28 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Aug 28 08:23:35 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: X550EM supports QSFP, so check ixgbe_media_type_fiber_qsfp too. To generate a diff of this commit: cvs rdiff -u -r1.202 -r1.203

CVS commit: src/sys/dev/pci/ixgbe

2019-08-21 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Aug 21 10:01:53 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Simplify ix{gbe,v}_[un]register_vlan() API suggestesd by knakahara. The API was the same as FreeBSD's pre-iflib's. They use iflib

CVS commit: src/sys/dev/pci/ixgbe

2019-08-21 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Aug 21 10:01:53 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Simplify ix{gbe,v}_[un]register_vlan() API suggestesd by knakahara. The API was the same as FreeBSD's pre-iflib's. They use iflib

CVS commit: src/sys/dev/pci/ixgbe

2019-07-30 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Jul 30 08:44:28 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: ixgbe_setup_low_power_mode() calls ixgbe_stop() in it. ixgbe_detach() first called ixgbe_stop() and then called

CVS commit: src/sys/dev/pci/ixgbe

2019-07-30 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Jul 30 08:44:28 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: ixgbe_setup_low_power_mode() calls ixgbe_stop() in it. ixgbe_detach() first called ixgbe_stop() and then called

CVS commit: src/sys/dev/pci/ixgbe

2019-07-30 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Jul 30 08:38:04 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: It's not required to call ixv_stop() twice in ixv_detach(). To generate a diff of this commit: cvs rdiff -u -r1.124 -r1.125

CVS commit: src/sys/dev/pci/ixgbe

2019-07-30 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Jul 30 08:38:04 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: It's not required to call ixv_stop() twice in ixv_detach(). To generate a diff of this commit: cvs rdiff -u -r1.124 -r1.125

CVS commit: src/sys/dev/pci/ixgbe

2019-07-25 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Jul 26 04:08:39 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Set IVAR (Interrupt Vector Allocation Register) correctly for 82598 in ixgbe_set_ivar(). Found by KUBSan. To generate a diff of this

CVS commit: src/sys/dev/pci/ixgbe

2019-07-25 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Jul 26 04:08:39 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Set IVAR (Interrupt Vector Allocation Register) correctly for 82598 in ixgbe_set_ivar(). Found by KUBSan. To generate a diff of this

CVS commit: src/sys/dev/pci/ixgbe

2019-07-25 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Jul 26 03:28:13 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Simplify code. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.196 -r1.197

CVS commit: src/sys/dev/pci/ixgbe

2019-07-25 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Jul 26 03:28:13 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Simplify code. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.196 -r1.197

CVS commit: src/sys/dev/pci/ixgbe

2019-07-25 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Jul 26 03:27:24 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: Simplify and avoid undefined behavior. This is not a real bug because the max number of queue is 2. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/pci/ixgbe

2019-07-25 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Jul 26 03:27:24 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: Simplify and avoid undefined behavior. This is not a real bug because the max number of queue is 2. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/pci/ixgbe

2019-07-25 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jul 25 09:28:08 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Fix VLAN hardware filter initialization. Use unsigned. Found by KUBSan. To generate a diff of this commit: cvs rdiff -u -r1.195

CVS commit: src/sys/dev/pci/ixgbe

2019-07-25 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jul 25 09:28:08 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Fix VLAN hardware filter initialization. Use unsigned. Found by KUBSan. To generate a diff of this commit: cvs rdiff -u -r1.195

CVS commit: src/sys/dev/pci/ixgbe

2019-07-25 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jul 25 09:01:56 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe_common.c ixv.c Log Message: Fix VLAN filter setting. Found by KUBSan. To generate a diff of this commit: cvs rdiff -u -r1.194 -r1.195

CVS commit: src/sys/dev/pci/ixgbe

2019-07-25 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jul 25 09:01:56 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe_common.c ixv.c Log Message: Fix VLAN filter setting. Found by KUBSan. To generate a diff of this commit: cvs rdiff -u -r1.194 -r1.195

CVS commit: src/sys/dev/pci/ixgbe

2019-07-25 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jul 25 07:05:44 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe_common.c Log Message: Set FCTTV(Flow Control Transmit Timer Value) register correctly in ixgbe_fc_enable_generic(). Found by KUBSan. To generate a diff

CVS commit: src/sys/dev/pci/ixgbe

2019-07-25 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jul 25 07:05:44 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe_common.c Log Message: Set FCTTV(Flow Control Transmit Timer Value) register correctly in ixgbe_fc_enable_generic(). Found by KUBSan. To generate a diff

CVS commit: src/sys/dev/pci/ixgbe

2019-07-24 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jul 25 05:58:25 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: Set IVAR (Interrupt Vector Allocation Register) correctly in ixgbe_set_ivar(). Found by KUBSan. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/pci/ixgbe

2019-07-24 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jul 25 05:58:25 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: Set IVAR (Interrupt Vector Allocation Register) correctly in ixgbe_set_ivar(). Found by KUBSan. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/pci/ixgbe

2019-07-24 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Jul 24 06:07:58 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe_type.h Log Message: Fix some problems found by KUBSan: - Set TQSM and RQSM (TX/RX queue statistics mapping) correctly. - Set IVAR (Interrupt

CVS commit: src/sys/dev/pci/ixgbe

2019-07-04 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jul 4 09:02:24 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: On ENETRESET case, not continue and quit the ifflags_cb() function because if_init() will do the same thing. To generate a diff of

CVS commit: src/sys/dev/pci/ixgbe

2019-07-04 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jul 4 09:02:24 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: On ENETRESET case, not continue and quit the ifflags_cb() function because if_init() will do the same thing. To generate a diff of

CVS commit: src/sys/dev/pci/ixgbe

2019-07-04 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jul 4 08:56:35 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c Log Message: Fix hung queue check when the queue number >= 31. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54

CVS commit: src/sys/dev/pci/ixgbe

2019-07-04 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jul 4 08:56:35 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c Log Message: Fix hung queue check when the queue number >= 31. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54

CVS commit: src/sys/dev/pci/ixgbe

2019-07-02 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Jul 2 08:38:48 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Sync with FreeBSD ix-3.3.10 part 2: - Calculate vector's bit location correctly when the vector >= 31 in ixgbe_allocate_msix(). To

CVS commit: src/sys/dev/pci/ixgbe

2019-07-02 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Jul 2 08:38:48 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Sync with FreeBSD ix-3.3.10 part 2: - Calculate vector's bit location correctly when the vector >= 31 in ixgbe_allocate_msix(). To

CVS commit: src/sys/dev/pci/ixgbe

2019-07-02 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Jul 2 08:32:18 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe_type.h Log Message: Sync with FreeBSD ix-3.3.10 part 1. No functional change in this part: - "(u64)1" -> "1ULL" - Add some not-yet-used register

CVS commit: src/sys/dev/pci/ixgbe

2019-07-02 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Jul 2 08:32:18 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe_type.h Log Message: Sync with FreeBSD ix-3.3.10 part 1. No functional change in this part: - "(u64)1" -> "1ULL" - Add some not-yet-used register

CVS commit: src/sys/dev/pci/ixgbe

2019-07-02 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Jul 2 07:20:07 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: Sync with FreeBSD's ixv-1.5.17: - When ixv_check_link() failed in the watchdog function, reset the interface. - Remove RXCSUM register

CVS commit: src/sys/dev/pci/ixgbe

2019-07-01 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Jul 2 04:09:03 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe_vf.c Log Message: Other than IXGBE_VF_RESET should wait ACK, so use ixgbevf_write_msg_read_ack() instead of write_posted() in

CVS commit: src/sys/dev/pci/ixgbe

2019-07-01 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Jul 2 04:09:03 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe_vf.c Log Message: Other than IXGBE_VF_RESET should wait ACK, so use ixgbevf_write_msg_read_ack() instead of write_posted() in

Re: CVS commit: src/sys/dev/pci/ixgbe

2019-06-27 Thread Masanobu SAITOH
On 2019/06/27 18:56, SAITOH Masanobu wrote: > Module Name: src > Committed By: msaitoh > Date: Thu Jun 27 09:56:39 UTC 2019 > > Modified Files: > src/sys/dev/pci/ixgbe: ixv.c > > Log Message: > Don't call set_vfta() if any VLAN is attached. s/is/is not/ > XXX pullup-8. > > >

CVS commit: src/sys/dev/pci/ixgbe

2019-06-27 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jun 27 09:56:39 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: Don't call set_vfta() if any VLAN is attached. XXX pullup-8. To generate a diff of this commit: cvs rdiff -u -r1.115 -r1.116

CVS commit: src/sys/dev/pci/ixgbe

2019-06-27 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jun 27 09:56:39 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: Don't call set_vfta() if any VLAN is attached. XXX pullup-8. To generate a diff of this commit: cvs rdiff -u -r1.115 -r1.116

CVS commit: src/sys/dev/pci/ixgbe

2019-06-27 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jun 27 06:00:11 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe_x550.c Log Message: Sync with FreeBSD ix-3.3.8 part 2: - Add missing XFI support into ixgbe_get_link_capabilities_X550em(). To generate a diff of this

CVS commit: src/sys/dev/pci/ixgbe

2019-06-27 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jun 27 06:00:11 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe_x550.c Log Message: Sync with FreeBSD ix-3.3.8 part 2: - Add missing XFI support into ixgbe_get_link_capabilities_X550em(). To generate a diff of this

CVS commit: src/sys/dev/pci/ixgbe

2019-06-26 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jun 27 05:55:40 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: if_sriov.c ix_txrx.c ixgbe.c ixgbe.h ixgbe_api.c ixgbe_api.h ixgbe_common.c ixgbe_common.h ixgbe_mbx.c ixgbe_mbx.h ixgbe_netmap.c

CVS commit: src/sys/dev/pci/ixgbe

2019-06-04 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Jun 4 09:43:15 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Match the follwing devices: 82598_BX (0x1508) 82599_KR (0x1517) 82599_SFP_EM (0x1507) X550EM_X_XFI (0x15b0)

CVS commit: src/sys/dev/pci/ixgbe

2019-06-04 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Jun 4 09:43:15 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Match the follwing devices: 82598_BX (0x1508) 82599_KR (0x1517) 82599_SFP_EM (0x1507) X550EM_X_XFI (0x15b0)

CVS commit: src/sys/dev/pci/ixgbe

2019-05-17 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri May 17 07:39:33 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Use new media types. To generate a diff of this commit: cvs rdiff -u -r1.183 -r1.184 src/sys/dev/pci/ixgbe/ixgbe.c Please note that

CVS commit: src/sys/dev/pci/ixgbe

2019-05-17 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri May 17 07:39:33 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Use new media types. To generate a diff of this commit: cvs rdiff -u -r1.183 -r1.184 src/sys/dev/pci/ixgbe/ixgbe.c Please note that

CVS commit: src/sys/dev/pci/ixgbe

2019-05-12 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon May 13 05:04:17 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Fix a bug that manual setting of 10GBASE-SR or 10GBASE-CX4 didn't work if IFM_ETH_XTYPE was set. We don't use IFM_ETH_XTYPE macro, so this

CVS commit: src/sys/dev/pci/ixgbe

2019-05-12 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon May 13 05:04:17 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Fix a bug that manual setting of 10GBASE-SR or 10GBASE-CX4 didn't work if IFM_ETH_XTYPE was set. We don't use IFM_ETH_XTYPE macro, so this

CVS commit: src/sys/dev/pci/ixgbe

2019-05-09 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri May 10 02:56:08 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Fix typo. This code is not used yet. To generate a diff of this commit: cvs rdiff -u -r1.179 -r1.180 src/sys/dev/pci/ixgbe/ixgbe.c

CVS commit: src/sys/dev/pci/ixgbe

2019-05-09 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri May 10 02:56:08 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Fix typo. This code is not used yet. To generate a diff of this commit: cvs rdiff -u -r1.179 -r1.180 src/sys/dev/pci/ixgbe/ixgbe.c

CVS commit: src/sys/dev/pci/ixgbe

2019-03-14 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Mar 15 02:38:20 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: - Simplily. Suggested by knakahara. - Modify comment. Per queue VLAN enable flags is on 82599 and later. - Fix typo in comment. To

CVS commit: src/sys/dev/pci/ixgbe

2019-03-14 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Mar 15 02:38:20 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: - Simplily. Suggested by knakahara. - Modify comment. Per queue VLAN enable flags is on 82599 and later. - Fix typo in comment. To

Re: CVS commit: src/sys/dev/pci/ixgbe

2019-03-13 Thread Masanobu SAITOH
On 2019/03/13 19:02, SAITOH Masanobu wrote: Module Name:src Committed By: msaitoh Date: Wed Mar 13 10:02:13 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: - Fix a bug that the VLAN HW filter function is not correctly disabled s/VLAN HW

CVS commit: src/sys/dev/pci/ixgbe

2019-03-13 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Mar 13 10:08:02 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: Fix a bug that the VLAN HW filter function is not correctly disabled when all vlan is detached. Part of ixgbe.c rev. 1.177. To generate a

CVS commit: src/sys/dev/pci/ixgbe

2019-03-13 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Mar 13 10:08:02 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: Fix a bug that the VLAN HW filter function is not correctly disabled when all vlan is detached. Part of ixgbe.c rev. 1.177. To generate a

CVS commit: src/sys/dev/pci/ixgbe

2019-03-13 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Mar 13 10:02:13 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: - Fix a bug that the VLAN HW filter function is not correctly disabled when all vlan is detached. - Fix a bug that VLAN HW filter

CVS commit: src/sys/dev/pci/ixgbe

2019-03-13 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Mar 13 10:02:13 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: - Fix a bug that the VLAN HW filter function is not correctly disabled when all vlan is detached. - Fix a bug that VLAN HW filter

CVS commit: src/sys/dev/pci/ixgbe

2019-03-05 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Mar 5 10:26:08 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: It's not required to calculate unused queues' statistics. To generate a diff of this commit: cvs rdiff -u -r1.175 -r1.176

CVS commit: src/sys/dev/pci/ixgbe

2019-03-05 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Mar 5 10:26:08 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: It's not required to calculate unused queues' statistics. To generate a diff of this commit: cvs rdiff -u -r1.175 -r1.176

CVS commit: src/sys/dev/pci/ixgbe

2019-03-05 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Mar 5 09:42:36 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe_type.h Log Message: NetBSD currently uses traffic class 0 only. Other traffic classes aren't used yet. When IXGBE_TC_COUNTER_NUM is set to lower

CVS commit: src/sys/dev/pci/ixgbe

2019-03-05 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Mar 5 09:42:36 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe_type.h Log Message: NetBSD currently uses traffic class 0 only. Other traffic classes aren't used yet. When IXGBE_TC_COUNTER_NUM is set to lower

CVS commit: src/sys/dev/pci/ixgbe

2019-02-21 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Feb 22 06:49:15 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h ixv.c Log Message: Fix a bug that if_link_state_change(ifp, LINK_STATE_DOWN) isn't called unless link goes up at least one time.

CVS commit: src/sys/dev/pci/ixgbe

2019-02-21 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Feb 22 06:49:15 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h ixv.c Log Message: Fix a bug that if_link_state_change(ifp, LINK_STATE_DOWN) isn't called unless link goes up at least one time.

CVS commit: src/sys/dev/pci/ixgbe

2019-01-23 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Jan 23 09:47:52 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: - Move the location of calling setup_eee() in ixgbe_attach(). The previous location was too early. The new location is before calling

CVS commit: src/sys/dev/pci/ixgbe

2019-01-23 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Jan 23 09:47:52 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: - Move the location of calling setup_eee() in ixgbe_attach(). The previous location was too early. The new location is before calling

CVS commit: src/sys/dev/pci/ixgbe

2019-01-23 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Jan 23 09:01:25 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Call ixgbe_init_swfw_semaphore(hw) before calling ixgbe_check_wol_support() because ixgbe_check_wol_support()->ixgbe_check_wol_support()->

CVS commit: src/sys/dev/pci/ixgbe

2019-01-23 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Jan 23 09:01:25 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Call ixgbe_init_swfw_semaphore(hw) before calling ixgbe_check_wol_support() because ixgbe_check_wol_support()->ixgbe_check_wol_support()->

CVS commit: src/sys/dev/pci/ixgbe

2018-12-20 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Dec 21 07:13:30 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe_netbsd.h Log Message: Remove ETHERCAP_VLAN_HWFILTER. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/pci/ixgbe/ixgbe_netbsd.h

CVS commit: src/sys/dev/pci/ixgbe

2018-12-20 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Dec 21 07:13:30 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe_netbsd.h Log Message: Remove ETHERCAP_VLAN_HWFILTER. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/pci/ixgbe/ixgbe_netbsd.h

CVS commit: src/sys/dev/pci/ixgbe

2018-12-20 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Dec 20 09:47:15 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c Log Message: Apply the same fix as if_wm.c:r1.606 to ixg(4). Pointed out by msaitoh@n.o, thanks. XXX pullup-8 To generate a diff of this commit:

CVS commit: src/sys/dev/pci/ixgbe

2018-12-20 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Dec 20 09:47:15 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c Log Message: Apply the same fix as if_wm.c:r1.606 to ixg(4). Pointed out by msaitoh@n.o, thanks. XXX pullup-8 To generate a diff of this commit:

CVS commit: src/sys/dev/pci/ixgbe

2018-12-08 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Sat Dec 8 14:57:11 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Don't call callout_halt() if it's not initialzied. To generate a diff of this commit: cvs rdiff -u -r1.169 -r1.170

CVS commit: src/sys/dev/pci/ixgbe

2018-12-08 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Sat Dec 8 14:57:11 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Don't call callout_halt() if it's not initialzied. To generate a diff of this commit: cvs rdiff -u -r1.169 -r1.170

CVS commit: src/sys/dev/pci/ixgbe

2018-12-06 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Dec 6 13:25:02 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: if_sriov.c ixgbe.c ixgbe.h ixgbe_82599.c ixgbe_api.c ixgbe_api.h ixgbe_features.h ixgbe_netbsd.c ixgbe_netbsd.h ixgbe_phy.c ixgbe_type.h

CVS commit: src/sys/dev/pci/ixgbe

2018-12-06 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Dec 6 13:25:02 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: if_sriov.c ixgbe.c ixgbe.h ixgbe_82599.c ixgbe_api.c ixgbe_api.h ixgbe_features.h ixgbe_netbsd.c ixgbe_netbsd.h ixgbe_phy.c ixgbe_type.h

CVS commit: src/sys/dev/pci/ixgbe

2018-12-02 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Dec 3 04:39:44 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe.h Log Message: Some counters are not per queue but per traffic class. Make new evcnt group "ixgM tcN" (N = 0..7) and move those counters into it.

CVS commit: src/sys/dev/pci/ixgbe

2018-12-02 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Dec 3 04:39:44 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe.h Log Message: Some counters are not per queue but per traffic class. Make new evcnt group "ixgM tcN" (N = 0..7) and move those counters into it.

CVS commit: src/sys/dev/pci/ixgbe

2018-09-26 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Sep 27 05:40:27 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Don't set LRO capability flags because we don't support it yet. This doesn't change any behavior other than if_capabilities'

CVS commit: src/sys/dev/pci/ixgbe

2018-09-26 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Sep 27 05:40:27 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Don't set LRO capability flags because we don't support it yet. This doesn't change any behavior other than if_capabilities'

CVS commit: src/sys/dev/pci/ixgbe

2018-09-14 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Sep 14 09:51:09 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: - Fix a bug that Denverton accessed wrong register in ixgbe_setup_low_power_mode(). The location of some registers in Denverton were

CVS commit: src/sys/dev/pci/ixgbe

2018-09-14 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Sep 14 09:51:09 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: - Fix a bug that Denverton accessed wrong register in ixgbe_setup_low_power_mode(). The location of some registers in Denverton were

CVS commit: src/sys/dev/pci/ixgbe

2018-09-06 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Sep 6 08:20:12 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c Log Message: Fix a bug that ixgbe_mq_start(an if_transmit function) returned wrong vaue on error. pcq_put returns false on error, so returning it to

CVS commit: src/sys/dev/pci/ixgbe

2018-09-06 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Sep 6 08:20:12 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c Log Message: Fix a bug that ixgbe_mq_start(an if_transmit function) returned wrong vaue on error. pcq_put returns false on error, so returning it to

CVS commit: src/sys/dev/pci/ixgbe

2018-08-29 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Aug 29 09:03:15 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Fix a bug that media change may fail. I noticed that ifconfig ixgN media XXX took a 10 or more seconds on a Denverton machie. I occurred

CVS commit: src/sys/dev/pci/ixgbe

2018-08-29 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Aug 29 09:03:15 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Fix a bug that media change may fail. I noticed that ifconfig ixgN media XXX took a 10 or more seconds on a Denverton machie. I occurred

CVS commit: src/sys/dev/pci/ixgbe

2018-07-31 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Jul 31 09:19:34 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.h ixgbe_netbsd.c ixgbe_osdep.h Log Message: Make jcl allocation per queue to reduce mutex spin. Tested by me and knakahara. To generate a

CVS commit: src/sys/dev/pci/ixgbe

2018-07-31 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Jul 31 09:19:34 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.h ixgbe_netbsd.c ixgbe_osdep.h Log Message: Make jcl allocation per queue to reduce mutex spin. Tested by me and knakahara. To generate a

CVS commit: src/sys/dev/pci/ixgbe

2018-07-05 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Jul 6 02:36:35 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe_type.h ixgbe_x550.c Log Message: Add force_10_100_autonego sysctl. The default vaule is 0(false). This sysctl is only for 550EM_a with PHY

CVS commit: src/sys/dev/pci/ixgbe

2018-07-05 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Jul 6 02:36:35 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe_type.h ixgbe_x550.c Log Message: Add force_10_100_autonego sysctl. The default vaule is 0(false). This sysctl is only for 550EM_a with PHY

Re: CVS commit: src/sys/dev/pci/ixgbe

2018-07-03 Thread Masanobu SAITOH
On 2018/07/03 13:02, SAITOH Masanobu wrote: Module Name:src Committed By: msaitoh Date: Tue Jul 3 04:02:07 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Remove nmbclusters check. A big problem is that the number of RX descriptor unexpectedly

CVS commit: src/sys/dev/pci/ixgbe

2018-07-02 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Jul 3 04:02:07 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Remove nmbclusters check. We don't use the mbuf cluster. The old code also had a bug that ixgbe_total_ports adds two every port and never

CVS commit: src/sys/dev/pci/ixgbe

2018-07-02 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Jul 3 04:02:07 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Remove nmbclusters check. We don't use the mbuf cluster. The old code also had a bug that ixgbe_total_ports adds two every port and never

CVS commit: src/sys/dev/pci/ixgbe

2018-06-11 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Jun 11 10:34:18 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe_82599.c ixgbe_api.c ixgbe_type.h ixgbe_x540.c Log Message: Apply changes of FreeBSD ix-3.2.18.tgz: - Add IXGBE_DEV_ID_82599_LS(0x154f)

CVS commit: src/sys/dev/pci/ixgbe

2018-06-11 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Jun 11 10:34:18 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe_82599.c ixgbe_api.c ixgbe_type.h ixgbe_x540.c Log Message: Apply changes of FreeBSD ix-3.2.18.tgz: - Add IXGBE_DEV_ID_82599_LS(0x154f)

<    1   2   3   4   5   6   7   8   9   10   >