diff options
author | Ido Schimmel <idosch@mellanox.com> | 2015-08-02 21:56:37 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-04 00:22:25 +0300 |
commit | 21518a6eb92afa9c285ae7b33dd9357a99224b8f (patch) | |
tree | 17724a6e71b4835fec20a42ec1782a6a56e324f4 /drivers | |
parent | ba7591d8b28bd16a2eface5d009ab0b60c7629a4 (diff) | |
download | linux-21518a6eb92afa9c285ae7b33dd9357a99224b8f.tar.xz |
rocker: enable support for scattered packets
rocker supports the transmission of scattered packets, so let the kernel
know about it by setting the NETIF_F_SG bit in the device's features.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Acked-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/rocker/rocker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/rocker/rocker.c b/drivers/net/ethernet/rocker/rocker.c index 7b4c3474acfe..730bdc01b944 100644 --- a/drivers/net/ethernet/rocker/rocker.c +++ b/drivers/net/ethernet/rocker/rocker.c @@ -4970,7 +4970,7 @@ static int rocker_probe_port(struct rocker *rocker, unsigned int port_number) NAPI_POLL_WEIGHT); rocker_carrier_init(rocker_port); - dev->features |= NETIF_F_NETNS_LOCAL; + dev->features |= NETIF_F_NETNS_LOCAL | NETIF_F_SG; err = register_netdev(dev); if (err) { |