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

2018-06-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jun 6 20:02:31 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Comment out unused functions in order to fix Clang build ixv_rearm_queues() and ixgbe_rearm_queues() are unused. Sponsored by To

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

2018-06-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jun 6 20:02:31 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Comment out unused functions in order to fix Clang build ixv_rearm_queues() and ixgbe_rearm_queues() are unused. Sponsored by To

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

2018-06-03 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Jun 4 02:42:23 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Don't call ixgbe_rearm_queues() in ixgbe_local_timer1(). ixgbe_enable_queue() and ixgbe_disable_queue() try to enable/disable

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

2018-06-03 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Jun 4 02:42:23 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Don't call ixgbe_rearm_queues() in ixgbe_local_timer1(). ixgbe_enable_queue() and ixgbe_disable_queue() try to enable/disable

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

2018-06-03 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Jun 3 10:24:25 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Constify several variables in ixgbe/ so that they land in .rodata (1038 bytes). To generate a diff of this commit: cvs rdiff -u

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

2018-06-03 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Jun 3 10:24:25 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Constify several variables in ixgbe/ so that they land in .rodata (1038 bytes). To generate a diff of this commit: cvs rdiff -u

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

2018-05-30 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed May 30 09:17:17 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Add hw.ixgN.debug sysctl. "sysctl -w hw.ixgN.debug=1" dumps some registers to console. To generate a diff of this commit: cvs rdiff -u

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

2018-05-30 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed May 30 09:17:17 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Add hw.ixgN.debug sysctl. "sysctl -w hw.ixgN.debug=1" dumps some registers to console. To generate a diff of this commit: cvs rdiff -u

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

2018-05-30 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed May 30 08:35:27 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Clear que->disabled_count in {ixgbe,ixv}_init_locked(). Without this, interrupt mask state and EIMS may mismatch and if_init doesn't

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

2018-05-30 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed May 30 08:35:27 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Clear que->disabled_count in {ixgbe,ixv}_init_locked(). Without this, interrupt mask state and EIMS may mismatch and if_init doesn't

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

2018-05-23 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed May 23 10:11:08 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h ixv.c Log Message: Add "bool txr_no_space" for TX descriptor shortage. Use it like IFF_OACTIVE. To generate a diff of this commit:

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

2018-05-23 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed May 23 10:11:08 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h ixv.c Log Message: Add "bool txr_no_space" for TX descriptor shortage. Use it like IFF_OACTIVE. To generate a diff of this commit:

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

2018-05-22 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed May 23 04:45:24 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c Log Message: Don't check IFF_RUNNING in ixgbe_rxeof(). Doing break and leaving a deacriptor with DD bit is worse than just processing the entry. And

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

2018-05-22 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed May 23 04:45:24 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c Log Message: Don't check IFF_RUNNING in ixgbe_rxeof(). Doing break and leaving a deacriptor with DD bit is worse than just processing the entry. And

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

2018-05-22 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed May 23 04:37:13 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Add rxd_nxck (Receive Descriptor next to check) read only sysctl. To generate a diff of this commit: cvs rdiff -u -r1.153 -r1.154

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

2018-05-22 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed May 23 04:37:13 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Add rxd_nxck (Receive Descriptor next to check) read only sysctl. To generate a diff of this commit: cvs rdiff -u -r1.153 -r1.154

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

2018-05-18 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri May 18 10:09:02 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h ixv.c Log Message: Revert new watchdog timer commits. The new watchdog timer made stability worse than before. It seems unknown

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

2018-05-18 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri May 18 10:09:02 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h ixv.c Log Message: Revert new watchdog timer commits. The new watchdog timer made stability worse than before. It seems unknown

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

2018-05-16 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed May 16 08:08:24 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c Log Message: Whitespace fix. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/dev/pci/ixgbe/ix_txrx.c

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

2018-05-16 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed May 16 08:08:24 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c Log Message: Whitespace fix. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/dev/pci/ixgbe/ix_txrx.c

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

2018-05-16 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed May 16 07:51:17 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c Log Message: Fix a problem that the watchdog timer sometimes mistakenly fires. Restore TX sending check in the end of ixgbe_txeof which was wrongly

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

2018-05-16 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed May 16 07:51:17 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c Log Message: Fix a problem that the watchdog timer sometimes mistakenly fires. Restore TX sending check in the end of ixgbe_txeof which was wrongly

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

2018-05-15 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue May 15 09:30:56 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: The TQSMR register is not for receiving but for transmitting, so move the initialization from ixgbe_initialize_receive_units() to

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

2018-05-15 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue May 15 09:30:56 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: The TQSMR register is not for receiving but for transmitting, so move the initialization from ixgbe_initialize_receive_units() to

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

2018-05-14 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon May 14 09:21:36 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: Fix panic or hangup when "sysctl -w hw.ixgN.debug=1". XXX pullup-8 To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97

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

2018-05-14 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon May 14 09:21:36 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: Fix panic or hangup when "sysctl -w hw.ixgN.debug=1". XXX pullup-8 To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97

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

2018-05-09 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu May 10 03:15:28 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Count some register correctly: - QPRDC register is only for 82599 and newer. - Count IXGBE_QPRDC, PX{ON,OFF}{T,R}XC[NT]. To generate a

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

2018-05-09 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu May 10 03:15:28 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Count some register correctly: - QPRDC register is only for 82599 and newer. - Count IXGBE_QPRDC, PX{ON,OFF}{T,R}XC[NT]. To generate a

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

2018-05-08 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue May 8 09:45:54 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h ixv.c Log Message: - Fix broken watchdog timer. This change detects TX device timeout correctly. NOTE: It's supporsed not to be

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

2018-05-08 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue May 8 09:45:54 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h ixv.c Log Message: - Fix broken watchdog timer. This change detects TX device timeout correctly. NOTE: It's supporsed not to be

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

2018-05-07 Thread Masanobu SAITOH
On 2018/05/07 16:56, Masanobu SAITOH wrote: Hi. On 2018/05/03 17:38, Frank Kardel wrote: Hi, I am now seeing that packet reception stops. tcpdump will only show outgoing packets and no incoming packets. ifconfig ixgX down ifconfig ixgX up gets things going again. Code from 2018-02-24 was

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

2018-05-07 Thread Masanobu SAITOH
Hi. On 2018/05/03 17:38, Frank Kardel wrote: Hi, I am now seeing that packet reception stops. tcpdump will only show outgoing packets and no incoming packets. ifconfig ixgX down ifconfig ixgX up gets things going again. Code from 2018-02-24 was fine and I think even code shortly before

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

2018-05-03 Thread Frank Kardel
Hi, I am now seeing that packet reception stops. tcpdump will only show outgoing packets and no incoming packets. ifconfig ixgX down ifconfig ixgX up gets things going again. Code from 2018-02-24 was fine and I think even code shortly before this commit was fine, but there was the mbuf

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

2018-05-03 Thread Frank Kardel
Hi, I am now seeing that packet reception stops. tcpdump will only show outgoing packets and no incoming packets. ifconfig ixgX down ifconfig ixgX up gets things going again. Code from 2018-02-24 was fine and I think even code shortly before this commit was fine, but there was the mbuf

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

2018-04-25 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Apr 25 08:46:19 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.h ixgbe_netbsd.c ixgbe_netbsd.h ixgbe_osdep.h Log Message: Don't free and reallocate bus_dmamem when it's not required. Currently,

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

2018-04-25 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Apr 25 08:46:19 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.h ixgbe_netbsd.c ixgbe_netbsd.h ixgbe_osdep.h Log Message: Don't free and reallocate bus_dmamem when it's not required. Currently,

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

2018-04-19 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Apr 19 07:40:12 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Use ixgbe_eitr_write() when writing the EITR for the link interrupt like queue's EITR to write the register safely. This change is

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

2018-04-19 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Apr 19 07:40:12 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Use ixgbe_eitr_write() when writing the EITR for the link interrupt like queue's EITR to write the register safely. This change is

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

2018-04-19 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Apr 19 06:04:31 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.h Log Message: Remove unused IXGBE_FC_HI and IXGBE_FC_LO. The watermark of the flow control is automatically calculated from the size of the packet

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

2018-04-19 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Apr 19 06:04:31 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.h Log Message: Remove unused IXGBE_FC_HI and IXGBE_FC_LO. The watermark of the flow control is automatically calculated from the size of the packet

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

2018-04-17 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Apr 17 08:38:05 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h ixv.c Log Message: Remove unused structure entries. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.39

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

2018-04-17 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Apr 17 08:38:05 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h ixv.c Log Message: Remove unused structure entries. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.39

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

2018-04-16 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Tue Apr 17 05:23:58 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe.h Log Message: Fix panic when "sysctl -w hw.ixg0.txrx_workqueue=[01]" while there is traffic. The operation is not supported, however causing

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

2018-04-16 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Tue Apr 17 05:23:58 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe.h Log Message: Fix panic when "sysctl -w hw.ixg0.txrx_workqueue=[01]" while there is traffic. The operation is not supported, however causing

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

2018-04-12 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Apr 12 08:03:55 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Read sc_if_flags after taking core lock. Same as if_wm.c rev. 1.418. To generate a diff of this commit: cvs rdiff -u -r1.145

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

2018-04-12 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Apr 12 08:03:55 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Read sc_if_flags after taking core lock. Same as if_wm.c rev. 1.418. To generate a diff of this commit: cvs rdiff -u -r1.145

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

2018-04-04 Thread Masanobu SAITOH
On 2018/04/04 17:13, SAITOH Masanobu wrote: Module Name:src Committed By: msaitoh Date: Wed Apr 4 08:13:07 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: if_bypass.c if_fdir.c if_sriov.c ix_txrx.c ixgbe.c ixgbe.h ixgbe_82598.c ixgbe_82598.h ixgbe_82599.c

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

2018-04-04 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Apr 4 08:59:22 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe_82598.c ixgbe_82599.c ixgbe_api.c ixgbe_common.c ixgbe_common.h ixgbe_dcb.c ixgbe_dcb_82598.c ixgbe_dcb_82599.c ixgbe_phy.c

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

2018-04-04 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Apr 4 08:59:22 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe_82598.c ixgbe_82599.c ixgbe_api.c ixgbe_common.c ixgbe_common.h ixgbe_dcb.c ixgbe_dcb_82598.c ixgbe_dcb_82599.c ixgbe_phy.c

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

2018-04-04 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Apr 4 08:13:07 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: if_bypass.c if_fdir.c if_sriov.c ix_txrx.c ixgbe.c ixgbe.h ixgbe_82598.c ixgbe_82598.h ixgbe_82599.c ixgbe_82599.h ixgbe_api.c

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

2018-04-04 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Apr 4 08:13:07 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: if_bypass.c if_fdir.c if_sriov.c ix_txrx.c ixgbe.c ixgbe.h ixgbe_82598.c ixgbe_82598.h ixgbe_82599.c ixgbe_82599.h ixgbe_api.c

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

2018-04-04 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Apr 4 06:30:09 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe_x550.c Log Message: Fix a bug that "ifconfig ixgN down up" forgot IFM_NONE setting. - Don't assume autoneg == 0 is the first call of

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

2018-04-04 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Apr 4 06:30:09 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe_x550.c Log Message: Fix a bug that "ifconfig ixgN down up" forgot IFM_NONE setting. - Don't assume autoneg == 0 is the first call of

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

2018-04-02 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Apr 2 10:51:35 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Fix long standing bug that 82598 SFP+ panics in ixgbe_handle_mod() because hw->mac.ops.setup_sfp is NULL. This change is a part of FreeBSD

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

2018-04-02 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Apr 2 10:51:35 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Fix long standing bug that 82598 SFP+ panics in ixgbe_handle_mod() because hw->mac.ops.setup_sfp is NULL. This change is a part of FreeBSD

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

2018-04-01 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Apr 2 05:02:55 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h Log Message: Avoid issues caused by sending old packets at next link-up time. This modification consists by the following two

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

2018-04-01 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Apr 2 05:02:55 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h Log Message: Avoid issues caused by sending old packets at next link-up time. This modification consists by the following two

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

2018-03-30 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Mar 30 06:44:30 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe_82599.c ixgbe_common.c ixgbe_common.h ixgbe_x550.c ixgbe_x550.h Log Message: - Add missing IFM_NONE support. If a interface support

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

2018-03-30 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Mar 30 06:44:30 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe_82599.c ixgbe_common.c ixgbe_common.h ixgbe_x550.c ixgbe_x550.h Log Message: - Add missing IFM_NONE support. If a interface support

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

2018-03-29 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Mar 30 03:58:20 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h ixgbe_api.h ixgbe_common.c ixv.c Log Message: Don't write EIMC directly. It is required to manage with struct ix_queue

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

2018-03-29 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Mar 30 03:58:20 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h ixgbe_api.h ixgbe_common.c ixv.c Log Message: Don't write EIMC directly. It is required to manage with struct ix_queue

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

2018-03-29 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Mar 30 03:56:38 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe.h Log Message: Fix the problem between eitr and link_speed. In ixgbe_msix_que(), que->eitr_setting is limited to IXGBE_MIN_RSC_EITR_10G1G when

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

2018-03-29 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Mar 30 03:56:38 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe.h Log Message: Fix the problem between eitr and link_speed. In ixgbe_msix_que(), que->eitr_setting is limited to IXGBE_MIN_RSC_EITR_10G1G when

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

2018-03-26 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Mar 26 06:40:28 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe.h Log Message: - Add link related softint's counter. - Fix indent. To generate a diff of this commit: cvs rdiff -u -r1.136 -r1.137

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

2018-03-26 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Mar 26 06:40:28 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe.h Log Message: - Add link related softint's counter. - Fix indent. To generate a diff of this commit: cvs rdiff -u -r1.136 -r1.137

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

2018-03-20 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Tue Mar 20 09:50:33 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: Fix race about writing adapter->link_active for ixv(4). adapter->link_active is updated by ixv_update_link_status() only. The function is

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

2018-03-20 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Tue Mar 20 09:50:33 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: Fix race about writing adapter->link_active for ixv(4). adapter->link_active is updated by ixv_update_link_status() only. The function is

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

2018-03-20 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Tue Mar 20 09:46:25 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Fix race about writing adapter->link_active for ixg(4). adapter->link_active is updated by ixgbe_update_link_status() only. The function

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

2018-03-20 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Tue Mar 20 09:46:25 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Fix race about writing adapter->link_active for ixg(4). adapter->link_active is updated by ixgbe_update_link_status() only. The function

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

2018-03-16 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Mar 16 07:54:08 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe_common.c ixgbe_x550.c Log Message: - Check offset correctly in ixgbe_get_oem_prod_version(). Note that this function is not used. - Set PHY correctly in

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

2018-03-16 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Mar 16 07:54:08 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe_common.c ixgbe_x550.c Log Message: - Check offset correctly in ixgbe_get_oem_prod_version(). Note that this function is not used. - Set PHY correctly in

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

2018-03-15 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Mar 15 06:48:51 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: if_bypass.c if_sriov.c ix_txrx.c ixgbe.c ixgbe.h ixgbe_common.c ixgbe_common.h ixgbe_osdep.c ixgbe_osdep.h ixgbe_phy.c ixgbe_sriov.h

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

2018-03-15 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Mar 15 06:48:51 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: if_bypass.c if_sriov.c ix_txrx.c ixgbe.c ixgbe.h ixgbe_common.c ixgbe_common.h ixgbe_osdep.c ixgbe_osdep.h ixgbe_phy.c ixgbe_sriov.h

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

2018-03-08 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Mar 9 06:27:54 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h ixv.c Log Message: Make some event counters MP safe. Now all of the event counters are MP safe. To generate a diff of this commit:

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

2018-03-08 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Mar 9 06:27:54 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h ixv.c Log Message: Make some event counters MP safe. Now all of the event counters are MP safe. To generate a diff of this commit:

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

2018-03-07 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Mar 8 02:41:27 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Reduce duplicated code which schedule deferred packet processing. No functional change. To generate a diff of this commit: cvs rdiff

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

2018-03-07 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Mar 8 02:41:27 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Reduce duplicated code which schedule deferred packet processing. No functional change. To generate a diff of this commit: cvs rdiff

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

2018-03-07 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Mar 8 02:39:42 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Fix INTx/MSI handler did not schedule workqueue. Pointed out by msaitoh@n.o. To generate a diff of this commit: cvs rdiff -u -r1.131

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

2018-03-07 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Mar 8 02:39:42 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Fix INTx/MSI handler did not schedule workqueue. Pointed out by msaitoh@n.o. To generate a diff of this commit: cvs rdiff -u -r1.131

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

2018-03-07 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Mar 7 11:18:29 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Fix another poll mode assumption breaking. Implemented by msaitoh@n.o, I just commit by proxy. ixgbe_rearm_queues() writes EICS

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

2018-03-07 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Mar 7 11:18:29 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Fix another poll mode assumption breaking. Implemented by msaitoh@n.o, I just commit by proxy. ixgbe_rearm_queues() writes EICS

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

2018-03-07 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Mar 7 08:01:32 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Don't increment que->req.ev_count in MSI-X interrupt because it's not reschedule. To generate a diff of this commit: cvs rdiff -u

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

2018-03-07 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Mar 7 08:01:32 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Don't increment que->req.ev_count in MSI-X interrupt because it's not reschedule. To generate a diff of this commit: cvs rdiff -u

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

2018-03-06 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Mar 7 03:29:10 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe.h ixv.c Log Message: - Make "Handled queue in softint" and "Requeued in softint" evcnt(9) per queue and count them correctly. - Remove #if 0'ed

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

2018-03-06 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Mar 7 03:29:10 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe.h ixv.c Log Message: - Make "Handled queue in softint" and "Requeued in softint" evcnt(9) per queue and count them correctly. - Remove #if 0'ed

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

2018-03-05 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Mar 6 03:47:23 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.h Log Message: Move the location of "struct work" as FreeBSD's "struct task" in ixgbe.h. No functional change. To generate a diff of this commit: cvs

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

2018-03-05 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Mar 6 03:47:23 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.h Log Message: Move the location of "struct work" as FreeBSD's "struct task" in ixgbe.h. No functional change. To generate a diff of this commit: cvs

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

2018-03-02 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Mar 2 10:21:01 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: ixv(4) also supports workqueue poll mode, but not enabled by default yet, either. ok by msaitoh@n.o. To generate a diff of this commit:

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

2018-03-02 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Mar 2 10:21:01 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: ixv(4) also supports workqueue poll mode, but not enabled by default yet, either. ok by msaitoh@n.o. To generate a diff of this commit:

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

2018-03-02 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Mar 2 10:19:20 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h Log Message: ixg(4) supports workqueue poll mode, but not enabled by default yet. (that is, the default behavior is *not* changed)

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

2018-03-02 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Mar 2 10:19:20 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h Log Message: ixg(4) supports workqueue poll mode, but not enabled by default yet. (that is, the default behavior is *not* changed)

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

2018-02-26 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Feb 27 04:58:27 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: Add hw.ixvM.q[01].{interrupt_rate,[tr]xd_head,[tr]xd_tail} sysctls as ixg(4). To generate a diff of this commit: cvs rdiff -u -r1.82

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

2018-02-26 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Feb 27 04:58:27 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: Add hw.ixvM.q[01].{interrupt_rate,[tr]xd_head,[tr]xd_tail} sysctls as ixg(4). To generate a diff of this commit: cvs rdiff -u -r1.82

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

2018-02-26 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Feb 26 08:14:01 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: Apply ixgbe.c:r1.127 to ixv.c. Pointed out by msaitoh@n.o. To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82

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

2018-02-26 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Feb 26 08:14:01 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: Apply ixgbe.c:r1.127 to ixv.c. Pointed out by msaitoh@n.o. To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82

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

2018-02-25 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Feb 26 04:19:00 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h Log Message: Fix poll mode assumption breaking. ixgbe_{enable,disable}_intr() forcibly enable/disable all interrupts regardless of

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

2018-02-25 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Feb 26 04:19:00 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h Log Message: Fix poll mode assumption breaking. ixgbe_{enable,disable}_intr() forcibly enable/disable all interrupts regardless of

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

2018-02-22 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Feb 22 10:02:08 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h ixv.c Log Message: Fix a potential bug that TX/RX might stall when TX rate limit reached. This change is almost the same as the RX

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

2018-02-22 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Feb 22 10:02:08 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h ixv.c Log Message: Fix a potential bug that TX/RX might stall when TX rate limit reached. This change is almost the same as the RX

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

2018-02-22 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Feb 22 08:49:42 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: - Apply ixgbe.c rev. 1.124 to ixv.c. Fix a bug that RX may stall on heavy load on ixv(4) derived from FreeBSD's AIM (Auto Interrupt

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