Searched refs:ntuple (Results 1 – 4 of 4) sorted by relevance
| /f-stack/dpdk/drivers/net/igc/ |
| H A D | igc_filter.c | 158 const struct igc_ntuple_filter *ntuple, in igc_tuple_filter_lookup() argument 171 if (ntuple->hash_val == in igc_tuple_filter_lookup() 186 if (ntuple->hash_val == igc->ntuple_filters[i].hash_val) in igc_tuple_filter_lookup() 256 const struct igc_ntuple_filter *ntuple) in igc_add_ntuple_filter() argument 261 ret = igc_tuple_filter_lookup(igc, ntuple, &empty); in igc_add_ntuple_filter() 273 memcpy(&igc->ntuple_filters[ret], ntuple, sizeof(*ntuple)); in igc_add_ntuple_filter() 280 const struct igc_ntuple_filter *ntuple) in igc_del_ntuple_filter() argument 285 ret = igc_tuple_filter_lookup(igc, ntuple, NULL); in igc_del_ntuple_filter() 291 memset(&igc->ntuple_filters[ret], 0, sizeof(*ntuple)); in igc_del_ntuple_filter()
|
| H A D | igc_flow.c | 45 struct igc_ntuple_filter ntuple; member 399 filter->ntuple.tuple_info.proto_mask = 1; in igc_parse_pattern_ip() 453 filter->ntuple.tuple_info.proto_mask = 1; in igc_parse_pattern_ipv6() 454 filter->ntuple.tuple_info.proto = spec->hdr.proto; in igc_parse_pattern_ipv6() 489 filter->ntuple.tuple_info.dst_port_mask = 1; in igc_parse_pattern_udp() 595 filter->ntuple.queue = queue_idx; in igc_parse_action_queue() 740 if (filter.ntuple.tuple_info.dst_port_mask == 0 && in igc_flow_create() 741 filter.ntuple.tuple_info.proto_mask == 0) { in igc_flow_create() 749 sizeof(filter.ntuple)); in igc_flow_create() 751 ret = igc_add_ntuple_filter(dev, &filter.ntuple); in igc_flow_create() [all …]
|
| /f-stack/dpdk/drivers/net/cxgbe/ |
| H A D | cxgbe_filter.c | 326 u64 ntuple = 0; in hash_filter_ntuple() local 330 ntuple |= (u64)f->fs.val.iport << tp->port_shift; in hash_filter_ntuple() 334 ntuple |= (u64)tcp_proto << tp->protocol_shift; in hash_filter_ntuple() 336 ntuple |= (u64)f->fs.val.proto << tp->protocol_shift; in hash_filter_ntuple() 340 ntuple |= (u64)(f->fs.val.ethtype) << tp->ethertype_shift; in hash_filter_ntuple() 342 ntuple |= (u64)(f->fs.val.macidx) << tp->macmatch_shift; in hash_filter_ntuple() 344 ntuple |= (u64)(F_FT_VLAN_VLD | f->fs.val.ivlan) << in hash_filter_ntuple() 349 ntuple |= (u64)(f->fs.val.pfvf_vld << 16 | in hash_filter_ntuple() 354 ntuple |= (u64)(f->fs.val.ovlan_vld << 16 | in hash_filter_ntuple() 358 ntuple |= (u64)f->fs.val.tos << tp->tos_shift; in hash_filter_ntuple() [all …]
|
| /f-stack/dpdk/doc/guides/nics/ |
| H A D | bnxt.rst | 99 …(ex) ethtool --config-ntuple ens2f0 flow-type ether dst 00:01:02:03:00:01 vlan 10 vlan-mask 0xf000…
|