diff options
author | Ryan Zezeski <rpz@joyent.com> | 2018-09-21 08:48:14 -0600 |
---|---|---|
committer | Ryan Zezeski <rpz@joyent.com> | 2018-10-18 22:58:07 -0600 |
commit | 104c53876a87e773ef729efa9419a70fe24933cb (patch) | |
tree | 1f86b5c4cb5568dc09331c680935969592c58644 /usr/src/uts/common/io/mac/mac_flow.c | |
parent | c6d34d2b1dfd2a8be003867d868e26d325f8584f (diff) | |
download | illumos-joyent-104c53876a87e773ef729efa9419a70fe24933cb.tar.gz |
OS-2340 vnics should support LSO
OS-6778 MAC loopback traffic should avoid cksum work
OS-6794 want LSO support in viona
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Dan McDonald <danmcd@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Hans Rosenfeld <hans.rosenfeld@joyent.com>
Reviewed by: Jorge Schrauwen <jorge@blackdot.be>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/uts/common/io/mac/mac_flow.c')
-rw-r--r-- | usr/src/uts/common/io/mac/mac_flow.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/mac/mac_flow.c b/usr/src/uts/common/io/mac/mac_flow.c index aa4985fe4c..62612122d6 100644 --- a/usr/src/uts/common/io/mac/mac_flow.c +++ b/usr/src/uts/common/io/mac/mac_flow.c @@ -22,6 +22,7 @@ /* * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * Copyright 2018 Joyent, Inc. */ #include <sys/strsun.h> @@ -229,7 +230,7 @@ mac_flow_create(flow_desc_t *fd, mac_resource_props_t *mrp, char *name, cv_init(&flent->fe_cv, NULL, CV_DEFAULT, NULL); /* Initialize the receiver function to a safe routine */ - flent->fe_cb_fn = (flow_fn_t)mac_pkt_drop; + flent->fe_cb_fn = (flow_fn_t)mac_rx_def; flent->fe_index = -1; } (void) strlcpy(flent->fe_flow_name, name, MAXFLOWNAMELEN); |