numam-dpdk/drivers/net
Qi Zhang ceb2f4c387 net/ice/base: minor fixes
This is a collection of minor fixes that were found during code review.
Changes are:
- Call ice_hweight8() instead of calculating it ourselves in
  ice_bits_max_set().
- Call ice_test_and_clear_bit() over calling ice_is_bit_set() then
  ice_clear_bit() in ice_rem_vsi_rss_list().
- Remove 'chrs' variable in ice_add_prof_id_flow() as it's not being
  used for anything.
- Return result directly instead of assigning to variable then
  returning the variable in ice_rem_vsig().
- Reduce scope, and don't initialize, 'or_vsig' in
  ice_add_prof_id_flow().
- Return error immediately in ice_add_prof_id_vsig(). Since the memory
  wasn't allocated, there is no need to goto and attempt to free memory.
- Show that values 37-38 are reserved in ice_flow_avf_hdr_field as the
  other reserved values are shown.
- Fix RCT ordering
- Remove initialization of values that aren't needed
- Fix function headers to match function names
- Use offsetof instead of calculating ourselves in ice_pkg_buf_alloc()
- In ice_rem_prof(), do not set status to ICE_SUCCESS as, due to code
  flow, this will always be ICE_SUCCESS.
- Remove unnecessary semicolon in ice_prof_gen_key()
- Remove unnecessary initializations
- correct bw_alloc type in ice_sched_add_root_node

Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
2020-04-21 13:57:04 +02:00
..
af_packet net/af_packet: remove queue number limitation 2020-03-18 10:21:41 +01:00
af_xdp net/af_xdp: fix maximum MTU 2020-02-14 12:42:12 +01:00
ark replace packed attributes 2020-04-16 18:16:46 +02:00
atlantic replace packed attributes 2020-04-16 18:16:46 +02:00
avp replace packed attributes 2020-04-16 18:16:46 +02:00
axgbe build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
bnx2x build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
bnxt replace cold attributes 2020-04-16 18:30:58 +02:00
bonding replace unused attributes 2020-04-16 18:30:58 +02:00
cxgbe net/cxgbe: add devargs to control filtermode and filtermask 2020-03-18 15:29:39 +01:00
dpaa replace packed attributes 2020-04-16 18:16:46 +02:00
dpaa2 replace hot attributes 2020-04-16 18:30:58 +02:00
e1000 build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
ena build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
enetc replace hot attributes 2020-04-16 18:30:58 +02:00
enic replace unused attributes 2020-04-16 18:30:58 +02:00
failsafe build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
fm10k replace cold attributes 2020-04-16 18:30:58 +02:00
hinic net/hinic: support flow control 2020-04-21 13:57:04 +02:00
hns3 net/hns3: fix return value of setting VLAN offload 2020-04-21 13:57:04 +02:00
i40e replace cold attributes 2020-04-16 18:30:58 +02:00
iavf replace cold attributes 2020-04-16 18:30:58 +02:00
ice net/ice/base: minor fixes 2020-04-21 13:57:04 +02:00
ionic replace cold attributes 2020-04-16 18:30:58 +02:00
ipn3ke net/ipn3ke: use control thread to check link status 2020-04-21 13:57:04 +02:00
ixgbe replace cold attributes 2020-04-16 18:30:58 +02:00
kni net/kni: fix crash caused by double stop 2019-11-26 18:22:27 +01:00
liquidio build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
memif net/memif: use common macros for cache line marker 2020-04-16 18:07:29 +02:00
mlx4 build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
mlx5 replace cold attributes 2020-04-16 18:30:58 +02:00
mvneta build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
mvpp2 build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
netvsc build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
nfb build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
nfp replace packed attributes 2020-04-16 18:16:46 +02:00
null build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
octeontx replace hot attributes 2020-04-16 18:30:58 +02:00
octeontx2 replace hot attributes 2020-04-16 18:30:58 +02:00
pcap net/pcap: truncate packet if it is too large 2020-01-17 19:45:23 +01:00
pfe replace unused attributes 2020-04-16 18:30:58 +02:00
qede replace unused attributes 2020-04-16 18:30:58 +02:00
ring build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
sfc build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
softnic replace packed attributes 2020-04-16 18:16:46 +02:00
szedata2 build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
tap replace packed attributes 2020-04-16 18:16:46 +02:00
thunderx replace hot attributes 2020-04-16 18:30:58 +02:00
vdev_netvsc build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
vhost net/vhost: prevent multiple setups on reconfiguration 2020-02-19 13:51:06 +01:00
virtio replace cold attributes 2020-04-16 18:30:58 +02:00
vmxnet3 build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
Makefile net/ionic: add skeleton 2020-01-20 18:02:17 +01:00
meson.build drivers: move ifc to vDPA directory 2020-01-14 00:09:33 +01:00