[PATCH net] fjes: Fix wrong netdevice feature flags

2017-03-14 Thread Taku Izumi
rjection when IP forwarding from Extended Socket network device to other network device. NETIF_F_HW_CSUM should be omitted. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/

[PATCH resend] ethtool: add register dump support for fjes driver

2016-11-15 Thread Taku Izumi
) 0x001F 0x008C: IG(Interrupt generator) 0x0001 0x0090: ICTL (Interrupt control)0x Signed-off-by: Taku Izumi --- Makefile.am | 2 +- ethtool.c | 1 + fjes.c | 89

[PATCH] ethtool: add register dump support for fjes driver

2016-10-17 Thread Taku Izumi
) 0x001F 0x008C: IG(Interrupt generator) 0x0001 0x0090: ICTL (Interrupt control)0x Signed-off-by: Taku Izumi --- Makefile.am | 2 +- ethtool.c | 1 + fjes.c | 89

[PATCH net-next v2 4/6] fjes: ethtool -w and -W support for fjes driver

2016-10-14 Thread Taku Izumi
This patch adds implementation of supporting ethtool -w and -W for fjes driver. You can enable and disable firmware debug mode by using ethtool -W, and also retrieve firmware activity information by using ethtool -w. This is useful for debugging. Signed-off-by: Taku Izumi --- drivers/net/fjes

[PATCH net-next v2 2/6] fjes: Enhance ethtool -S for fjes driver

2016-10-14 Thread Taku Izumi
ep%d_recv_intr_rx ep%d_recv_intr_unshare ep%d_recv_intr_stop ep%d_recv_intr_zoneupdate ep%d_tx_buffer_full ep%d_tx_dropped_not_shared ep%d_tx_dropped_ver_mismatch ep%d_tx_dropped_buf_size_mismatch ep%d_tx_dropped_vlanid_mismatch Signed-off-by: Taku

[PATCH net-next v2 6/6] fjes: Update fjes driver version : 1.2

2016-10-14 Thread Taku Izumi
Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c index 359e7a5..f36eb4a 100644 --- a/drivers/net/fjes/fjes_main.c +++ b/drivers/net/fjes/fjes_main.c @@ -30,7

[PATCH net-next v2 5/6] fjes: Add debugfs entry for EP status information in fjes driver

2016-10-14 Thread Taku Izumi
Y ep1 --- ep2 unshared NN ep3 unshared NN ep4 unshared NN ep5 unshared NN ep6 unshared NN ep7 unshared NN Signed-off-by:

[PATCH net-next v2 3/6] fjes: Add tracepoints in fjes driver

2016-10-14 Thread Taku Izumi
This patch adds tracepoints in fjes driver. This is useful for debugging purpose. Signed-off-by: Taku Izumi --- drivers/net/fjes/Makefile | 2 +- drivers/net/fjes/fjes_hw.c| 25 +++- drivers/net/fjes/fjes_main.c | 5 + drivers/net/fjes/fjes_trace.c | 30 drivers/net/fjes

[PATCH net-next v2 1/6] fjes: ethtool -d support for fjes driver

2016-10-14 Thread Taku Izumi
0x0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0080: 00 00 00 00 00 00 e0 7f 00 00 01 00 00 00 01 00 0x0090: 00 00 00 00 Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_ethtool.c | 48

[PATCH net-next v2 0/6] FUJITSU Extended Socket driver version 1.2

2016-10-14 Thread Taku Izumi
as TP_STRUCT__entry - Use ethtool facility to achieve debug mode instead of using debugfs Taku Izumi (6): fjes: ethtool -d support for fjes driver fjes: Enhance ethtool -S for fjes driver fjes: Add tracepoints in fjes driver fjes: ethtool -w and -W support for fjes driver fjes: Add debu

[PATCH net-next 0/6] FUJITSU Extended Socket driver version 1.2

2016-10-11 Thread Taku Izumi
From: Taku This patchset updates FUJITSU Extended Socket network driver into version 1.2. This includes the following enhancements: - ethtool -d support - ethtool -S enhancement - Add some debugging feature (tracepoints etc) Taku Izumi (6): fjes: ethtool -d support for fjes driver

[PATCH 1/6] fjes: ethtool -d support for fjes driver

2016-10-11 Thread Taku Izumi
0x0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0080: 00 00 00 00 00 00 e0 7f 00 00 01 00 00 00 01 00 0x0090: 00 00 00 00 Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_ethtool.c | 48

[PATCH 3/6] fjes: Add tracepoints in fjes driver

2016-10-11 Thread Taku Izumi
This patch adds tracepoints in fjes driver. This is useful for debugging purpose. Signed-off-by: Taku Izumi --- drivers/net/fjes/Makefile | 2 +- drivers/net/fjes/fjes_hw.c| 25 +++- drivers/net/fjes/fjes_main.c | 5 + drivers/net/fjes/fjes_trace.c | 30 drivers/net/fjes

[PATCH 4/6] fjes: Implement debug mode for fjes driver

2016-10-11 Thread Taku Izumi
ble debug mode, write 0 to debug_mode file in debugfs: # echo 0 > /sys/kernel/debug/fjes/fjes.0/debug_mode Firmware activity information can be retrieved via /sys/kernel/debug/fjes/fjes.0/debug_data file. Signed-off-by: Taku Izumi --- drivers/net/fjes/Makefile | 2 +- drivers/ne

[PATCH 2/6] fjes: Enhance ethtool -S for fjes driver

2016-10-11 Thread Taku Izumi
ep%d_recv_intr_rx ep%d_recv_intr_unshare ep%d_recv_intr_stop ep%d_recv_intr_zoneupdate ep%d_tx_buffer_full ep%d_tx_dropped_not_shared ep%d_tx_dropped_ver_mismatch ep%d_tx_dropped_buf_size_mismatch ep%d_tx_dropped_vlanid_mismatch Signed-off-by: Taku

[PATCH 5/6] fjes: Add debugfs entry for EP status information in fjes driver

2016-10-11 Thread Taku Izumi
Y ep1 --- ep2 unshared NN ep3 unshared NN ep4 unshared NN ep5 unshared NN ep6 unshared NN ep7 unshared NN Signed-off-by:

[PATCH 6/6] fjes: Update fjes driver version : 1.2

2016-10-11 Thread Taku Izumi
From: Taku Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c index 359e7a5..f36eb4a 100644 --- a/drivers/net/fjes/fjes_main.c +++ b/drivers/net/fjes

[PATCH net-next] fjes: Fix unnecessary spinlock_irqsave

2016-05-09 Thread Taku Izumi
commit-bd5a256 introduces a deadlock bug in fjes_change_mtu(). This spin_lock_irqsave() is obviously unnecessary. This patch eliminates unnecessary spin_lock_irqsave() in fjes_change_mtu() Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 1 - 1 file changed, 1 deletion(-) diff

[PATCH net-next v2 6/6] fjes: Update fjes driver version : 1.1

2016-04-14 Thread Taku Izumi
Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c index 87b2474..bb7e903 100644 --- a/drivers/net/fjes/fjes_main.c +++ b/drivers/net/fjes/fjes_main.c @@ -29,7

[PATCH net-next v2 3/6] fjes: fix bitwise check bug in fjes_raise_intr_rxdata_task

2016-04-14 Thread Taku Izumi
In fjes_raise_intr_rxdata_task(), there's a bug of bitwise check because of missing "& FJES_RX_POLL_WORK". This patch fixes this bug. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net

[PATCH net-next v2 5/6] fjes: Introduce spinlock for rx_status

2016-04-14 Thread Taku Izumi
This patch introduces spinlock of rx_status for proper excusive control. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 22 - drivers/net/fjes/fjes_hw.h | 2 ++ drivers/net/fjes/fjes_main.c | 57 +--- 3 files changed, 72

[PATCH net-next v2 4/6] fjes: Enhance changing MTU related work

2016-04-14 Thread Taku Izumi
This patch enhances the fjes_change_mtu() method by introducing new flag named FJES_RX_MTU_CHANGING_DONE in rx_status. At the same time, default MTU value is changed into 65510 bytes. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 8 +- drivers/net/fjes/fjes_hw.h | 1

[PATCH net-next v2 1/6] fjes: optimize timeout value

2016-04-14 Thread Taku Izumi
This patch optimizes the following timeout value. - FJES_DEVICE_RESET_TIMEOUT - FJES_COMMAND_REQ_TIMEOUT - FJES_COMMAND_REQ_BUFF_TIMEOUT Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/fjes

[PATCH net-next v2 2/6] fjes: fix incorrect statistics information in fjes_xmit_frame()

2016-04-14 Thread Taku Izumi
There are bugs of acounting statistics in fjes_xmit_frame(). Accounting self stats is wrong. accounting stats of other EPs to be transmitted is right. This patch fixes this bug. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 14 +++--- 1 file changed, 7 insertions(+), 7

[PATCH net-next v2 0/6] FUJITSU Extended Socket driver version 1.1

2016-04-14 Thread Taku Izumi
This patchsets update FUJITSU Extended Socket network driver into version 1.1. This mainly includes some improvements and minor bugfix. v1->v2: - Remove ioctl and debugfs facility according to David comment Taku Izumi (6): fjes: optimize timeout value fjes: fix incorrect statist

[PATCH net-next 09/11] fjes: Enhance changing MTU related work

2016-04-11 Thread Taku Izumi
This patch enhances the fjes_change_mtu() method by introducing new flag named FJES_RX_MTU_CHANGING_DONE in rx_status. At the same time, default MTU value is changed into 65510 bytes. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 8 +- drivers/net/fjes/fjes_hw.h | 1

[PATCH net-next 03/11] fjes: Add debugs facility for fjes module

2016-04-11 Thread Taku Izumi
This patch introduces debugfs facility for fjes module. You can get EP status information by reading /sys/kernel/debug/fjes/fjes.N/status file. This is useful for debugging. Signed-off-by: Taku Izumi --- drivers/net/fjes/Makefile | 2 +- drivers/net/fjes/fjes.h | 16

[PATCH net-next 01/11] fjes: Add trace-gathering facility

2016-04-11 Thread Taku Izumi
This patch introduces trace-gathering facility via ioctl. This data is useful for debugging this module and firmware. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c| 140 ++ drivers/net/fjes/fjes_hw.h| 16 drivers/net/fjes/fjes_ioctl.h

[PATCH net-next 05/11] fjes: show EP stats at statistics file in debugfs

2016-04-11 Thread Taku Izumi
This patch enriches information in /sys/kernel/debug/fjes/fjes.N/statistics file. By applying this patch, each EP's stats information are displayed in this file. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_debugfs.c | 27 drivers/net/fjes/fjes_hw.c

[PATCH net-next 10/11] fjes: Introduce spinlock for rx_status

2016-04-11 Thread Taku Izumi
This patch introduces spinlock of rx_status for proper excusive control. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 22 - drivers/net/fjes/fjes_hw.h | 2 ++ drivers/net/fjes/fjes_main.c | 57 +--- 3 files changed, 72

[PATCH net-next 11/11] fjes: Update fjes driver version : 1.1

2016-04-11 Thread Taku Izumi
Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c index 22bd175..bfd58cc 100644 --- a/drivers/net/fjes/fjes_main.c +++ b/drivers/net/fjes/fjes_main.c @@ -30,7

[PATCH net-next 06/11] fjes: optimize timeout value

2016-04-11 Thread Taku Izumi
This patch optimizes the following timeout value. - FJES_DEVICE_RESET_TIMEOUT - FJES_COMMAND_REQ_TIMEOUT - FJES_COMMAND_REQ_BUFF_TIMEOUT Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/fjes

[PATCH net-next 00/11] FUJITSU Extended Socket driver version 1.1

2016-04-11 Thread Taku Izumi
This patchsets update FUJITSU Extended Socket network driver into version 1.1. This mainly includes debugging feature and some minor bugfix. Taku Izumi (11): fjes: Add trace-gathering facility fjes: Add setting/getting register value feature via ioctl fjes: Add debugs facility for fjes

[PATCH net-next 07/11] fjes: fix incorrect statistics information in fjes_xmit_frame()

2016-04-11 Thread Taku Izumi
There are bugs of acounting statistics in fjes_xmit_frame(). Accounting self stats is wrong. accounting stats of other EPs to be transmitted is right. This patch fixes this bug. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 14 +++--- 1 file changed, 7 insertions(+), 7

[PATCH net-next 02/11] fjes: Add setting/getting register value feature via ioctl

2016-04-11 Thread Taku Izumi
This patch introduces setting/getting register value feature via ioctl. This feature is useful for debugging. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_ioctl.h | 7 +++ drivers/net/fjes/fjes_main.c | 39 +++ 2 files changed, 46 insertions

[PATCH net-next 04/11] fjes: Add debugfs entry for statistics

2016-04-11 Thread Taku Izumi
This patch introduces debugfs entry named "statistics" for statistics information. You can get net_stats information by reading /sys/kernel/debug/fjes/fjes.N/statistics file. This is useful for debugging. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_debu

[PATCH net-next 08/11] fjes: fix bitwise check bug in fjes_raise_intr_rxdata_task

2016-04-11 Thread Taku Izumi
In fjes_raise_intr_rxdata_task(), there's a bug of bitwise check because of missing "& FJES_RX_POLL_WORK". This patch fixes this bug. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net

[PATCH net] fjes: fix off-by-one error at fjes_hw_update_zone_task()

2015-09-16 Thread Taku Izumi
Dan Carpenter reported off-by-one error of fjes at http://www.mail-archive.com/netdev@vger.kernel.org/msg77520.html Actually this is a bug. ep_shm_info[epidx].{es_status, zone} should be update inside for loop. This patch fixes this bug. Reported-by: Dan Carpenter Signed-off-by: Taku Izumi

[PATCH v3 11/22] fjes: NAPI polling function

2015-08-21 Thread Taku Izumi
This patch adds NAPI polling function and receive related work. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 40 ++ drivers/net/fjes/fjes_hw.h | 5 ++ drivers/net/fjes/fjes_main.c | 171 ++- 3 files changed, 214 insertions

[PATCH v3 13/22] fjes: net_device_ops.ndo_change_mtu

2015-08-21 Thread Taku Izumi
This patch adds net_device_ops.ndo_change_mtu. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c index 20feb3e..519976c 100644 --- a/drivers

[PATCH v3 10/22] fjes: tx_stall_task

2015-08-21 Thread Taku Izumi
This patch adds tx_stall_task. When receiver's buffer is full, sender stops its tx queue. This task is used to monitor receiver's status and when receiver's buffer is avairable, it resumes tx queue. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 2 ++ drivers/net/f

[PATCH v3 03/22] fjes: Hardware cleanup routine

2015-08-21 Thread Taku Izumi
This patch adds hardware cleanup routine to be invoked at driver's .remove routine. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 66 ++ drivers/net/fjes/fjes_hw.h | 1 + 2 files changed, 67 insertions(+) diff --git a/drivers/net

[PATCH v3 12/22] fjes: net_device_ops.ndo_get_stats64

2015-08-21 Thread Taku Izumi
This patch adds net_device_ops.ndo_get_stats64 callback. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c index 6194962..20feb3e 100644 --- a/drivers/net/fjes

[PATCH v3 04/22] fjes: platform_driver's .probe and .remove routine

2015-08-21 Thread Taku Izumi
This patch implements platform_driver's .probe and .remove routine, and also adds board specific private data structure. This driver registers net_device at platform_driver's .probe routine and unregisters net_device at its .remove routine. Signed-off-by: Taku Izumi --- drivers/net/f

[PATCH v3 07/22] fjes: net_device_ops.ndo_open and .ndo_stop

2015-08-21 Thread Taku Izumi
This patch adds net_device_ops.ndo_open and .ndo_stop callback. These function is called when network device activation and deactivation. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 1 + drivers/net/fjes/fjes_hw.c | 145 + drivers/net/fjes/fjes_hw.h

[PATCH v3 15/22] fjes: net_device_ops.ndo_vlan_rx_add/kill_vid

2015-08-21 Thread Taku Izumi
This patch adds net_device_ops.ndo_vlan_rx_add_vid and net_device_ops.ndo_vlan_rx_kill_vid callback. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 27 +++ drivers/net/fjes/fjes_hw.h | 2 ++ drivers/net/fjes/fjes_main.c | 40

[PATCH v3 14/22] fjes: net_device_ops.ndo_tx_timeout

2015-08-21 Thread Taku Izumi
This patch adds net_device_ops.ndo_tx_timeout callback. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c index 519976c..94ccc11 100644 --- a/drivers/net/fjes

[PATCH v3 16/22] fjes: interrupt_watch_task

2015-08-21 Thread Taku Izumi
This patch adds interrupt_watch_task. This task is used to prevent delay of interrupts. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 5 + drivers/net/fjes/fjes_main.c | 40 +++- 2 files changed, 44 insertions(+), 1 deletion(-) diff --git

[PATCH v3 20/22] fjes: epstop_task

2015-08-21 Thread Taku Izumi
This patch adds epstop_task. This task is used to process other receiver's cancellation request. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 31 +++ drivers/net/fjes/fjes_hw.h | 1 + drivers/net/fjes/fjes_main.c | 1 + 3 files change

[PATCH v3 18/22] fjes: unshare_watch_task

2015-08-21 Thread Taku Izumi
This patch adds unshare_watch_task. Shared buffer's status can be changed into unshared. This task is used to monitor shared buffer's status. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 3 ++ drivers/net/fjes/fjes_main.c | 126

[PATCH v3 17/22] fjes: force_close_task

2015-08-21 Thread Taku Izumi
This patch adds force_close_task. This task is used to close network device forcibly. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 1 + drivers/net/fjes/fjes_main.c | 13 + 2 files changed, 14 insertions(+) diff --git a/drivers/net/fjes/fjes.h b/drivers/net/fjes

[PATCH v3 21/22] fjes: handle receive cancellation request interrupt

2015-08-21 Thread Taku Izumi
This patch adds implementation of handling IRQ of other receiver's receive cancellation request. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 78 1 file changed, 78 insertions(+) diff --git a/drivers/net/fjes/fjes_main.c b/dr

[PATCH v3 09/22] fjes: raise_intr_rxdata_task

2015-08-21 Thread Taku Izumi
This patch add raise_intr_rxdata_task. Extended Socket Network Device is shared memory based, so someone's transmission denotes other's reception. In order to notify receivers, sender has to raise interruption of receivers. raise_intr_rxdata_task does this work. Signed-off-by:

[PATCH v3 02/22] fjes: Hardware initialization routine

2015-08-21 Thread Taku Izumi
This patch adds hardware initialization routine to be invoked at driver's .probe routine. Signed-off-by: Taku Izumi --- drivers/net/fjes/Makefile| 2 +- drivers/net/fjes/fjes.h | 1 + drivers/net/fjes/fjes_hw.c | 295 +++ drivers/net

[PATCH v3 05/22] fjes: ES information acquisition routine

2015-08-21 Thread Taku Izumi
This patch adds ES information acquisition routine. ES information can be retrieved issuing information request command. ES information includes which receiver is same zone. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 101 +++ drivers/net

[PATCH v3 19/22] fjes: update_zone_task

2015-08-21 Thread Taku Izumi
This patch adds update_zone_task. Zoning information can be changed by user. This task is used to monitor if zoning information is changed or not. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 179 +++ drivers/net/fjes/fjes_hw.h | 1

[PATCH v3 06/22] fjes: buffer address regist/unregistration routine

2015-08-21 Thread Taku Izumi
This patch adds buffer address regist/unregistration routine. This function is mainly invoked when network device's activation (open) and deactivation (close) in order to retist/unregist shared buffer address. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c

[PATCH v3 22/22] fjes: ethtool support

2015-08-21 Thread Taku Izumi
This patch adds implementation for ethtool support. Signed-off-by: Taku Izumi --- drivers/net/fjes/Makefile | 2 +- drivers/net/fjes/fjes.h | 2 + drivers/net/fjes/fjes_ethtool.c | 137 drivers/net/fjes/fjes_main.c| 1 + 4 files

[PATCH v3 08/22] fjes: net_device_ops.ndo_start_xmit

2015-08-21 Thread Taku Izumi
This patch adds net_device_ops.ndo_start_xmit callback, which is called when sending packets. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 1 + drivers/net/fjes/fjes_hw.c | 55 ++ drivers/net/fjes/fjes_hw.h | 12 +++ drivers/net/fjes/fjes_main.c | 177

[PATCH v3 01/22] fjes: Introduce FUJITSU Extended Socket Network Device driver

2015-08-21 Thread Taku Izumi
This patch adds the basic code of FUJITSU Extended Socket Network Device driver. When "PNP0C02" is found in ACPI DSDT, it evaluates "_STR" to check if "PNP0C02" is for Extended Socket device driver and retrieves ACPI resource information. Then creates platform_devi

[PATCH v3 00/22] FUJITSU Extended Socket network device driver

2015-08-21 Thread Taku Izumi
the following manual. http://globalsp.ts.fujitsu.com/dmsp/Publications/public/CA92344-0537.pdf 3.2.1 Extended Partitioning 3.2.2 Extended Socke v2.2 -> v3: - Fix up according to David's comment (No functional change) Taku Izumi (22): fjes: Introduce FUJITSU Extended Socket

[PATCH v2.2 02/22] fjes: Hardware initialization routine

2015-08-20 Thread Taku Izumi
This patch adds hardware initialization routine to be invoked at driver's .probe routine. Signed-off-by: Taku Izumi --- drivers/net/fjes/Makefile| 2 +- drivers/net/fjes/fjes.h | 2 +- drivers/net/fjes/fjes_hw.c | 296 +++ drivers/net

[PATCH v2.2 07/22] fjes: net_device_ops.ndo_open and .ndo_stop

2015-08-20 Thread Taku Izumi
This patch adds net_device_ops.ndo_open and .ndo_stop callback. These function is called when network device activation and deactivation. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 1 + drivers/net/fjes/fjes_hw.c | 144 + drivers/net/fjes/fjes_hw.h

[PATCH v2.2 05/22] fjes: ES information acquisition routine

2015-08-20 Thread Taku Izumi
This patch adds ES information acquisition routine. ES information can be retrieved issuing information request command. ES information includes which receiver is same zone. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 101 +++ drivers/net

[PATCH v2.2 08/22] fjes: net_device_ops.ndo_start_xmit

2015-08-20 Thread Taku Izumi
This patch adds net_device_ops.ndo_start_xmit callback, which is called when sending packets. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 1 + drivers/net/fjes/fjes_hw.c | 56 ++ drivers/net/fjes/fjes_hw.h | 12 +++ drivers/net/fjes/fjes_main.c | 176

[PATCH v2.2 09/22] fjes: raise_intr_rxdata_task

2015-08-20 Thread Taku Izumi
This patch add raise_intr_rxdata_task. Extended Socket Network Device is shared memory based, so someone's transmission denotes other's reception. In order to notify receivers, sender has to raise interruption of receivers. raise_intr_rxdata_task does this work. Signed-off-by:

[PATCH v2.2 03/22] fjes: Hardware cleanup routine

2015-08-20 Thread Taku Izumi
This patch adds hardware cleanup routine to be invoked at driver's .remove routine. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 66 ++ drivers/net/fjes/fjes_hw.h | 1 + 2 files changed, 67 insertions(+) diff --git a/drivers/net

[PATCH v2.2 04/22] fjes: platform_driver's .probe and .remove routine

2015-08-20 Thread Taku Izumi
This patch implements platform_driver's .probe and .remove routine, and also adds board specific private data structure. This driver registers net_device at platform_driver's .probe routine and unregisters net_device at its .remove routine. Signed-off-by: Taku Izumi --- drivers/net/f

[PATCH v2.2 10/22] fjes: tx_stall_task

2015-08-20 Thread Taku Izumi
This patch adds tx_stall_task. When receiver's buffer is full, sender stops its tx queue. This task is used to monitor receiver's status and when receiver's buffer is avairable, it resumes tx queue. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 2 ++ drivers/net/f

[PATCH v2.2 14/22] fjes: net_device_ops.ndo_tx_timeout

2015-08-20 Thread Taku Izumi
This patch adds net_device_ops.ndo_tx_timeout callback. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c index bb94890..c611c58 100644 --- a/drivers/net/fjes

[PATCH v2.2 12/22] fjes: net_device_ops.ndo_get_stats64

2015-08-20 Thread Taku Izumi
This patch adds net_device_ops.ndo_get_stats64 callback. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c index 186197d..842edbb 100644 --- a/drivers/net/fjes

[PATCH v2.2 11/22] fjes: NAPI polling function

2015-08-20 Thread Taku Izumi
This patch adds NAPI polling function and receive related work. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 40 ++ drivers/net/fjes/fjes_hw.h | 5 ++ drivers/net/fjes/fjes_main.c | 172 ++- 3 files changed, 215 insertions

[PATCH v2.2 15/22] fjes: net_device_ops.ndo_vlan_rx_add/kill_vid

2015-08-20 Thread Taku Izumi
This patch adds net_device_ops.ndo_vlan_rx_add_vid and net_device_ops.ndo_vlan_rx_kill_vid callback. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 27 +++ drivers/net/fjes/fjes_hw.h | 2 ++ drivers/net/fjes/fjes_main.c | 40

[PATCH v2.2 18/22] fjes: unshare_watch_task

2015-08-20 Thread Taku Izumi
This patch adds unshare_watch_task. Shared buffer's status can be changed into unshared. This task is used to monitor shared buffer's status. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 3 ++ drivers/net/fjes/fjes_main.c | 126

[PATCH v2.2 16/22] fjes: interrupt_watch_task

2015-08-20 Thread Taku Izumi
This patch adds interrupt_watch_task. This task is used to prevent delay of interrupts. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 5 + drivers/net/fjes/fjes_main.c | 40 +++- 2 files changed, 44 insertions(+), 1 deletion(-) diff --git

[PATCH v2.2 13/22] fjes: net_device_ops.ndo_change_mtu

2015-08-20 Thread Taku Izumi
This patch adds net_device_ops.ndo_change_mtu. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c index 842edbb..bb94890 100644 --- a/drivers

[PATCH v2.2 17/22] fjes: force_close_task

2015-08-20 Thread Taku Izumi
This patch adds force_close_task. This task is used to close network device forcibly. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 1 + drivers/net/fjes/fjes_main.c | 13 + 2 files changed, 14 insertions(+) diff --git a/drivers/net/fjes/fjes.h b/drivers/net/fjes

[PATCH v2.2 22/22] fjes: ethtool support

2015-08-20 Thread Taku Izumi
This patch adds implementation for ethtool support. Signed-off-by: Taku Izumi --- drivers/net/fjes/Makefile | 2 +- drivers/net/fjes/fjes.h | 2 + drivers/net/fjes/fjes_ethtool.c | 135 drivers/net/fjes/fjes_main.c| 1 + 4 files

[PATCH v2.2 20/22] fjes: epstop_task

2015-08-20 Thread Taku Izumi
This patch adds epstop_task. This task is used to process other receiver's cancellation request. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 30 ++ drivers/net/fjes/fjes_hw.h | 1 + drivers/net/fjes/fjes_main.c | 1 + 3 files change

[PATCH v2.2 06/22] fjes: buffer address regist/unregistration routine

2015-08-20 Thread Taku Izumi
This patch adds buffer address regist/unregistration routine. This function is mainly invoked when network device's activation (open) and deactivation (close) in order to retist/unregist shared buffer address. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c

[PATCH v2.2 01/22] fjes: Introduce FUJITSU Extended Socket Network Device driver

2015-08-20 Thread Taku Izumi
This patch adds the basic code of FUJITSU Extended Socket Network Device driver. When "PNP0C02" is found in ACPI DSDT, it evaluates "_STR" to check if "PNP0C02" is for Extended Socket device driver and retrieves ACPI resource information. Then creates platform_devi

[PATCH v2.2 19/22] fjes: update_zone_task

2015-08-20 Thread Taku Izumi
This patch adds update_zone_task. Zoning information can be changed by user. This task is used to monitor if zoning information is changed or not. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 171 +++ drivers/net/fjes/fjes_hw.h | 1

[PATCH v2.2 21/22] fjes: handle receive cancellation request interrupt

2015-08-20 Thread Taku Izumi
This patch adds implementation of handling IRQ of other receiver's receive cancellation request. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 78 1 file changed, 78 insertions(+) diff --git a/drivers/net/fjes/fjes_main.c b/dr

[PATCH v2.2 00/22] FUJITSU Extended Socket network device driver

2015-08-20 Thread Taku Izumi
the following manual. http://globalsp.ts.fujitsu.com/dmsp/Publications/public/CA92344-0537.pdf 3.2.1 Extended Partitioning 3.2.2 Extended Socke v2.1 -> v2.2: - minor fix patch 21/22 according to Sergei's comment Taku Izumi (22): fjes: Introduce FUJITSU Extended Socket

[PATCH v2.1 05/22] fjes: ES information acquisition routine

2015-07-22 Thread Taku Izumi
This patch adds ES information acquisition routine. ES information can be retrieved issuing information request command. ES information includes which receiver is same zone. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 101 +++ drivers/net

[PATCH v2.1 12/22] fjes: net_device_ops.ndo_get_stats64

2015-07-22 Thread Taku Izumi
This patch adds net_device_ops.ndo_get_stats64 callback. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c index 186197d..842edbb 100644 --- a/drivers/net/fjes

[PATCH v2.1 03/22] fjes: Hardware cleanup routine

2015-07-22 Thread Taku Izumi
This patch adds hardware cleanup routine to be invoked at driver's .remove routine. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 66 ++ drivers/net/fjes/fjes_hw.h | 1 + 2 files changed, 67 insertions(+) diff --git a/drivers/net

[PATCH v2.1 15/22] fjes: net_device_ops.ndo_vlan_rx_add/kill_vid

2015-07-22 Thread Taku Izumi
This patch adds net_device_ops.ndo_vlan_rx_add_vid and net_device_ops.ndo_vlan_rx_kill_vid callback. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 27 +++ drivers/net/fjes/fjes_hw.h | 2 ++ drivers/net/fjes/fjes_main.c | 40

[PATCH v2.1 10/22] fjes: tx_stall_task

2015-07-22 Thread Taku Izumi
This patch adds tx_stall_task. When receiver's buffer is full, sender stops its tx queue. This task is used to monitor receiver's status and when receiver's buffer is avairable, it resumes tx queue. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 2 ++ drivers/net/f

[PATCH v2.1 07/22] fjes: net_device_ops.ndo_open and .ndo_stop

2015-07-22 Thread Taku Izumi
This patch adds net_device_ops.ndo_open and .ndo_stop callback. These function is called when network device activation and deactivation. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 1 + drivers/net/fjes/fjes_hw.c | 144 + drivers/net/fjes/fjes_hw.h

[PATCH v2.1 06/22] fjes: buffer address regist/unregistration routine

2015-07-22 Thread Taku Izumi
This patch adds buffer address regist/unregistration routine. This function is mainly invoked when network device's activation (open) and deactivation (close) in order to retist/unregist shared buffer address. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c

[PATCH v2.1 09/22] fjes: raise_intr_rxdata_task

2015-07-22 Thread Taku Izumi
This patch add raise_intr_rxdata_task. Extended Socket Network Device is shared memory based, so someone's transmission denotes other's reception. In order to notify receivers, sender has to raise interruption of receivers. raise_intr_rxdata_task does this work. Signed-off-by:

[PATCH v2.1 11/22] fjes: NAPI polling function

2015-07-22 Thread Taku Izumi
This patch adds NAPI polling function and receive related work. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 40 ++ drivers/net/fjes/fjes_hw.h | 5 ++ drivers/net/fjes/fjes_main.c | 172 ++- 3 files changed, 215 insertions

[PATCH v2.1 14/22] fjes: net_device_ops.ndo_tx_timeout

2015-07-22 Thread Taku Izumi
This patch adds net_device_ops.ndo_tx_timeout callback. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c index bb94890..c611c58 100644 --- a/drivers/net/fjes

[PATCH v2.1 18/22] fjes: unshare_watch_task

2015-07-22 Thread Taku Izumi
This patch adds unshare_watch_task. Shared buffer's status can be changed into unshared. This task is used to monitor shared buffer's status. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 3 ++ drivers/net/fjes/fjes_main.c | 126

[PATCH v2.1 19/22] fjes: update_zone_task

2015-07-22 Thread Taku Izumi
This patch adds update_zone_task. Zoning information can be changed by user. This task is used to monitor if zoning information is changed or not. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_hw.c | 171 +++ drivers/net/fjes/fjes_hw.h | 1

[PATCH v2.1 21/22] fjes: handle receive cancellation request interrupt

2015-07-22 Thread Taku Izumi
This patch adds implementation of handling IRQ of other receiver's receive cancellation request. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 79 1 file changed, 79 insertions(+) diff --git a/drivers/net/fjes/fjes_main.c b/dr

[PATCH v2.1 17/22] fjes: force_close_task

2015-07-22 Thread Taku Izumi
This patch adds force_close_task. This task is used to close network device forcibly. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes.h | 1 + drivers/net/fjes/fjes_main.c | 13 + 2 files changed, 14 insertions(+) diff --git a/drivers/net/fjes/fjes.h b/drivers/net/fjes

[PATCH v2.1 13/22] fjes: net_device_ops.ndo_change_mtu

2015-07-22 Thread Taku Izumi
This patch adds net_device_ops.ndo_change_mtu. Signed-off-by: Taku Izumi --- drivers/net/fjes/fjes_main.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c index 842edbb..bb94890 100644 --- a/drivers

[PATCH v2.1 02/22] fjes: Hardware initialization routine

2015-07-22 Thread Taku Izumi
This patch adds hardware initialization routine to be invoked at driver's .probe routine. Signed-off-by: Taku Izumi --- drivers/net/fjes/Makefile| 2 +- drivers/net/fjes/fjes.h | 2 +- drivers/net/fjes/fjes_hw.c | 296 +++ drivers/net

  1   2   >