| 3596d7b6 | 16-Jul-2021 |
Guoyang Zhou <[email protected]> |
net/hinic: fix MTU consistency with firmware
The configuration of MTU is inconsistent in the driver and firmware when the port is stopped, started and reconfigured. Before, HINIC_MAX_JUMBO_FRAME_SIZ
net/hinic: fix MTU consistency with firmware
The configuration of MTU is inconsistent in the driver and firmware when the port is stopped, started and reconfigured. Before, HINIC_MAX_JUMBO_FRAME_SIZE include VLAN tag, but when frame and pktlen are converted to each other do not include VLAN tag. And port_mtu_set function will use HINIC_MAX_JUMBO_FRAME_SIZE to calculate eth_overhead, so MTU will be inconsistent in the driver and firmware.
Fixes: e542ab51ab27 ("net/hinic: fix jumbo frame flag condition for MTU set") Cc: [email protected]
Signed-off-by: Guoyang Zhou <[email protected]>
show more ...
|
| c07912fe | 24-Nov-2020 |
Guoyang Zhou <[email protected]> |
net/hinic: remove optical module operation
Remove the operation of optical modules in the link function, because when device binds from dpdk to kernel, it will be linked failed. This function does n
net/hinic: remove optical module operation
Remove the operation of optical modules in the link function, because when device binds from dpdk to kernel, it will be linked failed. This function does not take effect in cable mode, therefore, optimization is required.
Fixes: 54ac33869932 ("net/hinic: set link down and up") Cc: [email protected]
Signed-off-by: Guoyang Zhou <[email protected]>
show more ...
|
| 1e4593db | 04-Nov-2020 |
Guoyang Zhou <[email protected]> |
net/hinic/base: fix log info for PF command channel
When PF command channel is error, the variables in the log has been cleared, which is not printed yet.
Fixes: 214164a6bf7f ("net/hinic/base: remo
net/hinic/base: fix log info for PF command channel
When PF command channel is error, the variables in the log has been cleared, which is not printed yet.
Fixes: 214164a6bf7f ("net/hinic/base: remove unused function parameters") Cc: [email protected]
Signed-off-by: Guoyang Zhou <[email protected]>
show more ...
|
| 9b5f6490 | 14-Sep-2020 |
Xiaoyun Wang <[email protected]> |
net/hinic/base: fix clock definition with glibc version
Sync the repair of patch("fix compile error for old glibc caused by CLOCK_MONOTONIC_RAW") in the community.
Fixes: efeed0894e9c ("net/hinic/b
net/hinic/base: fix clock definition with glibc version
Sync the repair of patch("fix compile error for old glibc caused by CLOCK_MONOTONIC_RAW") in the community.
Fixes: efeed0894e9c ("net/hinic/base: avoid system time jump") Cc: [email protected]
Signed-off-by: Xiaoyun Wang <[email protected]>
show more ...
|
| efeed089 | 25-Jul-2020 |
Xiaoyun Wang <[email protected]> |
net/hinic/base: avoid system time jump
Replace gettimeofday() with clock_gettime(CLOCK_MONOTONIC_RAW, &now), the reason is same with commit d08d304508a8 ("eal/linux: make alarm not affected by syste
net/hinic/base: avoid system time jump
Replace gettimeofday() with clock_gettime(CLOCK_MONOTONIC_RAW, &now), the reason is same with commit d08d304508a8 ("eal/linux: make alarm not affected by system time jump")
Fixes: 81d53291a466 ("net/hinic/base: add various headers") Cc: [email protected]
Signed-off-by: Xiaoyun Wang <[email protected]>
show more ...
|
| 0023e525 | 27-Jun-2020 |
Xiaoyun Wang <[email protected]> |
net/hinic: add TCAM filter switch for flow director
When the filter rule needs to use the TCAM method, driver enables the TCAM filter switch, otherwise disables it, which can improve the performance
net/hinic: add TCAM filter switch for flow director
When the filter rule needs to use the TCAM method, driver enables the TCAM filter switch, otherwise disables it, which can improve the performance of microcode in FDIR scenarios that does not use TCAM method.
Fixes: 1fe89aa37f36 ("net/hinic: add flow director filter") Cc: [email protected]
Signed-off-by: Xiaoyun Wang <[email protected]>
show more ...
|