aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/lapbether.c
diff options
context:
space:
mode:
authorOng Boon Leong <[email protected]>2021-04-01 02:11:13 +0000
committerDavid S. Miller <[email protected]>2021-04-03 21:13:38 +0000
commitd08d32d101938a26e692c7aee0d452fbeec9d3f3 (patch)
tree7c5ffb9872434b9340dd51d9b19ef37732c6cd31 /drivers/net/wan/lapbether.c
parentnet: stmmac: set IRQ affinity hint for multi MSI vectors (diff)
downloadkernel-d08d32d101938a26e692c7aee0d452fbeec9d3f3.tar.gz
kernel-d08d32d101938a26e692c7aee0d452fbeec9d3f3.zip
net: stmmac: make SPH enable/disable to be configurable
SPH functionality splits header and payload according to split mode and offsef fields (SPLM and SPLOFST). It is beneficials for Linux network stack RX processing however it adds a lot of complexity in XDP processing. So, this patch makes the split-header (SPH) capability of the controller is stored in "priv->sph_cap" and the enabling/disabling of SPH is decided by "priv->sph". This is to prepare initial XDP enabling for stmmac to disable the use of SPH whenever XDP is enabled. Signed-off-by: Ong Boon Leong <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/wan/lapbether.c')
0 files changed, 0 insertions, 0 deletions