sfxge: IPv4 Tx checksum offload may be disabled in fact
Split IFCAP_HWCSUM to IFCAP_RXCSUM and IFCAP_TXCSUM to highlight Tx and Rx. Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D2541
This commit is contained in:
parent
588644a4b6
commit
b2b5a4c060
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=282900
@ -59,12 +59,12 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include "sfxge_rx.h"
|
#include "sfxge_rx.h"
|
||||||
#include "sfxge_version.h"
|
#include "sfxge_version.h"
|
||||||
|
|
||||||
#define SFXGE_CAP (IFCAP_VLAN_MTU | \
|
#define SFXGE_CAP (IFCAP_VLAN_MTU | IFCAP_VLAN_HWCSUM | \
|
||||||
IFCAP_HWCSUM | IFCAP_VLAN_HWCSUM | IFCAP_TSO | \
|
IFCAP_RXCSUM | IFCAP_TXCSUM | IFCAP_TSO | \
|
||||||
IFCAP_JUMBO_MTU | IFCAP_LRO | \
|
IFCAP_JUMBO_MTU | IFCAP_LRO | \
|
||||||
IFCAP_VLAN_HWTSO | IFCAP_LINKSTATE | IFCAP_HWSTATS)
|
IFCAP_VLAN_HWTSO | IFCAP_LINKSTATE | IFCAP_HWSTATS)
|
||||||
#define SFXGE_CAP_ENABLE SFXGE_CAP
|
#define SFXGE_CAP_ENABLE SFXGE_CAP
|
||||||
#define SFXGE_CAP_FIXED (IFCAP_VLAN_MTU | IFCAP_HWCSUM | IFCAP_VLAN_HWCSUM | \
|
#define SFXGE_CAP_FIXED (IFCAP_VLAN_MTU | IFCAP_RXCSUM | IFCAP_VLAN_HWCSUM | \
|
||||||
IFCAP_JUMBO_MTU | IFCAP_LINKSTATE | IFCAP_HWSTATS)
|
IFCAP_JUMBO_MTU | IFCAP_LINKSTATE | IFCAP_HWSTATS)
|
||||||
|
|
||||||
MALLOC_DEFINE(M_SFXGE, "sfxge", "Solarflare 10GigE driver");
|
MALLOC_DEFINE(M_SFXGE, "sfxge", "Solarflare 10GigE driver");
|
||||||
|
Loading…
Reference in New Issue
Block a user