offloads 612 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c mutex_lock(&esw->offloads.encap_tbl_lock); offloads 635 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c mutex_unlock(&esw->offloads.encap_tbl_lock); offloads 304 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c return namespace == MLX5_FLOW_NAMESPACE_FDB ? &esw->offloads.mod_hdr : offloads 1509 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mutex_lock(&esw->offloads.encap_tbl_lock); offloads 1526 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mutex_unlock(&esw->offloads.encap_tbl_lock); offloads 1573 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (!refcount_dec_and_mutex_lock(&e->refcnt, &esw->offloads.encap_tbl_lock)) offloads 1576 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mutex_unlock(&esw->offloads.encap_tbl_lock); offloads 1591 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mutex_lock(&esw->offloads.encap_tbl_lock); offloads 1595 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mutex_unlock(&esw->offloads.encap_tbl_lock); offloads 1599 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mutex_unlock(&esw->offloads.encap_tbl_lock); offloads 1612 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mutex_lock(&esw->offloads.peer_mutex); offloads 1614 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mutex_unlock(&esw->offloads.peer_mutex); offloads 2179 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c (esw->offloads.inline_mode != MLX5_INLINE_MODE_NONE && offloads 2180 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c esw->offloads.inline_mode < non_tunnel_match_level)) { offloads 2185 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c non_tunnel_match_level, esw->offloads.inline_mode); offloads 2969 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c hash_for_each_possible_rcu(esw->offloads.encap_tbl, e, offloads 3018 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mutex_lock(&esw->offloads.encap_tbl_lock); offloads 3023 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mutex_unlock(&esw->offloads.encap_tbl_lock); offloads 3027 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mutex_lock(&esw->offloads.encap_tbl_lock); offloads 3055 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c hash_add_rcu(esw->offloads.encap_tbl, &e->encap_hlist, hash_key); offloads 3056 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mutex_unlock(&esw->offloads.encap_tbl_lock); offloads 3064 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mutex_lock(&esw->offloads.encap_tbl_lock); offloads 3084 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mutex_unlock(&esw->offloads.encap_tbl_lock); offloads 3089 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mutex_unlock(&esw->offloads.encap_tbl_lock); offloads 3095 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mutex_unlock(&esw->offloads.encap_tbl_lock); offloads 3679 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mutex_lock(&esw->offloads.peer_mutex); offloads 3680 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c list_add_tail(&flow->peer, &esw->offloads.peer_flows); offloads 3681 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mutex_unlock(&esw->offloads.peer_mutex); offloads 4179 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c list_for_each_entry_safe(flow, tmp, &esw->offloads.peer_flows, peer) offloads 2002 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mutex_init(&esw->offloads.encap_tbl_lock); offloads 2003 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c hash_init(esw->offloads.encap_tbl); offloads 2004 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mutex_init(&esw->offloads.mod_hdr.lock); offloads 2005 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c hash_init(esw->offloads.mod_hdr.hlist); offloads 2006 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c atomic64_set(&esw->offloads.num_flows, 0); offloads 2019 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c esw->offloads.inline_mode = MLX5_INLINE_MODE_NONE; offloads 2042 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mutex_destroy(&esw->offloads.mod_hdr.lock); offloads 2043 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mutex_destroy(&esw->offloads.encap_tbl_lock); offloads 2585 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c return ESW_ALLOWED(esw) ? esw->offloads.encap : offloads 174 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h } offloads; offloads 240 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h struct mlx5_esw_offload offloads; offloads 550 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h (rep) = &(esw)->offloads.vport_reps[i], \ offloads 555 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h (rep) = &(esw)->offloads.vport_reps[i], \ offloads 560 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h (rep) = &(esw)->offloads.vport_reps[i], \ offloads 572 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h (rep) = &(esw)->offloads.vport_reps[i], \ offloads 577 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h (rep) = &(esw)->offloads.vport_reps[i], \ offloads 52 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c (esw)->fdb_table.offloads.fdb_prio[(chain)][(prio)][(level)] offloads 62 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c return &esw->offloads.vport_reps[idx]; offloads 232 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c atomic64_inc(&esw->offloads.num_flows); offloads 296 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c atomic64_inc(&esw->offloads.num_flows); offloads 324 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c atomic64_dec(&esw->offloads.num_flows); offloads 426 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c struct offloads_fdb *offloads = &esw->fdb_table.offloads; offloads 463 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c if (!(offloads->vlan_push_pop_refcount)) { offloads 469 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c offloads->vlan_push_pop_refcount++; offloads 494 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c struct offloads_fdb *offloads = &esw->fdb_table.offloads; offloads 535 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c offloads->vlan_push_pop_refcount--; offloads 536 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c if (offloads->vlan_push_pop_refcount) offloads 577 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c flow_rule = mlx5_add_flow_rules(esw->fdb_table.offloads.slow_fdb, spec, offloads 713 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c flow = mlx5_add_flow_rules(esw->fdb_table.offloads.slow_fdb, offloads 724 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c flow = mlx5_add_flow_rules(esw->fdb_table.offloads.slow_fdb, offloads 738 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c flow = mlx5_add_flow_rules(esw->fdb_table.offloads.slow_fdb, offloads 747 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->fdb_table.offloads.peer_miss_rules = flows; offloads 775 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c flows = esw->fdb_table.offloads.peer_miss_rules; offloads 819 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c flow_rule = mlx5_add_flow_rules(esw->fdb_table.offloads.slow_fdb, spec, offloads 827 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->fdb_table.offloads.miss_rule_uni = flow_rule; offloads 834 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c flow_rule = mlx5_add_flow_rules(esw->fdb_table.offloads.slow_fdb, spec, offloads 839 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_del_flow_rules(esw->fdb_table.offloads.miss_rule_uni); offloads 843 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->fdb_table.offloads.miss_rule_multi = flow_rule; offloads 869 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c if (esw->fdb_table.offloads.fdb_left[i]) { offloads 870 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c --esw->fdb_table.offloads.fdb_left[i]; offloads 886 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c ++esw->fdb_table.offloads.fdb_left[i]; offloads 931 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c return esw->fdb_table.offloads.slow_fdb; offloads 933 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mutex_lock(&esw->fdb_table.offloads.fdb_prio_lock); offloads 940 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mutex_unlock(&esw->fdb_table.offloads.fdb_prio_lock); offloads 947 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mutex_unlock(&esw->fdb_table.offloads.fdb_prio_lock); offloads 951 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c if (esw->offloads.encap != DEVLINK_ESWITCH_ENCAP_MODE_NONE) offloads 976 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mutex_unlock(&esw->fdb_table.offloads.fdb_prio_lock); offloads 980 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mutex_unlock(&esw->fdb_table.offloads.fdb_prio_lock); offloads 995 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mutex_lock(&esw->fdb_table.offloads.fdb_prio_lock); offloads 1006 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mutex_unlock(&esw->fdb_table.offloads.fdb_prio_lock); offloads 1070 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->fdb_table.offloads.ns = root_ns; offloads 1088 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->fdb_table.offloads.fdb_left[i] = offloads 1097 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c if (esw->offloads.encap != DEVLINK_ESWITCH_ENCAP_MODE_NONE) offloads 1111 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->fdb_table.offloads.slow_fdb = fdb; offloads 1115 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->offloads.encap != DEVLINK_ESWITCH_ENCAP_MODE_NONE) { offloads 1144 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->fdb_table.offloads.send_to_vport_grp = g; offloads 1174 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->fdb_table.offloads.peer_miss_grp = g; offloads 1196 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->fdb_table.offloads.miss_grp = g; offloads 1207 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_destroy_flow_group(esw->fdb_table.offloads.miss_grp); offloads 1209 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_destroy_flow_group(esw->fdb_table.offloads.peer_miss_grp); offloads 1211 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_destroy_flow_group(esw->fdb_table.offloads.send_to_vport_grp); offloads 1214 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_destroy_flow_table(esw->fdb_table.offloads.slow_fdb); offloads 1225 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c if (!esw->fdb_table.offloads.slow_fdb) offloads 1229 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_del_flow_rules(esw->fdb_table.offloads.miss_rule_multi); offloads 1230 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_del_flow_rules(esw->fdb_table.offloads.miss_rule_uni); offloads 1231 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_destroy_flow_group(esw->fdb_table.offloads.send_to_vport_grp); offloads 1232 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_destroy_flow_group(esw->fdb_table.offloads.peer_miss_grp); offloads 1233 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_destroy_flow_group(esw->fdb_table.offloads.miss_grp); offloads 1235 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_destroy_flow_table(esw->fdb_table.offloads.slow_fdb); offloads 1238 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_flow_namespace_set_mode(esw->fdb_table.offloads.ns, offloads 1265 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->offloads.ft_offloads = ft_offloads; offloads 1271 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c struct mlx5_esw_offload *offloads = &esw->offloads; offloads 1273 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_destroy_flow_table(offloads->ft_offloads); offloads 1294 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c g = mlx5_create_flow_group(esw->offloads.ft_offloads, flow_group_in); offloads 1302 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->offloads.vport_rx_group = g; offloads 1310 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_destroy_flow_group(esw->offloads.vport_rx_group); offloads 1348 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c flow_rule = mlx5_add_flow_rules(esw->offloads.ft_offloads, spec, offloads 1384 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c if (esw->offloads.inline_mode == MLX5_INLINE_MODE_NONE) { offloads 1386 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c &esw->offloads.inline_mode)) { offloads 1387 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->offloads.inline_mode = MLX5_INLINE_MODE_L2; offloads 1397 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c kfree(esw->offloads.vport_reps); offloads 1407 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->offloads.vport_reps = kcalloc(total_vports, offloads 1410 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c if (!esw->offloads.vport_reps) offloads 1430 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->offloads.rep_ops[rep_type]->unload(rep); offloads 1492 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c err = esw->offloads.rep_ops[rep_type]->load(esw->dev, rep); offloads 1722 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c INIT_LIST_HEAD(&esw->offloads.peer_flows); offloads 1723 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mutex_init(&esw->offloads.peer_mutex); offloads 2045 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c memset(&esw->fdb_table.offloads, 0, sizeof(struct offloads_fdb)); offloads 2046 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mutex_init(&esw->fdb_table.offloads.fdb_prio_lock); offloads 2159 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->offloads.encap = DEVLINK_ESWITCH_ENCAP_MODE_BASIC; offloads 2161 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->offloads.encap = DEVLINK_ESWITCH_ENCAP_MODE_NONE; offloads 2179 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mutex_init(&esw->offloads.termtbl_mutex); offloads 2220 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->offloads.encap = DEVLINK_ESWITCH_ENCAP_MODE_NONE; offloads 2379 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c if (atomic64_read(&esw->offloads.num_flows) > 0) { offloads 2398 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->offloads.inline_mode = mlx5_mode; offloads 2406 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->offloads.inline_mode); offloads 2421 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c return esw_inline_mode_to_devlink(esw->offloads.inline_mode, mode); offloads 2482 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->offloads.encap = encap; offloads 2486 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c if (esw->offloads.encap == encap) offloads 2489 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c if (atomic64_read(&esw->offloads.num_flows) > 0) { offloads 2497 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->offloads.encap = encap; offloads 2504 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->offloads.encap = !encap; offloads 2522 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c *encap = esw->offloads.encap; offloads 2534 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->offloads.rep_ops[rep_type] = ops; offloads 2572 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->offloads.rep_ops[rep_type]->get_proto_dev) offloads 2573 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c return esw->offloads.rep_ops[rep_type]->get_proto_dev(rep); offloads 102 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c mutex_lock(&esw->offloads.termtbl_mutex); offloads 105 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c hash_for_each_possible(esw->offloads.termtbl_tbl, tt, offloads 132 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c hash_add(esw->offloads.termtbl_tbl, &tt->termtbl_hlist, hash_key); offloads 135 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c mutex_unlock(&esw->offloads.termtbl_mutex); offloads 139 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c mutex_unlock(&esw->offloads.termtbl_mutex); offloads 147 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c mutex_lock(&esw->offloads.termtbl_mutex); offloads 150 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c mutex_unlock(&esw->offloads.termtbl_mutex); offloads 1796 drivers/net/hyperv/netvsc_drv.c struct ndis_offload_params offloads; offloads 1805 drivers/net/hyperv/netvsc_drv.c memset(&offloads, 0, sizeof(struct ndis_offload_params)); offloads 1808 drivers/net/hyperv/netvsc_drv.c offloads.rsc_ip_v4 = NDIS_OFFLOAD_PARAMETERS_RSC_ENABLED; offloads 1809 drivers/net/hyperv/netvsc_drv.c offloads.rsc_ip_v6 = NDIS_OFFLOAD_PARAMETERS_RSC_ENABLED; offloads 1811 drivers/net/hyperv/netvsc_drv.c offloads.rsc_ip_v4 = NDIS_OFFLOAD_PARAMETERS_RSC_DISABLED; offloads 1812 drivers/net/hyperv/netvsc_drv.c offloads.rsc_ip_v6 = NDIS_OFFLOAD_PARAMETERS_RSC_DISABLED; offloads 1815 drivers/net/hyperv/netvsc_drv.c ret = rndis_filter_set_offload_params(ndev, nvdev, &offloads); offloads 1190 drivers/net/hyperv/rndis_filter.c struct ndis_offload_params offloads; offloads 1200 drivers/net/hyperv/rndis_filter.c memset(&offloads, 0, sizeof(struct ndis_offload_params)); offloads 1203 drivers/net/hyperv/rndis_filter.c offloads.ip_v4_csum = NDIS_OFFLOAD_PARAMETERS_TX_RX_DISABLED; offloads 1218 drivers/net/hyperv/rndis_filter.c offloads.tcp_ip_v4_csum = NDIS_OFFLOAD_PARAMETERS_TX_RX_ENABLED; offloads 1221 drivers/net/hyperv/rndis_filter.c offloads.lso_v2_ipv4 = NDIS_OFFLOAD_PARAMETERS_LSOV2_ENABLED; offloads 1229 drivers/net/hyperv/rndis_filter.c offloads.udp_ip_v4_csum = NDIS_OFFLOAD_PARAMETERS_TX_RX_ENABLED; offloads 1237 drivers/net/hyperv/rndis_filter.c offloads.tcp_ip_v6_csum = NDIS_OFFLOAD_PARAMETERS_TX_RX_ENABLED; offloads 1242 drivers/net/hyperv/rndis_filter.c offloads.lso_v2_ipv6 = NDIS_OFFLOAD_PARAMETERS_LSOV2_ENABLED; offloads 1250 drivers/net/hyperv/rndis_filter.c offloads.udp_ip_v6_csum = NDIS_OFFLOAD_PARAMETERS_TX_RX_ENABLED; offloads 1259 drivers/net/hyperv/rndis_filter.c offloads.rsc_ip_v4 = NDIS_OFFLOAD_PARAMETERS_RSC_ENABLED; offloads 1260 drivers/net/hyperv/rndis_filter.c offloads.rsc_ip_v6 = NDIS_OFFLOAD_PARAMETERS_RSC_ENABLED; offloads 1262 drivers/net/hyperv/rndis_filter.c offloads.rsc_ip_v4 = NDIS_OFFLOAD_PARAMETERS_RSC_DISABLED; offloads 1263 drivers/net/hyperv/rndis_filter.c offloads.rsc_ip_v6 = NDIS_OFFLOAD_PARAMETERS_RSC_DISABLED; offloads 1274 drivers/net/hyperv/rndis_filter.c ret = rndis_filter_set_offload_params(net, nvdev, &offloads); offloads 173 drivers/net/virtio_net.c __virtio64 offloads; offloads 2368 drivers/net/virtio_net.c static int virtnet_set_guest_offloads(struct virtnet_info *vi, u64 offloads) offloads 2371 drivers/net/virtio_net.c vi->ctrl->offloads = cpu_to_virtio64(vi->vdev, offloads); offloads 2373 drivers/net/virtio_net.c sg_init_one(&sg, &vi->ctrl->offloads, sizeof(vi->ctrl->offloads)); offloads 2386 drivers/net/virtio_net.c u64 offloads = 0; offloads 2391 drivers/net/virtio_net.c return virtnet_set_guest_offloads(vi, offloads); offloads 2396 drivers/net/virtio_net.c u64 offloads = vi->guest_offloads; offloads 2401 drivers/net/virtio_net.c return virtnet_set_guest_offloads(vi, offloads); offloads 2565 drivers/net/virtio_net.c u64 offloads; offloads 2573 drivers/net/virtio_net.c offloads = vi->guest_offloads_capable; offloads 2575 drivers/net/virtio_net.c offloads = 0; offloads 2577 drivers/net/virtio_net.c err = virtnet_set_guest_offloads(vi, offloads); offloads 2580 drivers/net/virtio_net.c vi->guest_offloads = offloads; offloads 156 include/linux/bpf.h struct list_head offloads; offloads 347 include/linux/bpf.h struct list_head offloads; offloads 113 kernel/bpf/offload.c list_add_tail(&offload->offloads, &ondev->progs); offloads 222 kernel/bpf/offload.c list_del_init(&offload->offloads); offloads 398 kernel/bpf/offload.c list_add_tail(&offmap->offloads, &ondev->maps); offloads 416 kernel/bpf/offload.c list_del_init(&offmap->offloads); offloads 650 kernel/bpf/offload.c list_for_each_entry(offload, &ondev->progs, offloads) offloads 654 kernel/bpf/offload.c list_for_each_entry(offmap, &ondev->maps, offloads) offloads 658 kernel/bpf/offload.c list_for_each_entry_safe(offload, ptmp, &ondev->progs, offloads) offloads 660 kernel/bpf/offload.c list_for_each_entry_safe(offmap, mtmp, &ondev->maps, offloads) offloads 234 net/ipv4/fou.c const struct net_offload **offloads; offloads 250 net/ipv4/fou.c offloads = NAPI_GRO_CB(skb)->is_ipv6 ? inet6_offloads : inet_offloads; offloads 251 net/ipv4/fou.c ops = rcu_dereference(offloads[proto]); offloads 269 net/ipv4/fou.c const struct net_offload **offloads; offloads 272 net/ipv4/fou.c offloads = NAPI_GRO_CB(skb)->is_ipv6 ? inet6_offloads : inet_offloads; offloads 273 net/ipv4/fou.c ops = rcu_dereference(offloads[proto]); offloads 314 net/ipv4/fou.c const struct net_offload **offloads; offloads 442 net/ipv4/fou.c offloads = NAPI_GRO_CB(skb)->is_ipv6 ? inet6_offloads : inet_offloads; offloads 443 net/ipv4/fou.c ops = rcu_dereference(offloads[proto]); offloads 460 net/ipv4/fou.c const struct net_offload **offloads; offloads 489 net/ipv4/fou.c offloads = NAPI_GRO_CB(skb)->is_ipv6 ? inet6_offloads : inet_offloads; offloads 490 net/ipv4/fou.c ops = rcu_dereference(offloads[proto]); offloads 153 net/ipv4/udp_offload.c const struct net_offload **offloads; offloads 167 net/ipv4/udp_offload.c offloads = is_ipv6 ? inet6_offloads : inet_offloads; offloads 168 net/ipv4/udp_offload.c ops = rcu_dereference(offloads[skb->inner_ipproto]);