]> git.baikalelectronics.ru Git - kernel.git/commit
qede: Disable tunnel offloads for non offloaded UDP ports
authorChopra, Manish <Manish.Chopra@cavium.com>
Mon, 24 Apr 2017 17:00:46 +0000 (10:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Apr 2017 15:49:31 +0000 (11:49 -0400)
commitd8c5014e4c6ce0434e145983aa2acd7753b67ea4
treee8d3ddb368cf43962f015fba6ada29e6365b776e
parent32b39680773ecb510ca84f51c1be4cea51f51a7e
qede: Disable tunnel offloads for non offloaded UDP ports

This patch disables tunnel offloads via ndo_features_check()
if given UDP port is not offloaded to hardware. This in turn
allows to run multiple tunnel interfaces using different UDP ports.

Signed-off-by: Manish Chopra <manish.chopra@cavium.com>
Signed-off-by: Yuval Mintz <yuval.mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qede/qede_fp.c